[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-06-08 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128026#comment-17128026
 ] 

ASF subversion and git services commented on SOLR-9679:
---

Commit 3e538005ecb4dd20fb05c6da4e20a20e846a2a3f in lucene-solr's branch 
refs/heads/master from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=3e53800 ]

SOLR-9679: Harden BasicAuthOnSingleNodeTest#testDeleteSecurityJsonZnode


> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
> Fix For: 8.6
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-06-08 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17128027#comment-17128027
 ] 

ASF subversion and git services commented on SOLR-9679:
---

Commit 0035a5be76b8b9584a5c43bf8158e2fefb5fb9f2 in lucene-solr's branch 
refs/heads/branch_8x from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0035a5b ]

SOLR-9679: Harden BasicAuthOnSingleNodeTest#testDeleteSecurityJsonZnode

(cherry picked from commit 3e538005ecb4dd20fb05c6da4e20a20e846a2a3f)


> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
> Fix For: 8.6
>
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-06-07 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127799#comment-17127799
 ] 

ASF subversion and git services commented on SOLR-9679:
---

Commit 0ff0c45b981cd723d046420d80753d975b9b1965 in lucene-solr's branch 
refs/heads/branch_8x from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0ff0c45 ]

SOLR-9679: Exception when removing zk node /security.json (#1403)

(cherry picked from commit f404a38fa6d508b9dad78ce7d38e2a9cd6bf2ed1)


> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-06-07 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127797#comment-17127797
 ] 

ASF subversion and git services commented on SOLR-9679:
---

Commit f404a38fa6d508b9dad78ce7d38e2a9cd6bf2ed1 in lucene-solr's branch 
refs/heads/master from Jan Høydahl
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f404a38 ]

SOLR-9679: Exception when removing zk node /security.json (#1403)



> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-06-02 Thread Jira


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123828#comment-17123828
 ] 

Jan Høydahl commented on SOLR-9679:
---

Will commit this soon

> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-05-19 Thread Jira


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110945#comment-17110945
 ] 

Jan Høydahl commented on SOLR-9679:
---

I updated the PR with a unit test. Please review.

> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
>  Time Spent: 20m
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-04-24 Thread Jira


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17091630#comment-17091630
 ] 

Jan Høydahl commented on SOLR-9679:
---

Any further comments? Probably needs a test...

> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Commented] (SOLR-9679) Exception when removing zk node /security.json

2020-04-03 Thread Jira


[ 
https://issues.apache.org/jira/browse/SOLR-9679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17074986#comment-17074986
 ] 

Jan Høydahl commented on SOLR-9679:
---

[~noble.paul] please have a look at [GitHub Pull Request 
#1403|https://github.com/apache/lucene-solr/pull/1403]

It detects {{EventType.NodeDeleted}} , fires the callback with empty json, and 
recreates the watch with an {{exists()}} call.

Have not added unit tests, but tested manually: create - delete - create

> Exception when removing zk node /security.json
> --
>
> Key: SOLR-9679
> URL: https://issues.apache.org/jira/browse/SOLR-9679
> Project: Solr
>  Issue Type: Bug
>  Components: Authentication
>Reporter: Jan Høydahl
>Assignee: Jan Høydahl
>Priority: Major
>  Time Spent: 10m
>  Remaining Estimate: 0h
>
> To reproduce:
> # Upload {{security.json}} to zk
> # {{bin/solr zk rm zk:/security.json -z localhost:9983}}
> {noformat}
> 2016-10-22 22:17:32.264 DEBUG (main-EventThread) [   ] o.a.s.c.c.SolrZkClient 
> Submitting job to respond to event WatchedEvent state:SyncConnected 
> type:NodeDeleted path:/security.json
> 2016-10-22 22:17:32.265 DEBUG 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader Updating [/security.json] ... 
> 2016-10-22 22:17:32.266 ERROR 
> (zkCallback-3-thread-1-processing-n:192.168.0.11:8983_solr) [   ] 
> o.a.s.c.c.ZkStateReader A ZK error has occurred
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = 
> NoNode for /security.json
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:111)
>   at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>   at org.apache.zookeeper.ZooKeeper.getData(ZooKeeper.java:1155)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:356)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$7.execute(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
>   at 
> org.apache.solr.common.cloud.SolrZkClient.getData(SolrZkClient.java:353)
>   at 
> org.apache.solr.common.cloud.ZkStateReader$3.process(ZkStateReader.java:455)
>   at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>   at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>   at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>   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)
> {noformat}
> I'm not sure what should happen, but it would be sweet to be able to disable 
> security by simply removing the znode... [~noble.paul] ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org