View the files in command line

to create new topics or reply. | New User Registration

This topic contains 3 replies, has 3 voices, and was last updated by  gehhrald 1 year, 7 months ago.

  • Creator
  • #45532

    How can I access files which I have uploaded into HDP using file browser ?

Viewing 3 replies - 1 through 3 (of 3 total)

You must be to reply to this topic. | Create Account

  • Author
  • #45742


    Hi Karthikeyan,

    Typically the directory the file would be stored in is defined by you.
    Assuming you use the copyFromLocal command, hadoop fs -copyFromLocal /Users/Example.txt /user/ The file, Example.txt is stored in /user on hdfs.

    You can also use the command, hadoop fs -ls to view the files in that particular directory. Similar to the ls command in linux.
    If you have Ambari, you can also view the uploaded files via ambari.
    Log in to ambari > services > hdfs > quick links > namenode ui > browse the file system.


    Thanks Robert Molina,I have one more clarification .Where i can see the Uploaded file using browser in command line or which directory .


    Robert Molina

    Hi Karthikeyan,
    Via the command line, you can use the hadoop fs commands to do the usual file system operations (copy, list, move..etc) In addition, you can go to the namenode webui an view the files and folders via the webui as well.

    Hope that helps.

    Kind Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.