[jira] [Commented] (ZOOKEEPER-2269) NullPointerException in RemotePeerBean

2015-09-09 Thread Arshad Mohammad (JIRA)

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

Arshad Mohammad commented on ZOOKEEPER-2269:


When client port is not configured in dynamic configuration part(this is valid 
configuration), zookeeper server does not know the client port/address of other 
servers. This situation should be handled gracefully.
We can return empty string. 

> NullPointerException  in RemotePeerBean
> ---
>
> Key: ZOOKEEPER-2269
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2269
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: jmx
>Affects Versions: 3.5.0
>Reporter: Arshad Mohammad
>Assignee: Arshad Mohammad
> Fix For: 3.5.2
>
>
> {code}org.apache.zookeeper.server.quorum.RemotePeerBean.getClientAddress(){code}
>  throws NullPointerException when clientPort is not part of dynamic 
> configuration.



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


[jira] [Commented] (ZOOKEEPER-2269) NullPointerException in RemotePeerBean

2015-09-09 Thread Hadoop QA (JIRA)

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

Hadoop QA commented on ZOOKEEPER-2269:
--

+1 overall.  Here are the results of testing the latest attachment 
  
http://issues.apache.org/jira/secure/attachment/12754898/ZOOKEEPER-2269-01.patch
  against trunk revision 1701505.

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

+1 tests included.  The patch appears to include 2 new or modified tests.

+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 does not introduce any new Findbugs (version 2.0.3) 
warnings.

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

+1 core tests.  The patch passed core unit tests.

+1 contrib tests.  The patch passed contrib unit tests.

Test results: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2865//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2865//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: 
https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2865//console

This message is automatically generated.

> NullPointerException  in RemotePeerBean
> ---
>
> Key: ZOOKEEPER-2269
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2269
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: jmx
>Affects Versions: 3.5.0
>Reporter: Arshad Mohammad
>Assignee: Arshad Mohammad
> Fix For: 3.5.2
>
> Attachments: ZOOKEEPER-2269-01.patch
>
>
> {code}org.apache.zookeeper.server.quorum.RemotePeerBean.getClientAddress(){code}
>  throws NullPointerException when clientPort is not part of dynamic 
> configuration.



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


[jira] [Commented] (ZOOKEEPER-2269) NullPointerException in RemotePeerBean

2015-09-09 Thread Hudson (JIRA)

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

Hudson commented on ZOOKEEPER-2269:
---

SUCCESS: Integrated in ZooKeeper-trunk #2797 (See 
[https://builds.apache.org/job/ZooKeeper-trunk/2797/])
ZOOKEEPER-2269: NullPointerException in RemotePeerBean
(Arshad Mohammad via rgs) (rgs: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1702163)
* /zookeeper/trunk/CHANGES.txt
* 
/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/RemotePeerBean.java
* 
/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/TestRemotePeerBean.java


> NullPointerException  in RemotePeerBean
> ---
>
> Key: ZOOKEEPER-2269
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2269
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: jmx
>Affects Versions: 3.5.0
>Reporter: Arshad Mohammad
>Assignee: Arshad Mohammad
> Fix For: 3.5.2, 3.6.0
>
> Attachments: ZOOKEEPER-2269-01.patch
>
>
> {code}org.apache.zookeeper.server.quorum.RemotePeerBean.getClientAddress(){code}
>  throws NullPointerException when clientPort is not part of dynamic 
> configuration.



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