"Fossies" - the Fresh Open Source Software Archive

Member "solr-8.4.1/solr/server/scripts/cloud-scripts/zkcli.bat" (10 Jan 2020, 951 Bytes) of package /linux/www/solr-8.4.1-src.tgz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "zkcli.bat": 8.4.0_vs_8.4.1.

    1 @echo off
    2 REM You can override pass the following parameters to this script:
    3 REM 
    5 set JVM=java
    7 REM  Find location of this script
    9 set SDIR=%~dp0
   10 if "%SDIR:~-1%"=="\" set SDIR=%SDIR:~0,-1%
   12 set "LOG4J_CONFIG=file:///%SDIR%\..\..\resources\log4j2-console.xml"
   14 REM Settings for ZK ACL
   15 REM set SOLR_ZK_CREDS_AND_ACLS=-DzkACLProvider=org.apache.solr.common.cloud.VMParamsAllAndReadonlyDigestZkACLProvider ^
   16 REM  -DzkCredentialsProvider=org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider ^
   17 REM  -DzkDigestUsername=admin-user -DzkDigestPassword=CHANGEME-ADMIN-PASSWORD ^
   18 REM  -DzkDigestReadonlyUsername=readonly-user -DzkDigestReadonlyPassword=CHANGEME-READONLY-PASSWORD
   20 "%JVM%" %SOLR_ZK_CREDS_AND_ACLS% %ZKCLI_JVM_FLAGS% -Dlog4j.configurationFile="%LOG4J_CONFIG%" ^
   21 -classpath "%SDIR%\..\..\solr-webapp\webapp\WEB-INF\lib\*;%SDIR%\..\..\lib\ext\*;%SDIR%\..\..\lib\*" org.apache.solr.cloud.ZkCLI %*