Changeset 31304

Show
Ignore:
Timestamp:
19.01.2017 18:10:18 (2 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

Files:
1 modified

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