Last change
on this file since 31307 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:
341 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | i=0
|
---|
4 |
|
---|
5 | for solr_node in $SOLR_NODES ; do
|
---|
6 | solr_host=${solr_node%:*}
|
---|
7 | solr_port=${solr_node##*:}
|
---|
8 |
|
---|
9 | # opt_s="-s /tmp/gc$i-solr-ef/solr"
|
---|
10 | opt_s="-s /tmp/gc$i-solr-ef"
|
---|
11 |
|
---|
12 | echo "Starting solr cloud node on: $solr_host [port $solr_port]"
|
---|
13 | solr start -cloud -z $ZOOKEEPER_SERVER -h $solr_host -p $solr_port $opt_s
|
---|
14 |
|
---|
15 | i=$((i+1))
|
---|
16 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.