Testing Your Hadoop Installation
You will now test the Hadoop installation in center machine by uploading some data from local machine.
Git clone “hadoop-admin” file
sudo yum install git -y
git clone https://github.com/datacouch16/hadoop-admin.git
Upload hadoop-admin/data/sherlock.txt / in HDFS.
cd hadoop-admin/data
hdfs dfs -mkdir data/
hdfs dfs -put sherlock.txt data/
Verify that the file is now in HDFS.
In Cloudera Manager choose Clusters > HDFS. Then click on File Browser.
Browse into tmp and confirm that sherlock.txt appears.
hdfs dfs -ls data/
Last updated