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

More fine-grained testing to help nema setup

File:
1 edited

Legend:

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

    r31231 r31235  
    22
    33_SOLR_TOP_LEVEL_HOME="$HTRC_EF_PACKAGE_HOME/solr"
    4 #_SOLR_HOME="$_SOLR_TOP_LEVEL_HOME/server/solr"
    5 _SOLR_HOME="/hdfsd05/dbbridge/solr-ef"
     4
     5if [ "$short_hostname" = "nema" ] ; then
     6  _SOLR_HOME="$_SOLR_TOP_LEVEL_HOME/server/solr"
     7else
     8  _SOLR_HOME="/hdfsd05/dbbridge/solr-ef"
     9fi
    610
    711if [ "$short_hostname" = "gsliscluster1" ] ; then
     
    1216  echo "*     $_SOLR_HOME"
    1317else
    14   # on one of the nodes
     18  # on one of the gc nodes (or nema)
    1519  export SOLR_TOP_LEVEL_HOME="$_SOLR_TOP_LEVEL_HOME"
    1620  export PATH="$SOLR_TOP_LEVEL_HOME/bin:$PATH"
Note: See TracChangeset for help on using the changeset viewer.