Created 06-25-2017 10:17 AM
I see all hdfs file in ambari, but i can not able see those file SSH console like /user/maria_dev/ .If their is any access mode but I am root user then still problem , so please me help me out,how can i solved it.
Created 06-25-2017 11:35 AM
Are you doing ssh to the sandbox on the correct port 2222 ?
# ssh root@localhost -p 2222
When you see those HDFS files in ambari UI, (I guess you mean FileView). Which user is logged in to Ambari FileView? ("admin" user or "maria_dev") user?
.
Can you please list the permission of directory:
Can you please share the output of the following directory?# su - hdfs -c "hdfs dfs -ls /user" # su - hdfs -c "hdfs dfs -ls /user/maria_dev"
.
As you mentioned that "i can not able see those file SSH console like /user/maria_dev/ ", Do you see any error/exception or no output?
Can you please share the screenshot of the Ambari UI where you see the contents (so that we can check the logged in user and the output of the directory).
Also the terminal output of the hdfs command shell.
.
Created 06-25-2017 11:35 AM
Are you doing ssh to the sandbox on the correct port 2222 ?
# ssh root@localhost -p 2222
When you see those HDFS files in ambari UI, (I guess you mean FileView). Which user is logged in to Ambari FileView? ("admin" user or "maria_dev") user?
.
Can you please list the permission of directory:
Can you please share the output of the following directory?# su - hdfs -c "hdfs dfs -ls /user" # su - hdfs -c "hdfs dfs -ls /user/maria_dev"
.
As you mentioned that "i can not able see those file SSH console like /user/maria_dev/ ", Do you see any error/exception or no output?
Can you please share the screenshot of the Ambari UI where you see the contents (so that we can check the logged in user and the output of the directory).
Also the terminal output of the hdfs command shell.
.
Created 06-25-2017 04:25 PM
Thanks Jay... Now I am able to seeing this file.
But i am trying to list my file...but showing 'no such file or directory'.
# su - hdfs -c "hdfs dfs -ls"
so please help me for that why not showing their list.
Created 06-25-2017 06:19 PM
In your command the path is missing.
Your command:
# su - hdfs -c "hdfs dfs -ls"
.
Correct command:
# su - hdfs -c "hdfs dfs -ls /user/maria_dev"