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/ant/bin/ant-init

    r236 r241  
    11#!/bin/bash
    22if [ ! -f /usr/src/ant-*.zip ]; then
    3   echo "Hbase tar ball not found at /usr/src/hbase-*.tar.gz!!"
     3  echo "Ant zip file is not found at /usr/src/ant-*.zip!!"
    44  exit
    55fi
    66
    77if [ ! -f /opt/apache-ant* ]; then
    8   cd /opt/
    9   unzip /usr/src/ant-*.zip
    10   ln -s /opt/apache-ant-* /opt/ant
     8  unzip /usr/src/ant-*.zip -d /opt
     9  mv /opt/apache-ant-* /opt/ant
    1110  echo "export PATH=/opt/ant/bin/:\$PATH" >> /etc/profile
    1211fi
Note: See TracChangeset for help on using the changeset viewer.