Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Who agreed with this topic

Getting error while uploading the sample config files to zookeeper

New Contributor

Im using CDH 5 and was following the below tutorial to set up Cloudera Search using Solr.

 

http://beta.cloudera.com/search/docs/Cloudera-Search-Installation-Guide.pdf

 

The installation worked fine and I was ablt to go to the Solr admin console. And in my configuration Zookeeper, YARN and Solr all are running in the same VM and all of them as single node clusters. After making sure the isntallation worked and admin UI for Solr worked. I tried setting up the configuration files for the samples using the following commands

 

solrctl instancedir --create collection1 $HOME/solr_configs

 

And after that I get error stating "Error: can't upload configuration". When checked the log file I get the following error

 

2013-12-27 19:46:10,261 INFO org.apache.solr.common.cloud.ZkStateReader: Updating cloud state from ZooKeeper...
2013-12-27 19:46:10,261 ERROR org.apache.solr.cloud.Overseer: Exception in Overseer main queue loop
java.lang.IllegalArgumentException: Path must not end with / character
at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:58)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1450)
at org.apache.solr.common.cloud.SolrZkClient$6.execute(SolrZkClient.java:235)
at org.apache.solr.common.cloud.SolrZkClient$6.execute(SolrZkClient.java:232)
at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:65)
at org.apache.solr.common.cloud.SolrZkClient.getChildren(SolrZkClient.java:232)
at org.apache.solr.common.cloud.SolrZkClient.clean(SolrZkClient.java:618)
at org.apache.solr.cloud.Overseer$ClusterStateUpdater.removeCore(Overseer.java:642)
at org.apache.solr.cloud.Overseer$ClusterStateUpdater.processMessage(Overseer.java:182)
at org.apache.solr.cloud.Overseer$ClusterStateUpdater.run(Overseer.java:142)
at java.lang.Thread.run(Thread.java:724)
2013-12-27 19:46:11,763 INFO org.apache.solr.common.cloud.ZkStateReader: Updating cloud state from ZooKeeper...
2013-12-27 19:46:11,764 ERROR org.apache.solr.cloud.Overseer: Exception in Overseer main queue loop
java.lang.IllegalArgumentException: Path must not end with / character
at org.apache.zookeeper.common.PathUtils.validatePath(PathUtils.java:58)
at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:1450)
at org.apache.solr.common.cloud.SolrZkClient$6.execute(SolrZkClient.java:235)
at org.apache.solr.common.cloud.SolrZkClient$6.execute(SolrZkClient.java:232)
at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:65)
at org.apache.solr.common.cloud.SolrZkClient.getChildren(SolrZkClient.java:232)
at org.apache.solr.common.cloud.SolrZkClient.clean(SolrZkClient.java:618)
at org.apache.solr.cloud.Overseer$ClusterStateUpdater.removeCore(Overseer.java:642)
at org.apache.solr.cloud.Overseer$ClusterStateUpdater.processMessage(Overseer.java:182)
at org.apache.solr.cloud.Overseer$ClusterStateUpdater.run(Overseer.java:142)
at java.lang.Thread.run(Thread.java:724)

 

Please help me how to proceed further. Thank you.

Who agreed with this topic