root/other-projects/hathitrust/wcsa/extracted-features-solr/trunk/gslis-cluster/SCRIPTS/remote-solr-check-local-shardsize-all.sh @ 31307

Revision 31231, 311 bytes (checked in by davidb, 3 years ago)

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

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3unique_hosts=`echo $SOLR_NODES | tr ' ' '\n' | sed 's/:.*$//' | sort | uniq`
4
5echo "Running 'du -hs' on all Solr shards"
6
7local_dir="/hdfsd05/dbbridge/solr-ef"
8
9for solr_host in $unique_hosts ; do
10#  ssh $solr_host du -hs /tmp/solr-ef/solr/*shard*;
11  ssh $solr_host du -hs $local_dir/*shard*;
12done
Note: See TracBrowser for help on using the browser.