Support Questions

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

su hive password - incorrect

avatar
Contributor

Hi all,

I'm working my way through the tutorial

http://hortonworks.com/hadoop-tutorial/hello-world-an-introduction-to-hadoop-hcatalog-hive-and-pig/#...

I'm on section 2.2.10 Beeline – Command Shell

and I do the following;

1. Open Putty and connect to the server using maria_dev, this works fine

2. I then run su hive and I get asked for the password.

I'm confused as to who's password it wants, I've entered the root password,maria_dev's password but it keeps saying "su: incorrect password"

Any thoughts on where I've gone wrong? My only other option is to reset my VM and start over.

Any help would be hugely appreciated.

Thanks,

Nic

1 ACCEPTED SOLUTION

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
3 REPLIES 3

avatar
Master Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Contributor

Thanks, I did the sudo su hive got a bit of text and then got told maria_dev is not in the sudoers_file.

So now I just need to get maria_dev in there. Alternatively as you say, connecting as root allowed me to run su hive.

Thanks for your super fast reply.

avatar
Master Guru

@Nic Hopper - You are most welcome! Happy Hadooping!! 🙂