Hdfs super user in cloudera - come out out bash shell


#1

Hi,

I was following the HDPCD - No java playlist and in the HDFS setup and demo video, I was trying it out in the cloudera instead of Sandbox.

when I gave the command : sudo su -hdfs
it went into a -bash-4.1$ shell. Can someone suggest me how to get back to the default prompt ?

[cloudera@quickstart ~ ] $ sudo su -hdfs
-bash-4.1$

This is what the prompt I’m seeing , why is it so ?
Should I have given sudo su - cloudera instead of -hdfs ? Please advice.

Thanks in advance !


#2

exit command took it back to the original prompt. Thanks !


#3