Changeset 27419

Show
Ignore:
Timestamp:
24.05.2013 09:30:57 (6 years ago)
Author:
jmt12
Message:

Adding more reasonable default values for HDFS host and port (so the default ones for Hadoop, rather than the defaults for the Rocks version of Hadoop)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/parallel-building/trunk/src/setup.bash

    r27003 r27419  
    5353  # Hadoop specific environment setup 
    5454  export HADOOP_VERSION=1.1.0 
    55   export HADOOP_PREFIX=/share/apps/hadoop-$HADOOP_VERSION 
     55  export HADOOP_PREFIX=$GEXTPARALLELBUILDING/packages/hadoop-$HADOOP_VERSION 
     56  export PERL_VERSION=$(perl-version.pl) 
    5657  export PATH=$PATH:$HADOOP_PREFIX/bin 
    57   export HDFSHOST=medusa.local 
    58   export HDFSPORT=9000 
     58  # examples: 
     59  #  localhost:54310 [default] 
     60  #  machinename.local:9000 [rocks default] 
     61  export HDFSHOST=localhost 
     62  export HDFSPORT=54310 
     63 
     64  echo "Assuming HDFS found at \"${HDFSHOST}:${HDFSPORT}\" - edit setup.bash if this is incorrect" 
    5965 
    6066  echo "+Your environment is now setup for $extdesc in Greenstone"