Ignore:
Timestamp:
2016-12-14T11:20:57+13:00 (7 years ago)
Author:
davidb
Message:

More selective control of what to source/setup depending on hostname

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SETUP.bash

    r31233 r31234  
    1717fi
    1818
    19 
     19if [ "$short_hostname" != "nema" ] ; then
     20  HDFS_HEAD=hdfs://gchead:9000
     21fi
    2022
    2123export HTRC_EF_PACKAGE_HOME=`pwd`
     
    8890fi
    8991
    90 solr_configsets="$SOLR_TOP_LEVEL_HOME/server/solr/configsets"
    91 if [ ! -d "$solr_configsets/htrc_configs" ] ; then
    92   echo "Untarring htrc_configs.tar.gz in Solr configtests directory"
    93   tar xvzf CONF/htrc_configs.tar.gz -C "$solr_configsets"
    94 fi
    95 
    9692if [ "$short_hostname" = "gsliscluster1" ] ; then
    9793  echo "****"
    9894  echo "* Solr nodes: $SOLR_NODES"
    9995  echo "****"
     96else
     97  solr_configsets="$SOLR_TOP_LEVEL_HOME/server/solr/configsets"
     98  if [ ! -d "$solr_configsets/htrc_configs" ] ; then
     99    echo "Untarring htrc_configs.tar.gz in Solr configtests directory"
     100    tar xvzf CONF/htrc_configs.tar.gz -C "$solr_configsets"
     101  fi
    100102fi
Note: See TracChangeset for help on using the changeset viewer.