Changeset 140
- Timestamp:
- Feb 4, 2010, 3:36:39 AM (15 years ago)
- Location:
- hadoop4win-setup
- Files:
-
- 4 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
hadoop4win-setup/cygwin_mirror/cygwin.pkg.list
r132 r140 36 36 libgmp3 4.3.1-3 OK 37 37 libiconv2 1.13.1-1 OK 38 libintl2 0.12.1-3 OK39 38 libintl3 0.14.5-1 OK 40 39 libintl8 0.17-11 OK -
hadoop4win-setup/my_packages/hadoop/bin/hadoop4win-init
r139 r140 15 15 echo export JAVA_HOME=$JAVA_HOME >> /opt/hadoop/conf/hadoop-env.sh 16 16 echo export HADOOP_HOME=/opt/hadoop >> /opt/hadoop/conf/hadoop-env.sh 17 ln -s $JAVA_HOME/bin/javac /bin/ 18 ln -s /opt/hadoop/bin/hadoop /bin/ 19 ln -s /opt/hadoop/bin/hadoop-config.sh /bin/ 17 echo export HADOOP_CLASSPATH=/opt/hadoop >> /opt/hadoop/conf/hadoop-env.sh 18 echo export HADOOP_CONF_DIR=/opt/hadoop/conf >> /opt/hadoop/conf/hadoop-env.sh 19 echo export JAVA_HOME=$JAVA_HOME >> /etc/profile 20 echo "export PATH=/opt/hadoop/bin/:$JAVA_HOME/bin:\$PATH" >> /etc/profile 20 21 cd $JAVA_HOME 21 22 chmod a+x `find . -name "*.exe"` … … 24 25 cd /opt/hadoop 25 26 bin/hadoop namenode -format 26 / opt/hadoop/bin/hadoop-daemon.sh start namenode27 /opt/hadoop/bin/hadoop-daemon.sh start datanode 28 /opt/hadoop/bin/hadoop-daemon.sh start jobtracker 29 /opt/hadoop/bin/hadoop-daemon.sh start tasktracker 27 /bin/start-hadoop 28 bin/hadoop fs -mkdir tmp 29 echo "/bin/stop-hadoop" > ~/.bash_logout 30 echo "/bin/stop-hadoop" > /etc/skel/.bash_logout 30 31 cygstart http://localhost:50070 31 32 cygstart http://localhost:50030 32 bin/hadoop fs -mkdir tmp33 33 exit -
hadoop4win-setup/my_packages/hadoop/bin/start-hadoop
r129 r140 1 1 #!/bin/bash 2 /opt/hadoop/bin/hadoop-daemon.sh start namenode 3 /opt/hadoop/bin/hadoop-daemon.sh start datanode 4 /opt/hadoop/bin/hadoop-daemon.sh start jobtracker 5 /opt/hadoop/bin/hadoop-daemon.sh start tasktracker 6 cygstart http://localhost:50070 7 cygstart http://localhost:50030 2 cygstart --showminnoactive /bin/bash -c /bin/start-hadoop-daemon 3 for ((i=1;i<=10;i++)); do sleep 1; printf "."; done 4 printf "\n" 5 jps
Note: See TracChangeset
for help on using the changeset viewer.