Grokbase Groups Lucene dev June 2016
FAQ
[ https://issues.apache.org/jira/browse/SOLR-8875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Rowe reopened SOLR-8875:
------------------------------

Reopening to backport to 5.6 and 5.5.2.
ZkStateWriter.writePendingUpdates() can return null clusterState; NPE in Overseer
---------------------------------------------------------------------------------

Key: SOLR-8875
URL: https://issues.apache.org/jira/browse/SOLR-8875
Project: Solr
Issue Type: Bug
Components: SolrCloud
Reporter: David Smiley
Assignee: David Smiley
Fix For: 6.0.1, 6.1

Attachments: SOLR-8875.patch


While trying to get the test in Varun's patch in SOLR-5750 (SolrCloud collection backup & restore) to succeed, I kept hitting an NPE in Overseer in which clusterState was null. I added a bunch of asserts and found where it was happening which I worked around temporarily. See https://github.com/apache/lucene-solr/commit/fd9c4d59e8dbe0e9fbd99a40ed2ff746c1ae7a0c#diff-9ed614eee66b9e685d73446b775dc043R247 which is ZkStateWriter.writePendingUpdates() returning null, overwriting the current non-null clusterState. This happens nearly every time for me when I run that test.


--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org

Search Discussions

  • ASF subversion and git services (JIRA) at Jun 17, 2016 at 8:14 pm
    [ https://issues.apache.org/jira/browse/SOLR-8875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15336840#comment-15336840 ]

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

    Commit 83bd4fc00272b5171613e44adaf523587e752f1a in lucene-solr's branch refs/heads/branch_5_5 from [~dsmiley]
    [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=83bd4fc ]

    SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer.
    (cherry picked from commit 3bbf8aa)

    ZkStateWriter.writePendingUpdates() can return null clusterState; NPE in Overseer
    ---------------------------------------------------------------------------------

    Key: SOLR-8875
    URL: https://issues.apache.org/jira/browse/SOLR-8875
    Project: Solr
    Issue Type: Bug
    Components: SolrCloud
    Reporter: David Smiley
    Assignee: David Smiley
    Fix For: 5.6, 6.0.1, 6.1, 5.5.2

    Attachments: SOLR-8875.patch


    While trying to get the test in Varun's patch in SOLR-5750 (SolrCloud collection backup & restore) to succeed, I kept hitting an NPE in Overseer in which clusterState was null. I added a bunch of asserts and found where it was happening which I worked around temporarily. See https://github.com/apache/lucene-solr/commit/fd9c4d59e8dbe0e9fbd99a40ed2ff746c1ae7a0c#diff-9ed614eee66b9e685d73446b775dc043R247 which is ZkStateWriter.writePendingUpdates() returning null, overwriting the current non-null clusterState. This happens nearly every time for me when I run that test.


    --
    This message was sent by Atlassian JIRA
    (v6.3.4#6332)

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
    For additional commands, e-mail: dev-help@lucene.apache.org
  • Steve Rowe (JIRA) at Jun 17, 2016 at 8:14 pm
    [ https://issues.apache.org/jira/browse/SOLR-8875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Steve Rowe resolved SOLR-8875.
    ------------------------------
            Resolution: Fixed
         Fix Version/s: 5.5.2
                        5.6
    ZkStateWriter.writePendingUpdates() can return null clusterState; NPE in Overseer
    ---------------------------------------------------------------------------------

    Key: SOLR-8875
    URL: https://issues.apache.org/jira/browse/SOLR-8875
    Project: Solr
    Issue Type: Bug
    Components: SolrCloud
    Reporter: David Smiley
    Assignee: David Smiley
    Fix For: 5.6, 5.5.2, 6.1, 6.0.1

    Attachments: SOLR-8875.patch


    While trying to get the test in Varun's patch in SOLR-5750 (SolrCloud collection backup & restore) to succeed, I kept hitting an NPE in Overseer in which clusterState was null. I added a bunch of asserts and found where it was happening which I worked around temporarily. See https://github.com/apache/lucene-solr/commit/fd9c4d59e8dbe0e9fbd99a40ed2ff746c1ae7a0c#diff-9ed614eee66b9e685d73446b775dc043R247 which is ZkStateWriter.writePendingUpdates() returning null, overwriting the current non-null clusterState. This happens nearly every time for me when I run that test.


    --
    This message was sent by Atlassian JIRA
    (v6.3.4#6332)

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
    For additional commands, e-mail: dev-help@lucene.apache.org
  • ASF subversion and git services (JIRA) at Jun 17, 2016 at 8:14 pm
    [ https://issues.apache.org/jira/browse/SOLR-8875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15336841#comment-15336841 ]

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

    Commit 5d5719877683934b7699369fa5468d56910840f4 in lucene-solr's branch refs/heads/branch_5x from [~dsmiley]
    [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5d57198 ]

    SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer.
    (cherry picked from commit 3bbf8aa)

    ZkStateWriter.writePendingUpdates() can return null clusterState; NPE in Overseer
    ---------------------------------------------------------------------------------

    Key: SOLR-8875
    URL: https://issues.apache.org/jira/browse/SOLR-8875
    Project: Solr
    Issue Type: Bug
    Components: SolrCloud
    Reporter: David Smiley
    Assignee: David Smiley
    Fix For: 5.6, 6.0.1, 6.1, 5.5.2

    Attachments: SOLR-8875.patch


    While trying to get the test in Varun's patch in SOLR-5750 (SolrCloud collection backup & restore) to succeed, I kept hitting an NPE in Overseer in which clusterState was null. I added a bunch of asserts and found where it was happening which I worked around temporarily. See https://github.com/apache/lucene-solr/commit/fd9c4d59e8dbe0e9fbd99a40ed2ff746c1ae7a0c#diff-9ed614eee66b9e685d73446b775dc043R247 which is ZkStateWriter.writePendingUpdates() returning null, overwriting the current non-null clusterState. This happens nearly every time for me when I run that test.


    --
    This message was sent by Atlassian JIRA
    (v6.3.4#6332)

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
    For additional commands, e-mail: dev-help@lucene.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
categorieslucene
postedJun 17, '16 at 8:10p
activeJun 17, '16 at 8:14p
posts4
users1
websitelucene.apache.org

People

Translate

site design / logo © 2019 Grokbase