Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-09 Thread Shawn Heisey
On 3/9/2018 10:41 AM, Abhi Basu wrote: > That was due to a folder not being present. Is this something to do with > version? > > http://hn0-esohad.mzwz3dh4pb1evcdwc1lcsddrbe.jx.internal.cloudapp.net:8983/solr/admin/collections?action=CREATE&name=ems-collection2&numShards=2&replicationFactor=2&maxSh

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-09 Thread john spooner
would be nice to not get this email. On 3/9/2018 1:23 PM, Abhi Basu wrote: This has been resolved! Turned out to be schema and config file version diff between 4.10 and 4.9. Thanks, Abhi On Fri, Mar 9, 2018 at 11:41 AM, Abhi Basu <9000r...@gmail.com> wrote: That was due to a folder not be

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-09 Thread Abhi Basu
This has been resolved! Turned out to be schema and config file version diff between 4.10 and 4.9. Thanks, Abhi On Fri, Mar 9, 2018 at 11:41 AM, Abhi Basu <9000r...@gmail.com> wrote: > That was due to a folder not being present. Is this something to do with > version? > > http://hn0-esohad.mzw

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-09 Thread Abhi Basu
That was due to a folder not being present. Is this something to do with version? http://hn0-esohad.mzwz3dh4pb1evcdwc1lcsddrbe.jx.internal.cloudapp.net:8983/solr/admin/collections?action=CREATE&name=ems-collection2&numShards=2&replicationFactor=2&maxShardsPerNode=1 org.apache.solr.client.solrj.i

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-09 Thread Abhi Basu
Ok, so I tried the following: /usr/hdp/current/solr/example/scripts/cloud-scripts/zkcli.sh -cmd upconfig -zkhost zk0-esohad.mzwz3dh4pb1evcdwc1lcsddrbe.jx.internal.cloudapp.net:2181 -confdir /home/sshuser/abhi/ems-collection/conf -confname ems-collection And got this exception: java.lang.IllegalAr

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-09 Thread Abhi Basu
Thanks for the reply, this really helped me. For Solr 4.9, what is the actual zkcli command to upload config? java -classpath example/solr-webapp/WEB-INF/lib/* org.apache.solr.cloud.ZkCLI -cmd upconfig -zkhost 127.0.0.1:9983 -confdir example/solr/collection1/conf -confname conf1 -solrhome examp

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-08 Thread Shawn Heisey
On 3/8/2018 1:26 PM, Abhi Basu wrote: > I'm in a bind. Added Solr 4.9.0 to HDInsight cluster and find no Solrctl > commands installed. So, I am doing the following to create a collection. This 'solrctl' command is NOT part of Solr.  Google tells me it's part of software from Cloudera. You need to

Re: HDInsight with Solr 4.9.0 Create Collection

2018-03-08 Thread Erick Erickson
First I have no idea what HDInsight is about, and CDH is a Cloudera product so anything related to that specifically would best be asked on the Cloudera lists. Solrctl is also a Cloudera-provided script IIUC. ButI can say that the command you showed is...odd. If you're saying _you_ entered it then

HDInsight with Solr 4.9.0 Create Collection

2018-03-08 Thread Abhi Basu
Folks: I'm in a bind. Added Solr 4.9.0 to HDInsight cluster and find no Solrctl commands installed. So, I am doing the following to create a collection. I have my collection schema in a location: /home/sshuser/abhi/ems-collection/conf Using this command to create a collection: http://hea