Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Beeline and Hive CLI refer old parcles

avatar
Expert Contributor

Recently I upgraded my CDH from 5.4.8 to 5.9.2 . The installation was Successfully. When I entered into Hive CLI and Beeline I seen like it refereing old 5.4.8 parcels Beeline CLI and  HIVE CLI.

 

Could you please check me to fix this issue.

1 ACCEPTED SOLUTION

avatar
Champion

@ganeshkumarj

 

go to /usr/bin and grep hive, this is a link to /etc/alternatives/hive

 

go to /etc/alternatives/hive and check the hive link.. 

 

Note: pls take a back up before you alter anything

View solution in original post

2 REPLIES 2

avatar
Champion

@ganeshkumarj

 

go to /usr/bin and grep hive, this is a link to /etc/alternatives/hive

 

go to /etc/alternatives/hive and check the hive link.. 

 

Note: pls take a back up before you alter anything

avatar
Expert Contributor

@saranvisa Thank you very much for your reply.

 

 

Yes, the links are pointing to the old CDH version Hive. And also I found like all the files inside the alternatives are pointing to Old versions CDH (5.4.8 ). is there any way to change all the links are pointing to the new CDH version in a single attempt.

 

 

And also I like to know the cause of this Issue.

 

 

 

Thank you,

J.Ganesh Kumar.