Facebook Twitter Instagram
    TecAdmin
    • Home
    • FeedBack
    • Submit Article
    • About Us
    Facebook Twitter Instagram
    TecAdmin
    You are at:Home»BIG-DATA»HADOOP/HDFS ls: ‘.’: No such file or directory

    HADOOP/HDFS ls: ‘.’: No such file or directory

    By RahulAugust 26, 20161 Min Read

    Sometimes you faced issue with Hadoop cluster setup on system with listing filesystem like ls: ‘.’: No such file or directory’. This issue occurs because of there is no home directory created on HDFS for your current user.

    Advertisement

    In order to resolve this issue create the home directory on HDFS. For example, you are logged with with user hduser on your system.

    $ hdfs fs -mkdir -p /user/hduser
    

    All set. Now you can list files and directories under Hadoop Distributed file system and do other operations normally.

    $ hdfs fs -ls
    

    DFS hadoop hdfs
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email WhatsApp

    Related Posts

    Using HDFS Filesystem (CLI)

    Creating Directory In HDFS And Copy Files (Hadoop)

    How to Install Hadoop on Ubuntu 22.04

    How to Install Apache Hadoop on Ubuntu 22.04

    How to Install and Configure Hadoop on Ubuntu 20.04

    Add A Comment

    Leave A Reply Cancel Reply

    Advertisement
    Recent Posts
    • 11 Practical Example of cat Command in Linux
    • sleep Command in Linux with Examples
    • 20 Basic Linux Commands for the Beginners (Recommended)
    • tail Command in Linux with Examples
    • What is a Orphan Process in Unix/Linux
    Facebook Twitter Instagram Pinterest
    © 2023 Tecadmin.net. All Rights Reserved | Terms  | Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.