You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Sadheera Vithanage <sa...@gmail.com> on 2016/10/17 23:02:52 UTC

Advice on implementing SOLR Cloud

Hello solr experts,

I am new to solr and facing a problem while trying to implement solr cloud
with zoo keeper.

I am having 2 zookeeper instances residing on the same machines as solr
instances(not the best config but to get started).

I got my zookeeper instances and solr instances to work but I am getting an
error as below.


   - *Core_Name:*
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
   Could not load conf for core *Core_Name*: Error loading solr config from
   solrconfig.xml


I had these cores running as a standalone instance before and I haven't
pushed the config to zookeeper.

I am assuming that is the problem, If someone could send me the proper
syntax pushing the config to zookeeper, It would be great, I tried the
syntax on the web but I ddnt get it ryt..

Also, I am unable to create collections from the web ui, it doesn't list
any configurations.


OS: Ubuntu
Solr version: 6.2.0

If I can get a list of setup steps, for this config It will help as well..

Please let me know if you need further clarifications.

Thank you very much.

-- 
Regards

Sadheera Vithanage

Re: Advice on implementing SOLR Cloud

Posted by Sadheera Vithanage <sa...@gmail.com>.
Thank you ,Susheel Kumar.

On Tue, Oct 18, 2016 at 11:13 PM, Susheel Kumar <su...@gmail.com>
wrote:

> In case if you need exact commands etc. you can follow this
>
> http://blog.thedigitalgroup.com/susheelk/2015/08/03/
> solrcloud-2-nodes-solr-1-node-zk-setup/
>
>
> Thanks,
> Susheel
>
> On Mon, Oct 17, 2016 at 7:17 PM, John Bickerstaff <
> john@johnbickerstaff.com>
> wrote:
>
> > I had quite a lot of "fun" figuring out how to install Solr Cloud.
> Because
> > it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
> > Zookeeper folks don't say much about Solr.
> >
> > I finally put my notes together and posted them online for download.
> There
> > is one in the set called something like 6.1_final.txt and that will
> contain
> > a step-by-step way to set up the Solr Cloud.  You can modify for your
> > situation.
> >
> > Hope this helps...
> >
> > https://www.linkedin.com/pulse/actual-solrcloud-vms-
> zookeeper-nodes-john-
> > bickerstaff?trk=hp-feed-article-title-publish
> >
> > Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
> > due to the need to elect a "leader" if one goes down.
> >
> > From the zookeeper site: Three ZooKeeper servers is the minimum
> recommended
> > size for an ensemble, and we also recommend that they run on separate
> > machines.
> >
> > See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html
> >
> > Virtual box and Linux VMs are free (except for the time to build them)
> and
> > you may want to take that route instead of doing everything on the same
> > machine, but that's up to you...
> >
> > On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage <sadheerav@gmail.com
> >
> > wrote:
> >
> > > Hello solr experts,
> > >
> > > I am new to solr and facing a problem while trying to implement solr
> > cloud
> > > with zoo keeper.
> > >
> > > I am having 2 zookeeper instances residing on the same machines as solr
> > > instances(not the best config but to get started).
> > >
> > > I got my zookeeper instances and solr instances to work but I am
> getting
> > an
> > > error as below.
> > >
> > >
> > >    - *Core_Name:*
> > > org.apache.solr.common.SolrException:org.apache.solr.
> > common.SolrException:
> > >    Could not load conf for core *Core_Name*: Error loading solr config
> > from
> > >    solrconfig.xml
> > >
> > >
> > > I had these cores running as a standalone instance before and I haven't
> > > pushed the config to zookeeper.
> > >
> > > I am assuming that is the problem, If someone could send me the proper
> > > syntax pushing the config to zookeeper, It would be great, I tried the
> > > syntax on the web but I ddnt get it ryt..
> > >
> > > Also, I am unable to create collections from the web ui, it doesn't
> list
> > > any configurations.
> > >
> > >
> > > OS: Ubuntu
> > > Solr version: 6.2.0
> > >
> > > If I can get a list of setup steps, for this config It will help as
> > well..
> > >
> > > Please let me know if you need further clarifications.
> > >
> > > Thank you very much.
> > >
> > > --
> > > Regards
> > >
> > > Sadheera Vithanage
> > >
> >
>



-- 
Regards

Sadheera Vithanage

Re: Advice on implementing SOLR Cloud

Posted by Susheel Kumar <su...@gmail.com>.
In case if you need exact commands etc. you can follow this

http://blog.thedigitalgroup.com/susheelk/2015/08/03/solrcloud-2-nodes-solr-1-node-zk-setup/


Thanks,
Susheel

On Mon, Oct 17, 2016 at 7:17 PM, John Bickerstaff <jo...@johnbickerstaff.com>
wrote:

