[jira] Updated: (ZOOKEEPER-226) exists calls fails on server if node has null data

2008-11-18 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-226:


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

committed to 718799 in trunk 
and 718801 in 3.0 branch.



> exists calls fails on server if node has null data
> --
>
> Key: ZOOKEEPER-226
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-226
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Mahadev konar
>Priority: Blocker
> Fix For: 3.0.1, 3.1.0
>
> Attachments: ZOOKEEPER-226.patch
>
>
> An NPE will be generated on the server (and resulting in client getting 
> MarshallingException) if exists() is called on a node with null data.
> workaround is to create the node with non-null data.
> be sure to update the tests for this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-226) exists calls fails on server if node has null data

2008-11-18 Thread Benjamin Reed (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Reed updated ZOOKEEPER-226:


Hadoop Flags: [Reviewed]

+1 Ready to commit

> exists calls fails on server if node has null data
> --
>
> Key: ZOOKEEPER-226
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-226
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Mahadev konar
>Priority: Blocker
> Fix For: 3.0.1, 3.1.0
>
> Attachments: ZOOKEEPER-226.patch
>
>
> An NPE will be generated on the server (and resulting in client getting 
> MarshallingException) if exists() is called on a node with null data.
> workaround is to create the node with non-null data.
> be sure to update the tests for this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-226) exists calls fails on server if node has null data

2008-11-18 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-226:


Status: Patch Available  (was: Open)

> exists calls fails on server if node has null data
> --
>
> Key: ZOOKEEPER-226
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-226
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Mahadev konar
>Priority: Blocker
> Fix For: 3.0.1, 3.1.0
>
> Attachments: ZOOKEEPER-226.patch
>
>
> An NPE will be generated on the server (and resulting in client getting 
> MarshallingException) if exists() is called on a node with null data.
> workaround is to create the node with non-null data.
> be sure to update the tests for this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (ZOOKEEPER-226) exists calls fails on server if node has null data

2008-11-18 Thread Mahadev konar (JIRA)

 [ 
https://issues.apache.org/jira/browse/ZOOKEEPER-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-226:


Attachment: ZOOKEEPER-226.patch

this patch fixes the issue and also adds a test.

> exists calls fails on server if node has null data
> --
>
> Key: ZOOKEEPER-226
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-226
> Project: Zookeeper
>  Issue Type: Bug
>  Components: server
>Affects Versions: 3.0.0
>Reporter: Patrick Hunt
>Assignee: Mahadev konar
>Priority: Blocker
> Fix For: 3.0.1, 3.1.0
>
> Attachments: ZOOKEEPER-226.patch
>
>
> An NPE will be generated on the server (and resulting in client getting 
> MarshallingException) if exists() is called on a node with null data.
> workaround is to create the node with non-null data.
> be sure to update the tests for this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.