Changeset 236 for hadoop4win-setup


Ignore:
Timestamp:
Mar 29, 2011, 12:19:15 AM (14 years ago)
Author:
jazz
Message:
  • modified my_packages/hadoop/bin/hadoop4win-init
    • [BUGFIX] fix error at line 31
  • modified my_packages/hbase/bin/hbase-init
    • add HBASE_PID_DIR to hbase-env.sh
  • modified my_packages/ant/bin/ant-init
    • fix syntax error of unzip
Location:
hadoop4win-setup/my_packages
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • hadoop4win-setup/my_packages/ant/bin/ant-init

    r235 r236  
    66
    77if [ ! -f /opt/apache-ant* ]; then
    8   unzip /usr/src/ant-*.zip -C /opt
     8  cd /opt/
     9  unzip /usr/src/ant-*.zip
    910  ln -s /opt/apache-ant-* /opt/ant
    10 
    1111  echo "export PATH=/opt/ant/bin/:\$PATH" >> /etc/profile
    1212fi
  • hadoop4win-setup/my_packages/hadoop/bin/hadoop4win-init

    r232 r236  
    2626chmod a+x `find . -name "*.dll"`
    2727cd /opt/hadoop
    28 bin/hadoop namenode -format
     28/opt/hadoop/bin/hadoop namenode -format
    2929source /etc/profile
    3030/bin/start-hadoop
    31 bin/hadoop fs -mkdir tmp
     31/opt/hadoop/bin/hadoop fs -mkdir tmp
    3232echo "/bin/stop-hadoop" > ~/.bash_logout
    3333echo "/bin/stop-hadoop" > /etc/skel/.bash_logout
  • hadoop4win-setup/my_packages/hbase/bin/hbase-init

    r232 r236  
    1818  export HBASE_HOME=/opt/hbase
    1919  export HBASE_MANAGES_ZK=true
     20  export HBASE_PID_DIR=c:/hadoop4win/var/hadoop/pid
    2021EOF
    2122
Note: See TracChangeset for help on using the changeset viewer.