> I had quite a lot of "fun" figuring out how to install Solr Cloud.  Because
> it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
> Zookeeper folks don't say much about Solr.
>
> I finally put my notes together and posted them online for download.  There
> is one in the set called something like 6.1_final.txt and that will contain
> a step-by-step way to set up the Solr Cloud.  You can modify for your
> situation.
>
> Hope this helps...
>
> https://www.linkedin.com/pulse/actual-solrcloud-vms-zookeeper-nodes-john-
> bickerstaff?trk=hp-feed-article-title-publish
>
> Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
> due to the need to elect a "leader" if one goes down.
>
> From the zookeeper site: Three ZooKeeper servers is the minimum recommended
> size for an ensemble, and we also recommend that they run on separate
> machines.
>
> See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html
>
> Virtual box and Linux VMs are free (except for the time to build them) and
> you may want to take that route instead of doing everything on the same
> machine, but that's up to you...
>
> On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage <sa...@gmail.com>
> wrote:
>
> > Hello solr experts,
> >
> > I am new to solr and facing a problem while trying to implement solr
> cloud
> > with zoo keeper.
> >
> > I am having 2 zookeeper instances residing on the same machines as solr
> > instances(not the best config but to get started).
> >
> > I got my zookeeper instances and solr instances to work but I am getting
> an
> > error as below.
> >
> >
> >    - *Core_Name:*
> > org.apache.solr.common.SolrException:org.apache.solr.
> common.SolrException:
> >    Could not load conf for core *Core_Name*: Error loading solr config
> from
> >    solrconfig.xml
> >
> >
> > I had these cores running as a standalone instance before and I haven't
> > pushed the config to zookeeper.
> >
> > I am assuming that is the problem, If someone could send me the proper
> > syntax pushing the config to zookeeper, It would be great, I tried the
> > syntax on the web but I ddnt get it ryt..
> >
> > Also, I am unable to create collections from the web ui, it doesn't list
> > any configurations.
> >
> >
> > OS: Ubuntu
> > Solr version: 6.2.0
> >
> > If I can get a list of setup steps, for this config It will help as
> well..
> >
> > Please let me know if you need further clarifications.
> >
> > Thank you very much.
> >
> > --
> > Regards
> >
> > Sadheera Vithanage
> >
>

Re: Advice on implementing SOLR Cloud

Posted by John Bickerstaff <jo...@johnbickerstaff.com>.
Excellent!  Glad to know the efforts were useful to someone else.

On Oct 17, 2016 11:20 PM, "Sadheera Vithanage" <sa...@gmail.com> wrote:

Thank you very much John, I fixed it.

Your steps helped big time..

Thanks again..

On Tue, Oct 18, 2016 at 10:17 AM, John Bickerstaff <john@johnbickerstaff.com
> wrote:

> I had quite a lot of "fun" figuring out how to install Solr Cloud.
Because
> it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
> Zookeeper folks don't say much about Solr.
>
> I finally put my notes together and posted them online for download.
There
> is one in the set called something like 6.1_final.txt and that will
contain
> a step-by-step way to set up the Solr Cloud.  You can modify for your
> situation.
>
> Hope this helps...
>
> https://www.linkedin.com/pulse/actual-solrcloud-vms-zookeeper-nodes-john-
> bickerstaff?trk=hp-feed-article-title-publish
>
> Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
> due to the need to elect a "leader" if one goes down.
>
> From the zookeeper site: Three ZooKeeper servers is the minimum
recommended
> size for an ensemble, and we also recommend that they run on separate
> machines.
>
> See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html
>
> Virtual box and Linux VMs are free (except for the time to build them) and
> you may want to take that route instead of doing everything on the same
> machine, but that's up to you...
>
> On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage <sa...@gmail.com>
> wrote:
>
> > Hello solr experts,
> >
> > I am new to solr and facing a problem while trying to implement solr
> cloud
> > with zoo keeper.
> >
> > I am having 2 zookeeper instances residing on the same machines as solr
> > instances(not the best config but to get started).
> >
> > I got my zookeeper instances and solr instances to work but I am getting
> an
> > error as below.
> >
> >
> >    - *Core_Name:*
> > org.apache.solr.common.SolrException:org.apache.solr.
> common.SolrException:
> >    Could not load conf for core *Core_Name*: Error loading solr config
> from
> >    solrconfig.xml
> >
> >
> > I had these cores running as a standalone instance before and I haven't
> > pushed the config to zookeeper.
> >
> > I am assuming that is the problem, If someone could send me the proper
> > syntax pushing the config to zookeeper, It would be great, I tried the
> > syntax on the web but I ddnt get it ryt..
> >
> > Also, I am unable to create collections from the web ui, it doesn't list
> > any configurations.
> >
> >
> > OS: Ubuntu
> > Solr version: 6.2.0
> >
> > If I can get a list of setup steps, for this config It will help as
> well..
> >
> > Please let me know if you need further clarifications.
> >
> > Thank you very much.
> >
> > --
> > Regards
> >
> > Sadheera Vithanage
> >
>



