Changeset 136


Ignore:
Timestamp:
Feb 3, 2010, 7:17:22 PM (15 years ago)
Author:
jazz
Message:

新增 HADOOP_HOME 參數,並連結 /opt/hadoop/bin/hadoop 到 /bin/hadoop, /opt/hadoop/bin/hadoop-config.sh 到 /bin/hadoop-config.sh

Location:
hadoop4win-setup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • hadoop4win-setup/hadoop4win-setup.bat

    r133 r136  
    2727set CYGWIN_SETUP=%LOCAL_REPOSITORY%\cygwin_mirror\cyg-setup.exe
    2828set PATH=%PATH%;%cd%\bin
     29set CYGWIN=nodosfilewarning
    2930
    3031set MY_PACKAGE=%LOCAL_REPOSITORY%\my_packages
  • hadoop4win-setup/my_packages/hadoop/bin/hadoop4win-init

    r129 r136  
    1313ln -s /opt/hadoop/conf-examples/ /opt/hadoop/conf
    1414export JAVA_HOME=$(dirname /lib/jvm/jdk*/bin/)
    15 echo JAVA_HOME=$JAVA_HOME >> /opt/hadoop/conf/hadoop-env.sh
     15echo export JAVA_HOME=$JAVA_HOME >> /opt/hadoop/conf/hadoop-env.sh
     16echo export HADOOP_HOME=/opt/hadoop >> /opt/hadoop/conf/hadoop-env.sh
    1617ln -s $JAVA_HOME/bin/javac /bin/
     18ln -s /opt/hadoop/bin/hadoop /bin/
     19ln -s /opt/hadoop/bin/hadoop-config.sh /bin/
    1720cd $JAVA_HOME
    1821chmod a+x `find . -name "*.exe"`
Note: See TracChangeset for help on using the changeset viewer.