Re: weird error for accessing solr

2018-09-19 Thread Erick Erickson
Thanks for bringing closure to this, Whew!
On Wed, Sep 19, 2018 at 8:04 AM Gu, Steve (CDC/OD/OADS) (CTR)
 wrote:
>
> A little update.
>
> For the client machine where solr admin page behaves differently, it turns 
> out that the requests on the page like */admin/* were never served.  I think 
> it is related to the server setting that might prevent these urls with 
> "/admin/" from being sent.
>
> In essence, it is not a solr issue.
>
> Thanks a lot
> Steve
>
> -Original Message-
> From: Erick Erickson 
> Sent: Tuesday, September 18, 2018 4:18 PM
> To: solr-user 
> Subject: Re: weird error for accessing solr
>
> bq. can you share *ALL* of...
>
> from both machines!
> On Tue, Sep 18, 2018 at 12:40 PM Shawn Heisey  wrote:
> >
> > On 9/18/2018 12:23 PM, Gu, Steve (CDC/OD/OADS) (CTR) wrote:
> > > I have set up my solr as a standalone service and the its url is 
> > > http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, 
> > > and solr can be accessed from laptops/desktops.  But when I tried to 
> > > access the solr from some servers, I got the error of SolrCore 
> > > Initialization Failures.  The left nav on the page is shown but indicates 
> > > that the solr is set up as SolrCloud, which is not.
> >
> > On the dashboard when you see the Cloud tab, can you share *ALL* of
> > what's under JVM in the Args section?
> >
> > Thanks,
> > Shawn
> >


RE: weird error for accessing solr

2018-09-19 Thread Gu, Steve (CDC/OD/OADS) (CTR)
A little update.

For the client machine where solr admin page behaves differently, it turns out 
that the requests on the page like */admin/* were never served.  I think it is 
related to the server setting that might prevent these urls with "/admin/" from 
being sent.

In essence, it is not a solr issue.

Thanks a lot
Steve

-Original Message-
From: Erick Erickson  
Sent: Tuesday, September 18, 2018 4:18 PM
To: solr-user 
Subject: Re: weird error for accessing solr

bq. can you share *ALL* of...

from both machines!
On Tue, Sep 18, 2018 at 12:40 PM Shawn Heisey  wrote:
>
> On 9/18/2018 12:23 PM, Gu, Steve (CDC/OD/OADS) (CTR) wrote:
> > I have set up my solr as a standalone service and the its url is 
> > http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, and 
> > solr can be accessed from laptops/desktops.  But when I tried to access the 
> > solr from some servers, I got the error of SolrCore Initialization 
> > Failures.  The left nav on the page is shown but indicates that the solr is 
> > set up as SolrCloud, which is not.
>
> On the dashboard when you see the Cloud tab, can you share *ALL* of 
> what's under JVM in the Args section?
>
> Thanks,
> Shawn
>


Re: weird error for accessing solr

2018-09-18 Thread Erick Erickson
bq. can you share *ALL* of...

from both machines!
On Tue, Sep 18, 2018 at 12:40 PM Shawn Heisey  wrote:
>
> On 9/18/2018 12:23 PM, Gu, Steve (CDC/OD/OADS) (CTR) wrote:
> > I have set up my solr as a standalone service and the its url is 
> > http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, and 
> > solr can be accessed from laptops/desktops.  But when I tried to access the 
> > solr from some servers, I got the error of SolrCore Initialization 
> > Failures.  The left nav on the page is shown but indicates that the solr is 
> > set up as SolrCloud, which is not.
>
> On the dashboard when you see the Cloud tab, can you share *ALL* of
> what's under JVM in the Args section?
>
> Thanks,
> Shawn
>


Re: weird error for accessing solr

2018-09-18 Thread Shawn Heisey

On 9/18/2018 12:23 PM, Gu, Steve (CDC/OD/OADS) (CTR) wrote:

I have set up my solr as a standalone service and the its url is 
http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, and 
solr can be accessed from laptops/desktops.  But when I tried to access the 
solr from some servers, I got the error of SolrCore Initialization Failures.  
The left nav on the page is shown but indicates that the solr is set up as 
SolrCloud, which is not.


On the dashboard when you see the Cloud tab, can you share *ALL* of 
what's under JVM in the Args section?


Thanks,
Shawn



RE: weird error for accessing solr

2018-09-18 Thread Gu, Steve (CDC/OD/OADS) (CTR)
Alex,

I tried to curl http://solr.server:8983/solr/ and got different results from 
different machines.  I also did shift-reload which gave me the same result.  So 
it does not seem to be a browser cache issue.

I also shut down solr and tried to access it.  It gave connection failure error 
for both client machines.  So it is not the case they are connecting to 
different instances.

A bit more information, for the machine that see solr correctly, it is a 
laptop/desktop for developers.  The other machine which solr admin page showed 
solrcloud with core initialization error, is a dev/qa server. 

Any help will be greatly appreciated.

Steve

-Original Message-
From: Alexandre Rafalovitch  
Sent: Tuesday, September 18, 2018 2:45 PM
To: solr-user 
Subject: Re: weird error for accessing solr

Then you are either seeing different instances or your browser is hard-caching 
the Admin pages. Trying shift-reload or anonymous mode to get a full-refresh of 
HTML/Javascript. Or even a command line request.

Regards,
   Alex.

On 18 September 2018 at 14:43, Gu, Steve (CDC/OD/OADS) (CTR)  
wrote:
> No the solr was not restarted as SolrCloud.  We see solr from one computer 
> and all cores are available for query, but from another computer, it shows 
> the admin page as solrcloud with errors on the page.  All the links on the 
> left nav  do not work either.
>
>
>
> -Original Message-
> From: Alexandre Rafalovitch 
> Sent: Tuesday, September 18, 2018 2:39 PM
> To: solr-user 
> Subject: Re: weird error for accessing solr
>
> Sounds like your Solr was restarted as a SolrCloud, maybe by an automated 
> script or an init service?
>
> If you created a core in a standalone mode and then restart the same 
> configuration in a SolrCloud mode, it would know that you have those 
> collections/cores, but will not be able to find any configuration files 
> (because it will expect them in ZooKeeper, not on disk). So, that would 
> explain the error.
>
> I would focus on the restart point, maybe check the logs (in
> server/logs) and see if there are hints there.
>
> Regards,
>Alex.
> P.s. Unless you are able to see the SolrCloud from one computer and Solr from 
> another at the same time/back-and-forth. That would indicate some sort of 
> proxy/routing and then I would look at the Overview page system variables to 
> confirm the directories/options. But that's kind of a distant second 
> possibility.
>
>
> On 18 September 2018 at 14:23, Gu, Steve (CDC/OD/OADS) (CTR)  
> wrote:
>> I have set up my solr as a standalone service and the its url is 
>> http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, and 
>> solr can be accessed from laptops/desktops.  But when I tried to access the 
>> solr from some servers, I got the error of SolrCore Initialization Failures. 
>>  The left nav on the page is shown but indicates that the solr is set up as 
>> SolrCloud, which is not.
>>
>> I am really confused about this and have no idea how to tackle this problem. 
>>  Has anyone ever had a similar issue?  Or any idea why this is happening?
>>
>> Thanks
>> Steve
>>


Re: weird error for accessing solr

2018-09-18 Thread Alexandre Rafalovitch
Then you are either seeing different instances or your browser is
hard-caching the Admin pages. Trying shift-reload or anonymous mode to
get a full-refresh of HTML/Javascript. Or even a command line request.

Regards,
   Alex.

On 18 September 2018 at 14:43, Gu, Steve (CDC/OD/OADS) (CTR)
 wrote:
> No the solr was not restarted as SolrCloud.  We see solr from one computer 
> and all cores are available for query, but from another computer, it shows 
> the admin page as solrcloud with errors on the page.  All the links on the 
> left nav  do not work either.
>
>
>
> -Original Message-
> From: Alexandre Rafalovitch 
> Sent: Tuesday, September 18, 2018 2:39 PM
> To: solr-user 
> Subject: Re: weird error for accessing solr
>
> Sounds like your Solr was restarted as a SolrCloud, maybe by an automated 
> script or an init service?
>
> If you created a core in a standalone mode and then restart the same 
> configuration in a SolrCloud mode, it would know that you have those 
> collections/cores, but will not be able to find any configuration files 
> (because it will expect them in ZooKeeper, not on disk). So, that would 
> explain the error.
>
> I would focus on the restart point, maybe check the logs (in
> server/logs) and see if there are hints there.
>
> Regards,
>Alex.
> P.s. Unless you are able to see the SolrCloud from one computer and Solr from 
> another at the same time/back-and-forth. That would indicate some sort of 
> proxy/routing and then I would look at the Overview page system variables to 
> confirm the directories/options. But that's kind of a distant second 
> possibility.
>
>
> On 18 September 2018 at 14:23, Gu, Steve (CDC/OD/OADS) (CTR)  
> wrote:
>> I have set up my solr as a standalone service and the its url is 
>> http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, and 
>> solr can be accessed from laptops/desktops.  But when I tried to access the 
>> solr from some servers, I got the error of SolrCore Initialization Failures. 
>>  The left nav on the page is shown but indicates that the solr is set up as 
>> SolrCloud, which is not.
>>
>> I am really confused about this and have no idea how to tackle this problem. 
>>  Has anyone ever had a similar issue?  Or any idea why this is happening?
>>
>> Thanks
>> Steve
>>


RE: weird error for accessing solr

2018-09-18 Thread Gu, Steve (CDC/OD/OADS) (CTR)
No the solr was not restarted as SolrCloud.  We see solr from one computer and 
all cores are available for query, but from another computer, it shows the 
admin page as solrcloud with errors on the page.  All the links on the left nav 
 do not work either.



-Original Message-
From: Alexandre Rafalovitch  
Sent: Tuesday, September 18, 2018 2:39 PM
To: solr-user 
Subject: Re: weird error for accessing solr

Sounds like your Solr was restarted as a SolrCloud, maybe by an automated 
script or an init service?

If you created a core in a standalone mode and then restart the same 
configuration in a SolrCloud mode, it would know that you have those 
collections/cores, but will not be able to find any configuration files 
(because it will expect them in ZooKeeper, not on disk). So, that would explain 
the error.

I would focus on the restart point, maybe check the logs (in
server/logs) and see if there are hints there.

Regards,
   Alex.
P.s. Unless you are able to see the SolrCloud from one computer and Solr from 
another at the same time/back-and-forth. That would indicate some sort of 
proxy/routing and then I would look at the Overview page system variables to 
confirm the directories/options. But that's kind of a distant second 
possibility.


On 18 September 2018 at 14:23, Gu, Steve (CDC/OD/OADS) (CTR)  
wrote:
> I have set up my solr as a standalone service and the its url is 
> http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, and 
> solr can be accessed from laptops/desktops.  But when I tried to access the 
> solr from some servers, I got the error of SolrCore Initialization Failures.  
> The left nav on the page is shown but indicates that the solr is set up as 
> SolrCloud, which is not.
>
> I am really confused about this and have no idea how to tackle this problem.  
> Has anyone ever had a similar issue?  Or any idea why this is happening?
>
> Thanks
> Steve
>


Re: weird error for accessing solr

2018-09-18 Thread Alexandre Rafalovitch
Sounds like your Solr was restarted as a SolrCloud, maybe by an
automated script or an init service?

If you created a core in a standalone mode and then restart the same
configuration in a SolrCloud mode, it would know that you have those
collections/cores, but will not be able to find any configuration
files (because it will expect them in ZooKeeper, not on disk). So,
that would explain the error.

I would focus on the restart point, maybe check the logs (in
server/logs) and see if there are hints there.

Regards,
   Alex.
P.s. Unless you are able to see the SolrCloud from one computer and
Solr from another at the same time/back-and-forth. That would indicate
some sort of proxy/routing and then I would look at the Overview page
system variables to confirm the directories/options. But that's kind
of a distant second possibility.


On 18 September 2018 at 14:23, Gu, Steve (CDC/OD/OADS) (CTR)
 wrote:
> I have set up my solr as a standalone service and the its url is 
> http://solr.server:8983/solr.  I opened 8983 on  solr.server to anyone, and 
> solr can be accessed from laptops/desktops.  But when I tried to access the 
> solr from some servers, I got the error of SolrCore Initialization Failures.  
> The left nav on the page is shown but indicates that the solr is set up as 
> SolrCloud, which is not.
>
> I am really confused about this and have no idea how to tackle this problem.  
> Has anyone ever had a similar issue?  Or any idea why this is happening?
>
> Thanks
> Steve
>