Hive component upgrade process for CDH clusters based on cm (hive0.13.1 upgrade to hive-1.2.1 and ensure that CM management is included)

Source: Internet
Author: User
1. Create the lib121 directory under the hive0.13.1 version
Cd/opt/cloudera/parcels/cdh/lib/hive;mkdir lib121
2. Download the hive1.2.1 version and copy all files from this version of Lib to lib121
3. Modify the Hive_lib variable in/opt/cloudera/parcels/cdh/lib/hive/bin/hive
hive_lib=${hive_home}/lib121
4. Update the JLine jar package on Hadoop and remove the old Jlien jar package
RM-RF Jline-0.9.94.jar
ln-s/opt/cloudera/parcels/cdh/lib/hive/lib121/jline-2.12.jar/opt/cloudera/parcels/ Cdh/lib/hadoop-yarn/lib/jline-2.12.jar
5. Start Hive related services (or restart all services via cm)

6, Beeline login Spark Hiveserver2 to verify, see if you can do insert overwrite operation

Test OK to prove the upgrade was successful.

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.