Ubuntu 14.04用apt在线/离线安装CDH5.1.2[Apache Hadoop 2(10)

  

enter image description here


  
  

enter image description here


  
  

enter image description here

4.12.3、完成将s1.linuxidc.com添加到集群

  

enter image description here

4.12.4、验证s1.linuxidc.com是否成功地添加到集群Cluster 1

  

enter image description here


  
  

enter image description here

  到此为主,在Ubuntu 14.04下使用apt-get方式,安装CDH5.12已经成功。并且支持中文,后面有什么服务或者机器要添加的,可以自己来做了。

5、FAQ 5.1、过程中如果出现”Incorrect string value: ‘\x“的提示

  是和数据库的编码有关,在mysql中执行以下语句:

alter table CLIENT_CONFIGS convert to character set utf8; alter table CLUSTERS convert to character set utf8; alter table CLUSTERS_AUD convert to character set utf8; alter table CLUSTER_ACTIVATED_RELEASES convert to character set utf8; alter table CLUSTER_ACTIVATED_RELEASES_AUD convert to character set utf8; alter table CLUSTER_MANAGED_RELEASES convert to character set utf8; alter table CLUSTER_UNDISTRIBUTED_RELEASES convert to character set utf8; alter table CM_PEERS convert to character set utf8; alter table CM_VERSION convert to character set utf8; alter table COMMANDS convert to character set utf8; alter table COMMAND_SCHEDULES convert to character set utf8; alter table CONFIGS convert to character set utf8; alter table CONFIGS_AUD convert to character set utf8; alter table CONFIG_CONTAINERS convert to character set utf8; alter table CREDENTIALS convert to character set utf8; alter table GLOBAL_SETTINGS convert to character set utf8; alter table HOSTS convert to character set utf8; alter table HOSTS_AUD convert to character set utf8; alter table HOST_TEMPLATES convert to character set utf8; alter table HOST_TEMPLATE_TO_ROLE_CONF_GRP convert to character set utf8; alter table METRICS convert to character set utf8; alter table PARCELS convert to character set utf8; alter table PARCEL_COMPONENTS convert to character set utf8; alter table PROCESSES convert to character set utf8; alter table PROCESS_ACTIVE_RELEASES convert to character set utf8; alter table RELEASES convert to character set utf8; alter table RELEASES_AUD convert to character set utf8; alter table REVISIONS convert to character set utf8; alter table ROLES convert to character set utf8; alter table ROLES_AUD convert to character set utf8; alter table ROLE_CONFIG_GROUPS convert to character set utf8; alter table ROLE_CONFIG_GROUPS_AUD convert to character set utf8; alter table ROLE_STALENESS_STATUS convert to character set utf8; alter table SCHEMA_VERSION convert to character set utf8; alter table SERVICES convert to character set utf8; alter table SERVICES_AUD convert to character set utf8; alter table SNAPSHOT_POLICIES convert to character set utf8; alter table USERS convert to character set utf8; alter table USER_ROLES convert to character set utf8; alter table USER_SETTINGS convert to character set utf8;

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/fc4f1606d3d2b62a39d1ca21c02e6a8c.html