store config for hadoop and hbase and some other tools for Mac OS
hadoop:
varsion: 2.2.0
nameNode: http://localhost:50070/
- replace the config file in ./etc/hadoop and cd hadoop-2.2.0
- cd ./bin
- ./hadoop namenode -format
- cd ../sbin
- ./start-all.sh
Test:
- use jps to look the info
83481 Bootstrapper 93878 ResourceManager 93615 NameNode 93688 DataNode 93778 SecondaryNameNode 93956 NodeManager
- cd ../bin
- ./hadoop jar ../share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.2.0.jar org.apache.hadoop.yarn.applications.distributedshell.Client --jar ../share/hadoop/yarn/hadoop-yarn-applications-distributedshell-2.2.0.jar --shell_command date --num_containers 2 --master_memory 1024