I have simple scenario using cloudera quickstart.
I want to copy file from local to hdfs for the same I created a directory using command
hdfs dfs -mkdir /Test
when I use command hdfs dfs -ls / I can see created directory in command line but its not visible in web browser of cloudera.
I am having a similar, but opposite problem.
I ran the following in terminal (MobaXterm):
[derekc@quickstart ~]$ hadoop jar hadoop-examples.jar wordcount test.txt ouput2
So, now in Hue I can see and access /output2/part-r-00000 and open and read the file.
In terminal in either:
[derekc@quickstart ~]$ hdfs dfs -ls
[derekc@quickstart ~]$ hdfs dfs -ls /user/derekc
I can see /output2
But, when trying to see the files in /output2 by running:
[derekc@quickstart ~]$ hdfs dfs -ls output2 (or several other similar commands),
I keep getting the following, even though I can see that it output2 is there:
ls: `/user/derekc/output2': No such file or directory
Whenever you create directory in '/' of cloudera by using following command
#hdfs dfs -mkdir myfiles
it will take cloudera as the user ...so it creates diectory under '/user/cloudera' inside this myfiles will be created and
to access this location from the programs or from queries should use 'hdfs://quikstart.cloudera/user/cloudera/myfiles'.