You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Matteo Bertozzi (Created) (JIRA)" <ji...@apache.org> on 2012/03/24 06:59:22 UTC

[jira] [Created] (HBASE-5633) NPE reading ZK config in HBase

NPE reading ZK config in HBase
------------------------------

                 Key: HBASE-5633
                 URL: https://issues.apache.org/jira/browse/HBASE-5633
             Project: HBase
          Issue Type: Bug
          Components: zookeeper
            Reporter: Matteo Bertozzi
            Assignee: Matteo Bertozzi
            Priority: Minor


If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().

The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
{code}
<property>
  <name>hbase.cluster.distributed</name>
  <value></value>
</property>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Lars Hofhansl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lars Hofhansl updated HBASE-5633:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Let's move the 0.90 and 0.92 into a sub-task, so that this issue can be kept closed.
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Matteo Bertozzi (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Bertozzi updated HBASE-5633:
-----------------------------------

    Attachment: HBASE-5633-0.92.patch
                HBASE-5633-0.90.patch

I've attached two patches to backport on 0.90 and 0.92
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Matteo Bertozzi (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Bertozzi updated HBASE-5633:
-----------------------------------

    Attachment: HBASE-5633-v1.patch

Added a default value (HConstants.DEFAULT_CLUSTER_DISTRIBUTED) for the cluster.distributed property to config.get(HConstants.CLUSTER_DISTRIBUTED) in parseZooCfg().

We get a Null if the property doesn't exists, and the result of conf.get() is compared directly without checking for Null.
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>         Attachments: HBASE-5633-v1.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Matteo Bertozzi (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Bertozzi updated HBASE-5633:
-----------------------------------

    Status: Patch Available  (was: Reopened)
    
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237465#comment-13237465 ] 

Hadoop QA commented on HBASE-5633:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519785/HBASE-5633-v1.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    -1 findbugs.  The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

     -1 core tests.  The patch failed these unit tests:
                       org.apache.hadoop.hbase.io.hfile.TestForceCacheImportantBlocks
                  org.apache.hadoop.hbase.mapreduce.TestImportTsv
                  org.apache.hadoop.hbase.mapred.TestTableMapReduce
                  org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat

Test results: https://builds.apache.org/job/PreCommit-HBASE-Build/1297//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-HBASE-Build/1297//artifact/trunk/patchprocess/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1297//console

This message is automatically generated.
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>         Attachments: HBASE-5633-v1.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241606#comment-13241606 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-0.94 #66 (See [https://builds.apache.org/job/HBase-0.94/66/])
    HBASE-5638 Readability improvements on HBASE-5633: NPE reading ZK config in HBase (Matteo Bertozzi) (Revision 1307086)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242471#comment-13242471 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-TRUNK #2698 (See [https://builds.apache.org/job/HBase-TRUNK/2698/])
    HBASE-5638 Readability improvements on HBASE-5633: NPE reading ZK config in HBase (Matteo Bertozzi) (Revision 1307085)

     Result = FAILURE
jmhsieh : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241923#comment-13241923 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-0.92 #343 (See [https://builds.apache.org/job/HBase-0.92/343/])
    HBASE-5638 Readability improvements and backport HBASE-5633: NPE reading ZK config in HBase (Matteo Bertozzi) (Revision 1307087)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "stack (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-5633:
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.94.0
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed 0.94 branch and trunk
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238041#comment-13238041 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-TRUNK #2695 (See [https://builds.apache.org/job/HBase-TRUNK/2695/])
    HBASE-5633 NPE reading ZK config in HBase (Revision 1304924)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242445#comment-13242445 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-0.94-security #6 (See [https://builds.apache.org/job/HBase-0.94-security/6/])
    HBASE-5638 Readability improvements on HBASE-5633: NPE reading ZK config in HBase (Matteo Bertozzi) (Revision 1307086)

     Result = SUCCESS
jmhsieh : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13246953#comment-13246953 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-0.92-security #104 (See [https://builds.apache.org/job/HBase-0.92-security/104/])
    HBASE-5638 Readability improvements and backport HBASE-5633: NPE reading ZK config in HBase (Matteo Bertozzi) (Revision 1307087)

     Result = FAILURE
jmhsieh : 
Files : 
* /hbase/branches/0.92/CHANGES.txt
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
* /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Matteo Bertozzi (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Bertozzi updated HBASE-5633:
-----------------------------------

    Status: Patch Available  (was: Open)
    
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>         Attachments: HBASE-5633-v1.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Jonathan Hsieh (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Hsieh updated HBASE-5633:
----------------------------------

    Assignee: Matteo Bertozzi
    
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13242060#comment-13242060 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-TRUNK-security #154 (See [https://builds.apache.org/job/HBase-TRUNK-security/154/])
    HBASE-5638 Readability improvements on HBASE-5633: NPE reading ZK config in HBase (Matteo Bertozzi) (Revision 1307085)

     Result = FAILURE
jmhsieh : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/LocalHBaseCluster.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237687#comment-13237687 ] 

stack commented on HBASE-5633:
------------------------------

Thanks for the patch Matteo
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HBASE-5633) NPE reading ZK config in HBase

Posted by "stack (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-5633:
-------------------------

    Attachment: HBASE-5633-v2.patch

What I'm committing... wraps a very long line else what Matteo suppied.
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>         Attachments: HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Reopened] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Matteo Bertozzi (Reopened) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matteo Bertozzi reopened HBASE-5633:
------------------------------------

      Assignee:     (was: Matteo Bertozzi)
    
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237957#comment-13237957 ] 

Hadoop QA commented on HBASE-5633:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519868/HBASE-5633-0.92.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1300//console

This message is automatically generated.
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-0.90.patch, HBASE-5633-0.92.patch, HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237701#comment-13237701 ] 

Hudson commented on HBASE-5633:
-------------------------------

Integrated in HBase-0.94 #53 (See [https://builds.apache.org/job/HBase-0.94/53/])
    HBASE-5633 NPE reading ZK config in HBase (Revision 1304925)

     Result = SUCCESS
stack : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKConfig.java

                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (HBASE-5633) NPE reading ZK config in HBase

Posted by "Lars Hofhansl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237688#comment-13237688 ] 

Lars Hofhansl commented on HBASE-5633:
--------------------------------------

+1
                
> NPE reading ZK config in HBase
> ------------------------------
>
>                 Key: HBASE-5633
>                 URL: https://issues.apache.org/jira/browse/HBASE-5633
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>            Priority: Minor
>             Fix For: 0.94.0
>
>         Attachments: HBASE-5633-v1.patch, HBASE-5633-v2.patch
>
>
> If zoo.cfg contains server.* ("server.0=server0:2888:3888\n") and cluster.distributed property (in hbase-site.xml) is empty we get an NPE in parseZooCfg().
> The easy way to reproduce the bug is running org.apache.hbase.zookeeper.TestHQuorumPeer with hbase-site.xml containing:
> {code}
> <property>
>   <name>hbase.cluster.distributed</name>
>   <value></value>
> </property>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira