Upgrade Cloudera Manager and CDH to 5.2.1

Source: Internet
Author: User

Upgrade Cloudera Manager to 5.2.1


1. Stop the Cloudera Management Service
2. Stop The hive service and all services such as Impala and Hue this use the hive Metastore.
3. Backup MySQL Databases (mysqldump-uroot-p--single-transaction--flush-logs--master-data=2--delete-master-logs--a ll-databases > Backup.sql)

4. Service Cloudera-scm-server stop; Service Cloudera-scm-agent Stop

5. (optional) yum-y install oracle-j2sdk1.7
Rm-rf/usr/java/default
Ln-s/usr/java/jdk1.7.0_67-cloudera/usr/java/default

6. Yum clean all; Yum-y Upgrade Cloudera-manager-daemons Cloudera-manager-server cloudera-manager-agent
Service Cloudera-scm-server Start

7. Login Cloudera Manager Web UI

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/41/wKioL1R9ZgmDCTn9AALBc-Kggek537.jpg "style=" float: none; "title=" snap2.jpg "alt=" Wkiol1r9zgmdctn9aalbc-kggek537.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/42/wKiom1R9ZX_hfsANAAOPE29ozdA593.jpg "style=" float: none; "title=" snap3.jpg "alt=" Wkiom1r9zx_hfsanaaope29ozda593.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/41/wKioL1R9Zgrxe0EmAAFxN4JJK7M227.jpg "style=" float: none; "title=" snap4.jpg "alt=" Wkiol1r9zgrxe0emaafxn4jjk7m227.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/41/wKioL1R9ZgqTaU5IAAMQFy65Jcc514.jpg "style=" float: none; "title=" snap5.jpg "alt=" Wkiol1r9zgqtau5iaamqfy65jcc514.jpg "/>


8. Start the Cloudera Management Service


Upgrade CDH to 5.2.1

1. Before you Begin
Run sudo-u HDFs hdfs fsck/and sudo-u HDFs hdfs dfsadmin-report and fix any issues
Run sudo-u hbase hbase hbck to make sure there is no inconsistencies

2. Stop cluster and Cloudera management Service

3. Back up the HDFS Metadata on the NameNode (including active and standby NameNode)

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/54/44/wKiom1R9c9jD7FROAANNYSM6l-M901.jpg "title=" Snap7.jpg "alt=" Wkiom1r9c9jd7froaannysm6l-m901.jpg "/>

Tar-zcvf/root/nn_backup_data.tar.gz/dfs/nn

4. Download, distribute, and Activate Parcels

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/43/wKioL1R9dH7DC88xAAYBYEtTMes025.jpg "title=" Snap6.jpg "alt=" Wkiol1r9dh7dc88xaaybyettmes025.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/43/wKioL1R9dKazdRv_AAOEScW43wE684.jpg "style=" float: none; "title=" snap8.jpg "alt=" Wkiol1r9dkazdrv_aaoescw43we684.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/54/44/wKiom1R9dBvSHMNFAAHXXX3Agno465.jpg "style=" float: none; "title=" snap12.jpg "alt=" Wkiom1r9dbvshmnfaahxxx3agno465.jpg "/>


5. Start Cloudera Management Service


6. Finish following steps

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/54/43/wKioL1R9dN6BT_iiAARmh3gikzI152.jpg "title=" Snap9.jpg "alt=" Wkiol1r9dn6bt_iiaarmh3gikzi152.jpg "/>


7. Remove old parcels

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/54/45/wKiom1R9e2-DhlJ3AAHaVOq-n0o730.jpg "style=" float: none; "title=" snap13.jpg "alt=" Wkiom1r9e2-dhlj3aahavoq-n0o730.jpg "/>

650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/54/43/wKioL1R9e_qRHbChAAHWDePNyMU966.jpg "style=" float: none; "title=" snap15.jpg "alt=" Wkiol1r9e_qrhbchaahwdepnymu966.jpg "/>

Ok


This article is from the "ilovecat (personal note)" blog, so be sure to keep this source http://hj192837.blog.51cto.com/655995/1585600

Upgrade Cloudera Manager and CDH to 5.2.1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.