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 Søren <sd...@syntonetic.com> on 2018/03/14 10:19:22 UTC

Solr on DC/OS ?

Hi, has anyone experience in running solr on DC/OS?

If so, how is that achieved succesfully? Solr is not in Universe.

Thanks in advance,
Soren


Re: Solr on DC/OS ?

Posted by Søren <sd...@syntonetic.com>.
Thanks a lot guys. Now we know where to start.

Best
     Soren

On 15-03-2018 09:27, Hendrik Haddorp wrote:
> Hi,
>
> we are running Solr on Marathon/Mesos, which should basically be the 
> same as DC/OS. Solr and ZooKeeper are running in docker containers. I 
> wrote my own Mesos framework that handles the assignment to the 
> agents. There is a public sample that does the same for ElasticSearch. 
> I'm not aware of a public Solr Mesos framework. The only "mediation" 
> that happens here is that Solr runs in a docker container with a 
> memory limit. If you give it enough resources it should be pretty 
> close to running straight on the machine. JVM memory tuning and docker 
> is however not the most fun.
>
> regards,
> Hendrik
>
> On 15.03.2018 00:09, Rick Leir wrote:
>> Søren,
>> DC/OS installs on top of Ubuntu or RedHat, and it is used to 
>> coordinate many machines so they appear as a cluster.
>>
>> Solr needs to be on a single machine, or in the case of SolrCloud, on 
>> many machines. It has no need of the coordination which DC/OS 
>> provides. Solr depends on direct access to lots of memory, and if any 
>> coordination layer attempts to mediate access to the memory then Solr 
>> would slow down. I recommend you install Solr directly on Ubuntu or 
>> Redhat or Windows Server (Disclosure: I know very little about DC/OS)
>> Cheers -- Rick
>>
>>
>> On March 14, 2018 6:19:22 AM EDT, "Søren" <sd...@syntonetic.com> wrote:
>>> Hi, has anyone experience in running solr on DC/OS?
>>>
>>> If so, how is that achieved succesfully? Solr is not in Universe.
>>>
>>> Thanks in advance,
>>> Soren
>


Re: Solr on DC/OS ?

Posted by Hendrik Haddorp <he...@gmx.net>.
Hi,

we are running Solr on Marathon/Mesos, which should basically be the 
same as DC/OS. Solr and ZooKeeper are running in docker containers. I 
wrote my own Mesos framework that handles the assignment to the agents. 
There is a public sample that does the same for ElasticSearch. I'm not 
aware of a public Solr Mesos framework. The only "mediation" that 
happens here is that Solr runs in a docker container with a memory 
limit. If you give it enough resources it should be pretty close to 
running straight on the machine. JVM memory tuning and docker is however 
not the most fun.

regards,
Hendrik

On 15.03.2018 00:09, Rick Leir wrote:
> Søren,
> DC/OS installs on top of Ubuntu or RedHat, and it is used to coordinate many machines so they appear as a cluster.
>
> Solr needs to be on a single machine, or in the case of SolrCloud, on many machines. It has no need of the coordination which DC/OS provides. Solr depends on direct access to lots of memory, and if any coordination layer attempts to mediate access to the memory then Solr would slow down. I recommend you install Solr directly on Ubuntu or Redhat or Windows Server (Disclosure: I know very little about DC/OS)
> Cheers -- Rick
>
>
> On March 14, 2018 6:19:22 AM EDT, "Søren" <sd...@syntonetic.com> wrote:
>> Hi, has anyone experience in running solr on DC/OS?
>>
>> If so, how is that achieved succesfully? Solr is not in Universe.
>>
>> Thanks in advance,
>> Soren


Re: Solr on DC/OS ?

Posted by Rick Leir <rl...@leirtech.com>.
Søren,
DC/OS installs on top of Ubuntu or RedHat, and it is used to coordinate many machines so they appear as a cluster. 

Solr needs to be on a single machine, or in the case of SolrCloud, on many machines. It has no need of the coordination which DC/OS provides. Solr depends on direct access to lots of memory, and if any coordination layer attempts to mediate access to the memory then Solr would slow down. I recommend you install Solr directly on Ubuntu or Redhat or Windows Server (Disclosure: I know very little about DC/OS)
Cheers -- Rick


On March 14, 2018 6:19:22 AM EDT, "Søren" <sd...@syntonetic.com> wrote:
>Hi, has anyone experience in running solr on DC/OS?
>
>If so, how is that achieved succesfully? Solr is not in Universe.
>
>Thanks in advance,
>Soren

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 

Re: Solr on DC/OS ?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 3/14/2018 4:19 AM, Søren wrote:
> Hi, has anyone experience in running solr on DC/OS?
>
> If so, how is that achieved succesfully? Solr is not in Universe.

If this operating system has Oracle or OpenJDK Java (version 8 
preferred) available, chances are that it will run Solr.

If it can run bash scripts or Windows command scripts, then it should 
also be able to use the startup method included with recent versions of 
Solr.  Depending on exactly what facilities are available, the service 
installer shell script may also work.

Thanks,
Shawn