Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Unable to switch hdfs user on HDP snadbox HDP-3.0 (version 3.0.1.0-187)

Highlighted

Unable to switch hdfs user on HDP snadbox HDP-3.0 (version 3.0.1.0-187)

New Contributor

Not able to execute any hdfs commands on HDP sandbox.

[root@sandbox-host ~]# sudo su - hdfs

su: user hdfs does not exist

[root@sandbox-host ~]#

Kindly assist.

1 REPLY 1
Highlighted

Re: Unable to switch hdfs user on HDP snadbox HDP-3.0 (version 3.0.1.0-187)

Super Mentor

@Pankaj Chaurasiya

Can you double check if you have used the correct port 2222 to login to Sandbox? (Sandbox runs inside docker container hence the SSH port is mapped to 2222)

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

.

Or use the Http Based WebClient terminal to login to Sandbox:

http://localhost:4200

.

After using the correct SSH port you should be able to use the hadoop commands and should be able to see all the users.

Don't have an account?
Coming from Hortonworks? Activate your account here