Integrating HDFS into Hadoop Standalone setup!
- Enable remote login (in sharing on mac)
- Run
ssh localhostand should see somthing like:Last login: Fri Jul 24 19:29:04 2020 - copy
core-site.xmland '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.shthenjpsAnd you should see the Hadoop FileSystem UI up and running at - http://localhost:50070/dfshealth.html#tab-overview - Now you can run
hdfs dfsto see all the commands that FS shell provides to interact with data in HDFS. - At the end run
stop-dfs.all