Non-Ambari Cluster Installation Guide
Also available as:
PDF
loading table of contents...

Smoke Test HDFS

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

    http://$namenode.full.hostname:50070

  2. Create the hdfs user directory in HDFS:

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

    su - $HDFS_USER
    hdfs dfs -copyFromLocal /etc/passwd passwd 
    hdfs dfs -ls
  4. Use the Namenode web UI and the Utilities menu to browse the file system.