I tried solr-6.0 and was able to see the same issue. Please help. Thanks
On 4/11/16, 3:59 PM, "Sam Xia" <s...@local.com> wrote: >Hi, > >I installed Solr 5.5 in my test server but was having issue updating the >solrconfig.xml. > >Solr is installed in /locm/solr-5.5.0/ folder > >1) First I create a topic connection with the following command: > >bin/solr create -c topic -d topic_configs_ori > >But there is no folder name topc in >/locm/solr-5.5.0/server/solr/configsets/topic after the above commend. > >The issue is that when I check the configuration file in Solr admin, the >correct solrconfig.xml is not updated to the one in >/locm/solr-5.5.0/server/solr/configsets/topic_configs_ori. Actually it >looked to me that the default config files are used. > >2) Then I run the following command to try to update > >./zkcli.sh -cmd upconfig -zkhost localhost:9983 -confname topic -solrhome >/locm/solr-5.5.0/ -confdir >/locm/solr-5.5.0/server/solr/configsets/topic_configs_ori/conf > >I got the following error: > >./zkcli.sh -cmd upconfig -zkhost localhost:9983 -confname topic -solrhome >/locm/solr-5.5.0/ -confdir >/locm/solr-5.5.0/server/solr/configsets/topic_configs_ori/conf > >Exception in thread "main" java.io.IOException: Error uploading file >/locm/solr-5.5.0/server/solr/configsets/topic_configs_ori/conf/get-pip.py >to zookeeper path /configs/topic/get-pip.py > >at >org.apache.solr.common.cloud.ZkConfigManager$1.visitFile(ZkConfigManager.j >ava:69) > >at >org.apache.solr.common.cloud.ZkConfigManager$1.visitFile(ZkConfigManager.j >ava:59) > >at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:135) > >at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:199) > >at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69) > >at java.nio.file.Files.walkFileTree(Files.java:2602) > >at java.nio.file.Files.walkFileTree(Files.java:2635) > >at >org.apache.solr.common.cloud.ZkConfigManager.uploadToZK(ZkConfigManager.ja >va:59) > >at >org.apache.solr.common.cloud.ZkConfigManager.uploadConfigDir(ZkConfigManag >er.java:121) > >at org.apache.solr.cloud.ZkCLI.main(ZkCLI.java:222) > >Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException: >KeeperErrorCode = ConnectionLoss for /configs/topic/get-pip.py > >at org.apache.zookeeper.KeeperException.create(KeeperException.java:99) > >at org.apache.zookeeper.KeeperException.create(KeeperException.java:51) > >at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783) > >at >org.apache.solr.common.cloud.SolrZkClient$10.execute(SolrZkClient.java:501 >) > >at >org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.ja >va:60) > >at >org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:498) > >at >org.apache.solr.common.cloud.SolrZkClient.makePath(SolrZkClient.java:408) > >at >org.apache.solr.common.cloud.ZkConfigManager$1.visitFile(ZkConfigManager.j >ava:67) > >... 9 more > >Please help me as this seems to be very basic. But I followed the >document in: >https://cwiki.apache.org/confluence/display/solr/Using+ZooKeeper+to+Manage >+Configuration+Files > >Is this a bug or am I missing anything? Thanks > > >