Ignore:
Timestamp:
2016-12-13T22:41:54+13:00 (7 years ago)
Author:
davidb
Message:

Changes to allow SOLR to run on nodes in /hdfsd05/dbbridge/solr-ef

File:
1 edited

Legend:

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

    r31112 r31231  
    33unique_hosts=`echo $SOLR_NODES | tr ' ' '\n' | sed 's/:.*$//' | sort | uniq`
    44
    5 
     5local_dir="/hdfsd05/dbbridge/solr-ef"
    66
    77for solr_host in $unique_hosts ; do
    88  echo "Running 'rsync' on $solr_host -> nema:/tmp/$solr_host/solr-ef"
    9   ssh $solr_host rsync -pav /tmp/solr-ef/solr nema:/tmp/${solr_host}-solr-ef
     9#  ssh $solr_host rsync -pav /tmp/solr-ef/solr nema:/tmp/${solr_host}-solr-ef
     10  ssh nema "if [ ! -d /tmp/${solr_host}-solr-ef ] ; then mkdir /tmp/${solr_host}-solr-ef ; fi"
     11  ssh $solr_host rsync -pav $local_dir/. nema:/tmp/${solr_host}-solr-ef/.
    1012done
Note: See TracChangeset for help on using the changeset viewer.