mirror of https://github.com/apache/lucene.git
SOLR-4691: zkcli.sh/bat is broken because it cannot find the logging jars.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465836 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
8f54c7f34a
commit
1a9de4ba0a
|
@ -24,7 +24,7 @@ cp -r -f example example4
|
|||
cp -r -f example example5
|
||||
cp -r -f example example6
|
||||
|
||||
java -classpath lib/*:dist/*:build/lucene-libs/* org.apache.solr.cloud.ZkController "$zkaddress" 8983 example/solr/conf conf1
|
||||
java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*:example/lib/ext/" org.apache.solr.cloud.ZkController "$zkaddress" 8983 example/solr/conf conf1
|
||||
|
||||
cd example
|
||||
java -DzkHost="$zkaddress" -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -jar start.jar 1>example.log 2>&1 &
|
||||
|
|
|
@ -24,7 +24,7 @@ cp -r -f example example4
|
|||
cp -r -f example example5
|
||||
cp -r -f example example6
|
||||
|
||||
java -classpath lib/*:dist/*:build/lucene-libs/* org.apache.solr.cloud.ZkCLI -cmd upconf -zkhost 127.0.0.1:9983 -solrhome example/multicore -runzk 8983
|
||||
java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*:example/lib/ext/" org.apache.solr.cloud.ZkCLI -cmd upconf -zkhost 127.0.0.1:9983 -solrhome example/multicore -runzk 8983
|
||||
|
||||
cd example
|
||||
java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -Dsolr.solr.home=multicore -jar start.jar 1>example.log 2>&1 &
|
||||
|
|
|
@ -25,7 +25,7 @@ cp -r -f example example4
|
|||
cp -r -f example example5
|
||||
cp -r -f example example6
|
||||
|
||||
java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*" org.apache.solr.cloud.ZkCLI -cmd bootstrap -zkhost 127.0.0.1:9983 -solrhome example/solr -runzk 8983
|
||||
java -classpath "example/solr-webapp/webapp/WEB-INF/lib/*:example/lib/ext/" org.apache.solr.cloud.ZkCLI -cmd bootstrap -zkhost 127.0.0.1:9983 -solrhome example/solr -runzk 8983
|
||||
|
||||
cd example
|
||||
java -DzkRun -DnumShards=2 -DSTOP.PORT=7983 -DSTOP.KEY=key -jar start.jar 1>example.log 2>&1 &
|
||||
|
|
|
@ -9,4 +9,4 @@ set SDIR=%~dp0
|
|||
if "%SDIR:~-1%"=="\" set SDIR=%SDIR:~0,-1%
|
||||
|
||||
|
||||
"%JVM%" -classpath "%SDIR%\..\solr-webapp\webapp\WEB-INF\lib\*" org.apache.solr.cloud.ZkCLI %*
|
||||
"%JVM%" -classpath "%SDIR%\..\solr-webapp\webapp\WEB-INF\lib\*;%SDIR%\..\lib\ext" org.apache.solr.cloud.ZkCLI %*
|
||||
|
|
|
@ -10,5 +10,5 @@ JVM="java"
|
|||
sdir="`dirname \"$0\"`"
|
||||
|
||||
|
||||
$JVM -classpath "$sdir/../solr-webapp/webapp/WEB-INF/lib/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}
|
||||
$JVM -classpath "$sdir/../solr-webapp/webapp/WEB-INF/lib/*:$sdir/../lib/ext/*" org.apache.solr.cloud.ZkCLI ${1+"$@"}
|
||||
|
||||
|
|
Loading…
Reference in New Issue