3           & &        ! = ="# =$ ;% ;& ;'() F E*+ x,-. L/ 012 03456 S7 089: 0;<= 0>? E@A B CDE CF $ EGHI EJK LMN OP xQ RS ETUVW q7 XY XZ[\ E]^ x_`a bc ;d Eefg hij InnerClassesMAKEPATHLjava/lang/String; ConstantValuePUTPUT_FILEGETGET_FILE DOWNCONFIG ZK_CLI_NAMEHELP LINKCONFIGCONFDIRCONFNAMEREVERSEkZKHOSTRUNZKSOLRHOME BOOTSTRAPSOLR_XMLlUPCONFIG COLLECTIONCLEARLISTCMD()VCodeLineNumberTableLocalVariableTablethisLorg/apache/solr/cloud/ZkCLI;main([Ljava/lang/String;)V formatter&Lorg/apache/commons/cli/HelpFormatter;cc$Lorg/apache/solr/core/CoreContainer;confDirconfName collectionarglistLjava/util/List;aclisLjava/io/InputStream;data[Bline$Lorg/apache/commons/cli/CommandLine;zkServerAddresssolrHomesolrPortzkServer$Lorg/apache/solr/cloud/SolrZkServer;zkClient+Lorg/apache/solr/common/cloud/SolrZkClient;exp'Lorg/apache/commons/cli/ParseException;args[Ljava/lang/String;parser*Lorg/apache/commons/cli/CommandLineParser;options Lorg/apache/commons/cli/Options; zkHostOptionLorg/apache/commons/cli/Option;solrHomeOptionLocalVariableTypeTable1Ljava/util/List; StackMapTablemn^(.opqf Exceptionsrstuvw SourceFile ZkCLI.java "org/apache/commons/cli/PosixParserorg/apache/commons/cli/Optionsx yzhcmd to run: bootstrap, upconfig, downconfig, linkconfig, makepath, put, putfile,get,getfile, list, clear {|cmd }~ org/apache/commons/cli/OptionzzkhostZooKeeper host address ssolrhome'for bootstrap, runzk: solrhome locationdconfdir0for upconfig: a directory of configuration files nconfname0for upconfig, linkconfig: name of the config setc&for linkconfig: name of the collectionrrunzk^run zk internally by passing the solr run port - only for clusters on one machine (tests, dev)hhelpbring up this help pagem n $org/apache/commons/cli/HelpFormatterZkCLI   Examples: Bzkcli.sh -zkhost localhost:9983 -cmd bootstrap -solrhome /opt/solrbzkcli.sh -zkhost localhost:9983 -cmd upconfig -confdir /opt/solr/collection1/conf -confname myconfdzkcli.sh -zkhost localhost:9983 -cmd downconfig -confdir /opt/solr/collection1/conf -confname myconfXzkcli.sh -zkhost localhost:9983 -cmd linkconfig -collection collection1 -confname myconf:zkcli.sh -zkhost localhost:9983 -cmd makepath /apache/solr?zkcli.sh -zkhost localhost:9983 -cmd put /solr.conf 'conf data'Qzkcli.sh -zkhost localhost:9983 -cmd putfile /solr.xml /User/myuser/solr/solr.xml2zkcli.sh -zkhost localhost:9983 -cmd get /solr.xmlDzkcli.sh -zkhost localhost:9983 -cmd getfile /solr.xml solr.xml.file0zkcli.sh -zkhost localhost:9983 -cmd clear /solr)zkcli.sh -zkhost localhost:9983 -cmd list -solrhome is required for runzk "org/apache/solr/cloud/SolrZkServertruejava/lang/StringBuilder  /zoo_data    )org/apache/solr/common/cloud/SolrZkClientorg/apache/solr/cloud/ZkCLI$1  bootstrap #-solrhome is required for bootstrap"org/apache/solr/core/CoreContainer  >A chroot was specified in zkHost but the znode doesn't exist. upconfig0-confdir and -confname are required for upconfig java/io/File   downconfig2-confdir and -confname are required for downconfig  linkconfig5-collection and -confname are required for linkconfig list clear o +-clear requires one arg - the path to clear [ makepath--makepath requires one arg - the path to make put ?-put requires two args - the path to create and the data string    }putfileT-putfile requires two args - the path to create in ZK and the path to the local filejava/io/FileInputStream  get'-get requires one arg - the path to get java/lang/String getfileF-getfilerequires two args - the path to get and the file to save it to   %org/apache/commons/cli/ParseExceptionUnexpected exception: org/apache/solr/cloud/ZkCLIjava/lang/Objectreversesolr.xml(org/apache/commons/cli/CommandLineParser"org/apache/commons/cli/CommandLinejava/util/Listjava/io/InputStreamjava/lang/Throwablejava/lang/InterruptedException%java/util/concurrent/TimeoutExceptionjava/io/IOException.javax/xml/parsers/ParserConfigurationExceptionorg/xml/sax/SAXException$org/apache/zookeeper/KeeperException$org/apache/commons/cli/OptionBuilderhasArg)(Z)Lorg/apache/commons/cli/OptionBuilder;withDescription:(Ljava/lang/String;)Lorg/apache/commons/cli/OptionBuilder;create3(Ljava/lang/String;)Lorg/apache/commons/cli/Option; addOptionA(Lorg/apache/commons/cli/Option;)Lorg/apache/commons/cli/Options;:(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)VY(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;)Lorg/apache/commons/cli/Options;parseY(Lorg/apache/commons/cli/Options;[Ljava/lang/String;)Lorg/apache/commons/cli/CommandLine; hasOption(Ljava/lang/String;)Z printHelp5(Ljava/lang/String;Lorg/apache/commons/cli/Options;)Vjava/lang/SystemoutLjava/io/PrintStream;java/io/PrintStreamprintln(Ljava/lang/String;)VgetOptionValue&(Ljava/lang/String;)Ljava/lang/String;exit(I)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString()Ljava/lang/String;](Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V parseConfigstartA(Ljava/lang/String;IILorg/apache/solr/common/cloud/OnReconnect;)Vequals(Ljava/lang/Object;)Z"org/apache/solr/cloud/ZkControllercheckChrootPath(Ljava/lang/String;Z)Z bootstrapConfd(Lorg/apache/solr/common/cloud/SolrZkClient;Lorg/apache/solr/core/CoreContainer;Ljava/lang/String;)VuploadConfigDirN(Lorg/apache/solr/common/cloud/SolrZkClient;Ljava/io/File;Ljava/lang/String;)VdownloadConfigDirN(Lorg/apache/solr/common/cloud/SolrZkClient;Ljava/lang/String;Ljava/io/File;)V linkConfSetR(Lorg/apache/solr/common/cloud/SolrZkClient;Ljava/lang/String;Ljava/lang/String;)VprintLayoutToStdOut getArgList()Ljava/util/List;size()I(I)Ljava/lang/Object;cleanmakePath(Ljava/lang/String;Z)V org/apache/zookeeper/ZooDefs$IdsIdsOPEN_ACL_UNSAFELjava/util/ArrayList;!java/nio/charset/StandardCharsetsUTF_8Ljava/nio/charset/Charset;getBytes(Ljava/nio/charset/Charset;)[Borg/apache/zookeeper/CreateMode PERSISTENT!Lorg/apache/zookeeper/CreateMode;Z(Ljava/lang/String;[BLjava/util/List;Lorg/apache/zookeeper/CreateMode;Z)Ljava/lang/String;org/apache/commons/io/IOUtils toByteArray(Ljava/io/InputStream;)[B closeQuietly(Ljava/io/InputStream;)VgetDataU(Ljava/lang/String;Lorg/apache/zookeeper/Watcher;Lorg/apache/zookeeper/data/Stat;Z)[B([BLjava/nio/charset/Charset;)Vorg/apache/commons/io/FileUtilswriteByteArrayToFile(Ljava/io/File;[B)Vstopclose getMessageorg/apache/zookeeper/ZooDefs!ehouzV("YIQ^\ /*1   =YLYM,WW W Y N,- W Y:,- W, W,W,W,W, W,!"#W+,*$:"%%  %u&Y':(,)*+,*-,*.,*/,*0,*1,*2,*3,*4,*5,*6,*7,8:8::%"%*9,:8:: 1;Y<=Y>?@?AB:  C D: EYu0u0FYGH:  8IJE%*K,:LYM: N*O,:  P% 8QJ]% %*R,:8: 8: N*O,: SY T U 8VJH% %*W,:8: 8:   SY TXh 8YJA% %*Z,:8: 8:    [ 8\J  ] 8^J4_:  `*a,:  bcd 8eJ5_:  `*f,:  bcg 8hJQi: _:  `*j,:  bc bckl mnW& 8oJg_:  `*p,:qY bcr:   bc simnW t :  t  8uJK_:  `*v,:  bcw: *xY ky,\ 8zJM_:  `*{,:  bcw: SY bcT | } $ ~: }  ~":*=Y>??A,Mjrrtr/FFHF,b-_b\]_%f4h:iJkPlWncpot{w~ $,-6?BLV^bkns 08<ENW_cs &.=DOW[k} "-59 M jor| !/$4%9'>(F$M%R'W(_-b+d,/.i E. N%     D' ( F ? "Z M/ >  C  6)? Bn  dzr4NJ8 F (q45? " &" $" ,,1*,8  ,),+ L  BFL