--
Regards

Sadheera Vithanage

Re: Advice on implementing SOLR Cloud

Posted by Sadheera Vithanage <sa...@gmail.com>.
Thank you very much John, I fixed it.

Your steps helped big time..

Thanks again..

On Tue, Oct 18, 2016 at 10:17 AM, John Bickerstaff <john@johnbickerstaff.com
> wrote:

> I had quite a lot of "fun" figuring out how to install Solr Cloud.  Because
> it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
> Zookeeper folks don't say much about Solr.
>
> I finally put my notes together and posted them online for download.  There
> is one in the set called something like 6.1_final.txt and that will contain
> a step-by-step way to set up the Solr Cloud.  You can modify for your
> situation.
>
> Hope this helps...
>
> https://www.linkedin.com/pulse/actual-solrcloud-vms-zookeeper-nodes-john-
> bickerstaff?trk=hp-feed-article-title-publish
>
> Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
> due to the need to elect a "leader" if one goes down.
>
> From the zookeeper site: Three ZooKeeper servers is the minimum recommended
> size for an ensemble, and we also recommend that they run on separate
> machines.
>
> See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html
>
> Virtual box and Linux VMs are free (except for the time to build them) and
> you may want to take that route instead of doing everything on the same
> machine, but that's up to you...
>
> On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage <sa...@gmail.com>
> wrote:
>
> > Hello solr experts,
> >
> > I am new to solr and facing a problem while trying to implement solr
> cloud
> > with zoo keeper.
> >
> > I am having 2 zookeeper instances residing on the same machines as solr
> > instances(not the best config but to get started).
> >
> > I got my zookeeper instances and solr instances to work but I am getting
> an
> > error as below.
> >
> >
> >    - *Core_Name:*
> > org.apache.solr.common.SolrException:org.apache.solr.
> common.SolrException:
> >    Could not load conf for core *Core_Name*: Error loading solr config
> from
> >    solrconfig.xml
> >
> >
> > I had these cores running as a standalone instance before and I haven't
> > pushed the config to zookeeper.
> >
> > I am assuming that is the problem, If someone could send me the proper
> > syntax pushing the config to zookeeper, It would be great, I tried the
> > syntax on the web but I ddnt get it ryt..
> >
> > Also, I am unable to create collections from the web ui, it doesn't list
> > any configurations.
> >
> >
> > OS: Ubuntu
> > Solr version: 6.2.0
> >
> > If I can get a list of setup steps, for this config It will help as
> well..
> >
> > Please let me know if you need further clarifications.
> >
> > Thank you very much.
> >
> > --
> > Regards
> >
> > Sadheera Vithanage
> >
>



-- 
Regards

Sadheera Vithanage

Re: Advice on implementing SOLR Cloud

Posted by John Bickerstaff <jo...@johnbickerstaff.com>.
I had quite a lot of "fun" figuring out how to install Solr Cloud.  Because
it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
Zookeeper folks don't say much about Solr.

I finally put my notes together and posted them online for download.  There
is one in the set called something like 6.1_final.txt and that will contain
a step-by-step way to set up the Solr Cloud.  You can modify for your
situation.

Hope this helps...

https://www.linkedin.com/pulse/actual-solrcloud-vms-zookeeper-nodes-john-bickerstaff?trk=hp-feed-article-title-publish

Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
due to the need to elect a "leader" if one goes down.

From the zookeeper site: Three ZooKeeper servers is the minimum recommended
size for an ensemble, and we also recommend that they run on separate
machines.

See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html

Virtual box and Linux VMs are free (except for the time to build them) and
you may want to take that route instead of doing everything on the same
machine, but that's up to you...

On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage <sa...@gmail.com>
wrote:

> Hello solr experts,
>
> I am new to solr and facing a problem while trying to implement solr cloud
> with zoo keeper.
>
> I am having 2 zookeeper instances residing on the same machines as solr
> instances(not the best config but to get started).
>
> I got my zookeeper instances and solr instances to work but I am getting an
> error as below.
>
>
>    - *Core_Name:*
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
>    Could not load conf for core *Core_Name*: Error loading solr config from
>    solrconfig.xml
>
>
> I had these cores running as a standalone instance before and I haven't
> pushed the config to zookeeper.
>
> I am assuming that is the problem, If someone could send me the proper
> syntax pushing the config to zookeeper, It would be great, I tried the
> syntax on the web but I ddnt get it ryt..
>
> Also, I am unable to create collections from the web ui, it doesn't list
> any configurations.
>
>
> OS: Ubuntu
> Solr version: 6.2.0
>
> If I can get a list of setup steps, for this config It will help as well..
>
> Please let me know if you need further clarifications.
>
> Thank you very much.
>
> --
> Regards
>
> Sadheera Vithanage
>