Support Questions

Find answers, ask questions, and share your expertise

How to start the beeline connection in Hive HDP 2.6 sandbox

avatar
Expert Contributor

Hello everyone,

My sandbox 2.6 HDP is already running as never before actually is super cool. However, I'm not able to connect with hive thru the beeline because I need to change my loging to maria_dev or any other in the shell command.

I tried doing su maria_dev or any other user but it doesnt go thru. Take a look the image attached. Please if anyone can give me an idea about how to log in under maria_dev credentials I appreciate because I need to run Spark SQL and Spark scripts.

thanks so much

63456-2018-02-25-15-48-03.png

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Andres Urrego

Are you connecting to the Sandbox on SSH port 2222 ? (if not then those commands will not be available)

Please try this to connect to Sandbox:

# ssh root@127.0.0.1 -p 2222
Enter Password: hadoop

.

If you are using Putty to connect to Sandbox then while opening Putty please select the SSH port as 2222 while connecting to Sandbox.

Other alternative will be to use the web terminal : http://localhost:4200

View solution in original post

2 REPLIES 2

avatar
Master Mentor

@Andres Urrego

Are you connecting to the Sandbox on SSH port 2222 ? (if not then those commands will not be available)

Please try this to connect to Sandbox:

# ssh root@127.0.0.1 -p 2222
Enter Password: hadoop

.

If you are using Putty to connect to Sandbox then while opening Putty please select the SSH port as 2222 while connecting to Sandbox.

Other alternative will be to use the web terminal : http://localhost:4200

avatar
Expert Contributor

Sorry sometime not read completely come up an issue 😞 works seamlessly.!