2. Smoke Test HDFS

  1. See if you can reach the NameNode server with your browser:

  2. Create hdfs user directory in HDFS:

    su $HDFS_USER
    hadoop fs -mkdir -p /user/hdfs
  3. Try copying a file into HDFS and listing that file:

    su $HDFS_USER
    hadoop fs -copyFromLocal /etc/passwd passwd
    hadoop fs -ls 
  4. Test browsing HDFS:


loading table of contents...