Changeset 236 for hadoop4win-setup
- Timestamp:
- Mar 29, 2011, 12:19:15 AM (14 years ago)
- Location:
- hadoop4win-setup/my_packages
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop4win-setup/my_packages/ant/bin/ant-init
r235 r236 6 6 7 7 if [ ! -f /opt/apache-ant* ]; then 8 unzip /usr/src/ant-*.zip -C /opt 8 cd /opt/ 9 unzip /usr/src/ant-*.zip 9 10 ln -s /opt/apache-ant-* /opt/ant 10 11 11 echo "export PATH=/opt/ant/bin/:\$PATH" >> /etc/profile 12 12 fi -
hadoop4win-setup/my_packages/hadoop/bin/hadoop4win-init
r232 r236 26 26 chmod a+x `find . -name "*.dll"` 27 27 cd /opt/hadoop 28 bin/hadoop namenode -format28 /opt/hadoop/bin/hadoop namenode -format 29 29 source /etc/profile 30 30 /bin/start-hadoop 31 bin/hadoop fs -mkdir tmp31 /opt/hadoop/bin/hadoop fs -mkdir tmp 32 32 echo "/bin/stop-hadoop" > ~/.bash_logout 33 33 echo "/bin/stop-hadoop" > /etc/skel/.bash_logout -
hadoop4win-setup/my_packages/hbase/bin/hbase-init
r232 r236 18 18 export HBASE_HOME=/opt/hbase 19 19 export HBASE_MANAGES_ZK=true 20 export HBASE_PID_DIR=c:/hadoop4win/var/hadoop/pid 20 21 EOF 21 22
Note: See TracChangeset
for help on using the changeset viewer.