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.

I have created a directory in hdfs but cant see in hue web browser.

I have created a directory in hdfs but cant see in hue web browser.

New Contributor

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.

 

 

8 REPLIES 8

Re: I have created a directory in hdfs but cant see in hue web browser.

Guru
when you say "not visible in web browser of cloudera", did you mean in Hue interface or NN web UI?

If no new directory you created, what do you see? Screenshot would be helpful here.

Re: I have created a directory in hdfs but cant see in hue web browser.

Guru
Sorry, just noticed that in the question you mentioned Hue web browser, so again, screenshot should be helpful here so we can see what you get on the interface.

Re: I have created a directory in hdfs but cant see in hue web browser.

New Contributor

I am able to see in command line







Capture.PNGCapture1.PNG

Re: I have created a directory in hdfs but cant see in hue web browser.

Guru
I am curious on what you see in Hue? Do you see anything at all? Is it possible to share the screenshot?

What about NameNode web UI?

Re: I have created a directory in hdfs but cant see in hue web browser.

New Contributor

Capture.PNGCapture1.PNG

Highlighted

Re: I have created a directory in hdfs but cant see in hue web browser.

Guru
Hi,

Thanks for the screenshot.

From the screenshot, I can see that you created myfiles directory under "/", however, you were browsing /user/cloudera directory in Hue.

Can you please browse to "/" directory in Hue to see if you can see your "myfiles" directory?

Thanks

Re: I have created a directory in hdfs but cant see in hue web browser.

New Contributor

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?

 

MobaXterm_output2.JPG

 

Hue_output2.JPG

 

Thank you,

Derek

Re: I have created a directory in hdfs but cant see in hue web browser.

New Contributor

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