[jira] [Commented] (SOLR-10196) ElectionContext#runLeaderProcess can hit NPE on core close.

2017-02-28 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-10196:


Commit 203147896c275ba286ba667950c280037a34a0d0 in lucene-solr's branch 
refs/heads/branch_6x from markrmiller
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=2031478 ]

SOLR-10196: ElectionContext#runLeaderProcess can hit NPE on core close.


> ElectionContext#runLeaderProcess can hit NPE on core close.
> ---
>
> Key: SOLR-10196
> URL: https://issues.apache.org/jira/browse/SOLR-10196
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Mark Miller
>Assignee: Mark Miller
>Priority: Minor
>
> {noformat}
>[junit4]   2> 191445 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.m.SolrMetricManager Closing metric 
> reporters for: solr.core.solrj_collection2.shard2.replica1
>[junit4]   2> 191445 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection2/core_node3/data
>[junit4]   2> 191476 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection2/core_node3/data/index
>[junit4]   2> 191484 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection2/core_node3/data/snapshot_metadata
>[junit4]   2> 191523 INFO  (coreCloseExecutor-172-thread-6) 
> [n:127.0.0.1:45055_ c:solrj_collection4 s:shard5 r:core_node4 
> x:solrj_collection4_shard5_replica1] o.a.s.m.SolrMetricManager Closing metric 
> reporters for: solr.core.solrj_collection4.shard5.replica1
>[junit4]   2> 191530 INFO  
> (zkCallback-7-thread-9-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_
> ] o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent 
> state:SyncConnected type:NodeDataChanged 
> path:/collections/solrj_collection2/state.json] for collection 
> [solrj_collection2] has occurred - updating... (live nodes size: [1])
>[junit4]   2> 191554 INFO  (coreCloseExecutor-172-thread-6) 
> [n:127.0.0.1:45055_ c:solrj_collection4 s:shard5 r:core_node4 
> x:solrj_collection4_shard5_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection4/core_node4/data/index
>[junit4]   2> 191555 ERROR 
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.c.ShardLeaderElectionContext There 
> was a problem trying to register as the leader:java.lang.NullPointerException
>[junit4]   2>  at 
> org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:426)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector.access$200(LeaderElector.java:56)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector$ElectionWatcher.process(LeaderElector.java:348)
>[junit4]   2>  at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>[junit4]   2>  at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>[junit4]   2>  at 
> java.util.concurrent.FutureTask.run(FutureTask.java:266)
>[junit4]   2>  at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>[junit4]   2>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>[junit4]   2>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>[junit4]   2>  at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: 

[jira] [Commented] (SOLR-10196) ElectionContext#runLeaderProcess can hit NPE on core close.

2017-02-27 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-10196:


Commit 04ba9968c0686a5fa1a9c5d89a7cd92839902f32 in lucene-solr's branch 
refs/heads/master from markrmiller
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=04ba996 ]

SOLR-10196: ElectionContext#runLeaderProcess can hit NPE on core close.


> ElectionContext#runLeaderProcess can hit NPE on core close.
> ---
>
> Key: SOLR-10196
> URL: https://issues.apache.org/jira/browse/SOLR-10196
> Project: Solr
>  Issue Type: Bug
>  Security Level: Public(Default Security Level. Issues are Public) 
>Reporter: Mark Miller
>Assignee: Mark Miller
>Priority: Minor
>
> {noformat}
>[junit4]   2> 191445 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.m.SolrMetricManager Closing metric 
> reporters for: solr.core.solrj_collection2.shard2.replica1
>[junit4]   2> 191445 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection2/core_node3/data
>[junit4]   2> 191476 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection2/core_node3/data/index
>[junit4]   2> 191484 INFO  
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection2/core_node3/data/snapshot_metadata
>[junit4]   2> 191523 INFO  (coreCloseExecutor-172-thread-6) 
> [n:127.0.0.1:45055_ c:solrj_collection4 s:shard5 r:core_node4 
> x:solrj_collection4_shard5_replica1] o.a.s.m.SolrMetricManager Closing metric 
> reporters for: solr.core.solrj_collection4.shard5.replica1
>[junit4]   2> 191530 INFO  
> (zkCallback-7-thread-9-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_
> ] o.a.s.c.c.ZkStateReader A cluster state change: [WatchedEvent 
> state:SyncConnected type:NodeDataChanged 
> path:/collections/solrj_collection2/state.json] for collection 
> [solrj_collection2] has occurred - updating... (live nodes size: [1])
>[junit4]   2> 191554 INFO  (coreCloseExecutor-172-thread-6) 
> [n:127.0.0.1:45055_ c:solrj_collection4 s:shard5 r:core_node4 
> x:solrj_collection4_shard5_replica1] o.a.s.s.h.HdfsDirectory Closing hdfs 
> directory 
> hdfs://localhost:34043/solr_hdfs_home/solrj_collection4/core_node4/data/index
>[junit4]   2> 191555 ERROR 
> (zkCallback-7-thread-7-processing-n:127.0.0.1:45055_) [n:127.0.0.1:45055_ 
> c:solrj_collection2 s:shard2 r:core_node3 
> x:solrj_collection2_shard2_replica1] o.a.s.c.ShardLeaderElectionContext There 
> was a problem trying to register as the leader:java.lang.NullPointerException
>[junit4]   2>  at 
> org.apache.solr.cloud.ShardLeaderElectionContext.runLeaderProcess(ElectionContext.java:426)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector.runIamLeaderProcess(LeaderElector.java:170)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector.checkIfIamLeader(LeaderElector.java:135)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector.access$200(LeaderElector.java:56)
>[junit4]   2>  at 
> org.apache.solr.cloud.LeaderElector$ElectionWatcher.process(LeaderElector.java:348)
>[junit4]   2>  at 
> org.apache.solr.common.cloud.SolrZkClient$3.lambda$process$0(SolrZkClient.java:268)
>[junit4]   2>  at 
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
>[junit4]   2>  at 
> java.util.concurrent.FutureTask.run(FutureTask.java:266)
>[junit4]   2>  at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229)
>[junit4]   2>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>[junit4]   2>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>[junit4]   2>  at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: