Last change
on this file since 31231 was 31231, checked in by davidb, 7 years ago |
Changes to allow SOLR to run on nodes in /hdfsd05/dbbridge/solr-ef
|
-
Property svn:executable
set to
*
|
File size:
311 bytes
|
Rev | Line | |
---|
[31105] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | unique_hosts=`echo $SOLR_NODES | tr ' ' '\n' | sed 's/:.*$//' | sort | uniq`
|
---|
| 4 |
|
---|
| 5 | echo "Running 'du -hs' on all Solr shards"
|
---|
| 6 |
|
---|
[31231] | 7 | local_dir="/hdfsd05/dbbridge/solr-ef"
|
---|
| 8 |
|
---|
[31105] | 9 | for solr_host in $unique_hosts ; do
|
---|
[31231] | 10 | # ssh $solr_host du -hs /tmp/solr-ef/solr/*shard*;
|
---|
| 11 | ssh $solr_host du -hs $local_dir/*shard*;
|
---|
[31105] | 12 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.