RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-12-14 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
> SOLR-8326? Or would it be more advisable just to wait for 5.4? I don't know > what may be involved in compiling a new solr.war from the source code. > > Thanks again > > -Original Message- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Tuesday, Novembe

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-30 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
ved in compiling a new solr.war from the source code. Thanks again -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Tuesday, November 24, 2015 1:25 PM To: solr-user <solr-user@lucene.apache.org> Subject: Re: Re:Re: Implementing security.json is brea

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-30 Thread Anshum Gupta
would it be more advisable just to wait for 5.4? I don't know > what may be involved in compiling a new solr.war from the source code. > > Thanks again > > -Original Message- > From: Erick Erickson [mailto:erickerick...@gmail.com] > Sent: Tuesday, November 24, 2015 1:25 PM &g

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Anshum Gupta
> at > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:210) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
un(ExecutorUtil.java:210) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) -----Original Message- From: Anshum Gupta [mailt

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
> at > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor$1.run(ExecutorUtil.java:210) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPool

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-24 Thread Erick Erickson
r 5.4? > > > Thanks again > > -Original Message- > From: Anshum Gupta [mailto:ans...@anshumgupta.net] > Sent: Tuesday, November 24, 2015 12:31 PM > To: solr-user@lucene.apache.org > Subject: Re: Re:Re: Implementing security.json is breaking ADDREPLICA > > Yes, it cer

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-23 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
AaZIF0QAVi1ekCfAJXr1GGfLtRUXhgrF8c="} }, "authorization":{ "class":"solr.RuleBasedAuthorizationPlugin", "permissions":[{"name":"security-edit", "role":"admin"}] "user-role":{"solr":&

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-23 Thread Anshum Gupta
> If I shutdown _both_ nodes and restart _one_, and then allow it to be > "Waiting until we see more replicas up" until it recognizes itself as > leader, and _then_ restart the other node -- in this case it successfully > starts. > > Is there some necessary environment

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-23 Thread Anshum Gupta
> at >> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) >> at java.lang.Thread.run(Thread.java:745) >> >> In this case the string is just "r?", but usually it is a longer string >> of control character

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-20 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
net] Sent: Thursday, November 19, 2015 3:44 PM To: solr-user@lucene.apache.org Subject: Re: Re:Re: Implementing security.json is breaking ADDREPLICA I'll try out what you did later in the day, as soon as I get time but why exactly are you creating cores manually? Seems like you manually create a cor

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-20 Thread Anshum Gupta
"xmpladmin"}, >> { >> "name":"xmpl_sel", >> "collection":"xmpl", >> "path":"/select/*", >> "role":null}, >> { >> "name":"all-admin", >> "collection":null, >> "path":"/*", >> "role":"xmplgen"}, >> { >> "name":"all-core-handlers", >> "path":"/*", >> "role":"xmplgen"}], >> "":{"v":42}}} >> >> -Original Message- >> From: Oakley, Craig (NIH/NLM/NCBI) [C] >> Sent: Thursday, November 19, 2015 1:46 PM >> To: 'solr-user@lucene.apache.org' <solr-user@lucene.apache.org> >> Subject: RE: Re:Re: Implementing security.json is breaking ADDREPLICA >> >> I note that the thread called "Security Problems" (most recent post by >> Nobel Paul) seems like it may help with much of what I'm trying to do. I >> will see to what extent that may help. >> > > > > -- > Anshum Gupta > -- Anshum Gupta

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-20 Thread Anshum Gupta
ht531outofbox/solr-5.3.1/example/solr > ./solr -c -p 4685 -d ~dbman/solr/straight531outofbox/solr-5.3.1/server/ -z > localhost:4545/solr/xmpl3 -s > ~dbman/solr/straight531outofbox/solr-5.3.1/server/solr > curl -u solr:SolrRocks ' > http://nosqltest11:4685/solr/admin/collections?ac

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-20 Thread Anshum Gupta
- 2015-11-20 22:48:41.319; [c:solr8326 s:shard1 r:core_node3 > x:solr8326_shard1_replica1] org.apache.solr.cloud.RecoveryStrategy; Wait > 32.0 seconds before trying to recover again (5) > > > I would not be surprised if this were to be some unrelated issue (the > symptoms are quite

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-20 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
-Original Message- From: Anshum Gupta [mailto:ans...@anshumgupta.net] Sent: Friday, November 20, 2015 1:31 PM To: solr-user@lucene.apache.org Subject: Re: Re:Re: Implementing security.json is breaking ADDREPLICA Collections API were available before November of 2014, if that is when you

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-20 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
ss":"solr.RuleBasedAuthorizationPlugin", "permissions":[{"name":"security-edit", "role":"admin"}] "user-role":{"solr":"admin"}, }} -Original Message- From: Anshum Gupta [mailto:ans...@a

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-19 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
I note that the thread called "Security Problems" (most recent post by Nobel Paul) seems like it may help with much of what I'm trying to do. I will see to what extent that may help.

Re: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-19 Thread Anshum Gupta
"collection":"xmpl", > "path":"/select/*", > "role":null}, > { > "name":"all-admin", > "collection":null, > "path":"/*", > "role":"xmplgen"}, > { > "name":"all-core-handlers", > "path":"/*", > "role":"xmplgen"}], > "":{"v":42}}} > > -Original Message- > From: Oakley, Craig (NIH/NLM/NCBI) [C] > Sent: Thursday, November 19, 2015 1:46 PM > To: 'solr-user@lucene.apache.org' <solr-user@lucene.apache.org> > Subject: RE: Re:Re: Implementing security.json is breaking ADDREPLICA > > I note that the thread called "Security Problems" (most recent post by > Nobel Paul) seems like it may help with much of what I'm trying to do. I > will see to what extent that may help. > -- Anshum Gupta

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-19 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
"role":"xmpladmin"}, { "name":"xmpl_sel", "collection":"xmpl", "path":"/select/*", "role":null}, { "name":"all-admin",

RE: Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-19 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Thank you for the reply. What we are attempting is to require a password for practically everything, so that even were a hacker to get within the firewall, they would have limited access to the various services (the Security team even complained that, for Solr 4.5 servers, attempts to access

Re:Re: Implementing security.json is breaking ADDREPLICA

2015-11-19 Thread 马柏樟
thing with the current UI implementation is >that it bypasses all of this, primarily because most of that content is >static. I am not saying we should be able to put it behind the >authentication layer, but just that it's not currently supported through >this plugin. > &

Implementing security.json is breaking ADDREPLICA

2015-11-18 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Implementing security.json is breaking ADDREPLICA I have been able to reproduce this issue with minimal changes from an out-of-the-box Zookeeper (3.4.6) and Solr (5.3.1): loading configsets/basic_configs/conf into Zookeeper, creating the security.json listed below, creating two nodes (one

Re: Implementing security.json is breaking ADDREPLICA

2015-11-18 Thread Anshum Gupta
that it's not currently supported through this plugin. On Wed, Nov 18, 2015 at 11:20 AM, Oakley, Craig (NIH/NLM/NCBI) [C] < craig.oak...@nih.gov> wrote: > Implementing security.json is breaking ADDREPLICA > > I have been able to reproduce this issue with minimal changes from an &