cloudera 基本信息

* cloudera 各个版本对应说明

  • Centos
    • Centos5 选择 el5
    • Centos6 选择 el6
    • Centos7 选择 centos7
  • Ubuntu
    • Ubuntu 10.04 选择 lucid
    • Ubuntu 12.04 选择 precise
    • Ubuntu 14.04 选择 trusty
  • debian
    • squeeze
    • wheezy
  • redhat对应
    • sles*

* 版本选择说明

一、Tar 源码包

1、包含了所有版本的 CM 组件包

2、包含了所有版本 CDH 组件的源码包

3、 用于使用 CM 管理部署时用到的二进制的 CDH 集成包

二、Centos 系统

1、Centos 5

2、Centos 6

三、Ubuntu 系统

1、lucid -> Ubuntu 10.04 x86_64 版本

2、precise -> Ubuntu 12.04 x86_64

3、trusty -> Ubuntu 14.04 x86_64

四、本地源地址

下载所有, 可以用于搭建本地源

* 所有端口文档

* 配置文件结构

1、以 hive 作为说明,其他的配置类似

  1. /etc/hive/conf -> /etc/alternatives/hive-conf/
  2. /etc/alternatives/hive-conf -> /etc/hive/conf.cloudera.hive/
  3. 安装包的配置文件还是指向 /etc/hive/conf/ 目录
  4. /opt/cloudera/parcels/CDH/lib/hive/conf -> /etc/hive/conf/
  5. 由此不难看出,其实都是在修改 /etc/hive/conf.cloudera.hive 中的文件
  6. 不过正规一些,直接操作 /etc/hive/conf 即可
  7. /opt/cloudera/parcels/CDH/lib/hive/conf -> /etc/hive/conf/ -> /etc/alternatives/hive-conf/ -> /etc/hive/conf.cloudera.hive/

* jars 文件结构

  1. cdh 所有的 jars 都放在 /opt/cloudera/parcels/CDH/jars/ 目录中
  2. 每个子项目下的 lib 目录中的 jar 文件都是软链 /opt/cloudera/parcels/CDH/jars/ 目录中的 jar
  3. /opt/cloudera/parcels/CDH/lib/hive/lib/hbase-common.jar -> /opt/cloudera/parcels/CDH/jars/hbase-common.jar
  4. 由此可以说明,我们有新的 jar 直接放在 /opt/cloudera/parcels/CDH/jars/ 目中,然后在对应的子项目(如 hivesqoop等) 中做一份软链即可