Changeset 31103 for other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SETUP.bash
- Timestamp:
- 2016-11-11T13:22:02+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SETUP.bash
r31098 r31103 1 1 2 short_hostname=`hostname -s` 2 3 3 4 #export SPARK_MASTER_HOST=gchead … … 9 10 export ZOOKEEPER_SERVER=gchead:8181 10 11 export SOLR_NODES="gc0:8983 gc1:8983 gc2:8983 gc3:8983 gc4:8983 gc5:8983 gc6:8983 gc7:8983 gc8:8983 gc9:8983" 12 #export SOLR_NODES="$SOLR_NODES gc0:8984 gc1:8984 gc2:8984 gc3:8984 gc4:8984 gc5:8984 gc6:8984 gc7:8984 gc8:8984 gc9:8984" 11 13 12 14 export HTRC_EF_PACKAGE_HOME=`pwd` 13 15 14 echo "" 15 echo "****" 16 if [ "$short_hostname" = "gsliscluster1" ] ; then 17 echo "" 18 echo "****" 19 fi 16 20 17 21 export JAVA_HOME="$HTRC_EF_PACKAGE_HOME/jdk1.8.0" … … 23 27 #export _JAVA_OPTIONS="-XX:+HeapDumpOnOutOfMemoryError" 24 28 25 echo "* Added in JDK 1.8 into PATH" 29 if [ "$short_hostname" = "gsliscluster1" ] ; then 30 echo "* Added in JDK 1.8 into PATH" 31 fi 26 32 27 33 source SETUP/setup-spark.bash … … 32 38 33 39 export PATH="$HTRC_EF_PACKAGE_HOME/SCRIPTS:$PATH" 34 echo "* Added in HTRC EF PACKAGE remote scripting into PATH" 40 if [ "$short_hostname" = "gsliscluster1" ] ; then 41 echo "* Added in HTRC EF PACKAGE remote scripting into PATH" 42 fi 35 43 36 44 spark_conf_slaves="$SPARK_HOME/conf/slaves" … … 45 53 else 46 54 slaves=`cat "$spark_conf_slaves" | tr '\n' ' '` 47 echo "****" 48 echo "* Solr slaves: $slaves" 49 echo "****" 55 if [ "$short_hostname" = "gsliscluster1" ] ; then 56 echo "****" 57 echo "* Spark slaves: $slaves" 58 echo "****" 59 fi 50 60 fi 51 61 … … 72 82 tar xvzf CONF/htrc_configs.tar.gz -C "$solr_configsets" 73 83 fi 84 85 if [ "$short_hostname" = "gsliscluster1" ] ; then 86 echo "****" 87 echo "* Solr nodes: $SOLR_NODES" 88 echo "****" 89 fi
Note:
See TracChangeset
for help on using the changeset viewer.