Changeset 31304


Ignore:
Timestamp:
01/19/17 18:10:18 (4 years ago)
Author:
davidb
Message:

Changes made whe (it turned out) the real source of the error was an error in a solr config file stored in zookeeper (currency error, shouldn't have made the version number 1.0 for htrc-name). Possible this change was not actually required

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-solr-setup-local-disk-all.sh

    r31231 r31304  
    44
    55#local_dir="/tmp/solr-ef"
    6 local_dir="/hdfsd05/dbbridge/solr-ef"
     6local_dir1="/hdfsd05/dbbridge/solr-ef"
     7local_dir2="/hdfsd05/dbbridge/gslis-cluster/solr/server/solr"
    78
    89for solr_host in $unique_hosts ; do
    9   remote_dir="$solr_host:$local_dir"
     10  remote_dir1="$solr_host:$local_dir1"
     11  remote_dir2="$solr_host:$local_dir2"
    1012
    11   echo "Running rsync from networked SOLR_HOME to $remote_dir"
    12   ssh $solr_host "if [ ! -d $local_dir ] ; then mkdir $local_dir ; fi"
    13   rsync -pav "$SOLR_HOME/." "$remote_dir/."
     13  echo "Running rsync from networked SOLR_HOME to $remote_dir1"
     14  ssh $solr_host "if [ ! -d $local_dir1 ] ; then mkdir $local_dir1 ; fi"
     15  rsync -pav "$SOLR_HOME/." "$remote_dir1/."
     16
     17  echo "Running rsync from networked SOLR_HOME to $remote_dir2"
     18  ssh $solr_host "if [ ! -d $local_dir2 ] ; then mkdir $local_dir2 ; fi"
     19  rsync -pav "$SOLR_HOME/." "$remote_dir2/."
    1420done
Note: See TracChangeset for help on using the changeset viewer.