Ignore:
Timestamp:
Apr 1, 2011, 10:29:17 PM (14 years ago)
Author:
jazz
Message:
  • modified hadoop4win-setup.bat
    • change order of hadoop4win-init and ant-init
  • modified my_packages/ant/bin/ant-init
    • fix typo in echo message
    • use unzip "-d" to change directory
  • modified my_packages/hbase/bin/hbase-init
    • setup hbase.tmp.dir and HBASE_PID_DIR
  • modified my_packages/hadoop/bin/hadoop4win-init
    • use mv and cp instead of symbolic link
    • copy example config as pseudo config
    • force to leave safe mode since Hadoop 0.20.2 need extra 30 seconds to check.
    • add sleep 10 seconds since start-hadoop will take 10 seconds.
File:
1 edited

Legend:

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

    r236 r241  
    77if [ ! -f /opt/hase* ]; then
    88  tar zxvf /usr/src/hbase-*.tar.gz -C /opt
    9   ln -s /opt/hbase-* /opt/hbase
     9  mv /opt/hbase-* /opt/hbase
    1010
    1111  cp /opt/hadoop/conf/core-site.xml /opt/hbase/conf
     
    1818  export HBASE_HOME=/opt/hbase
    1919  export HBASE_MANAGES_ZK=true
    20   export HBASE_PID_DIR=c:/hadoop4win/var/hadoop/pid
     20  export HBASE_PID_DIR=/var/hbase/pid
    2121EOF
    2222
     
    2828    <name>hbase.rootdir</name>
    2929    <value>hdfs://localhost:9000/hbase</value>
     30  </property>
     31  <property>
     32    <name>hbase.tmp.dir</name>
     33    <value>/var/hbase</value>
    3034  </property>
    3135  <property>
Note: See TracChangeset for help on using the changeset viewer.