Integrating HDFS into Hadoop Standalone setup!
- Enable remote login (in sharing on mac)
- Run
ssh localhost
and should see somthing like:Last login: Fri Jul 24 19:29:04 2020
- copy
core-site.xml
and 'hdfs-site.xml' - Run
which hdfs' and you should see something like:
/Users/username/hadoop/hadoop-2.7.7/bin/hdfs` - format the namenode:
hdfs namenode -foramte
- run
start-dfs.sh
thenjps
And you should see the Hadoop FileSystem UI up and running at - http://localhost:50070/dfshealth.html#tab-overview - Now you can run
hdfs dfs
to see all the commands that FS shell provides to interact with data in HDFS. - At the end run
stop-dfs.all