Created 03-21-2018 08:17 AM
Hi,
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.
Created 03-21-2018 08:48 AM
Created 03-21-2018 08:49 AM
Created on 03-22-2018 03:20 AM - edited 03-22-2018 06:05 AM
I am able to see in command line
Created 03-22-2018 05:53 AM
Created 03-22-2018 06:04 AM
Created 03-22-2018 07:47 AM
Created 10-24-2018 10:49 AM
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
or
[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
Any ideas?
Thank you,
Derek
Created 11-23-2018 02:20 AM
Hi,
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'.
Than you