You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Bryan Duxbury (JIRA)" <ji...@apache.org> on 2007/12/07 22:02:43 UTC

[jira] Created: (HADOOP-2380) [hbase] REST servlet throws NPE when any value node has an empty string

[hbase] REST servlet throws NPE when any value node has an empty string
-----------------------------------------------------------------------

                 Key: HADOOP-2380
                 URL: https://issues.apache.org/jira/browse/HADOOP-2380
             Project: Hadoop
          Issue Type: Bug
          Components: contrib/hbase
            Reporter: Bryan Duxbury
            Priority: Minor


If you PUT/POST an XML entity body that has an empty string as the value (<value></value>), the servlet will fail to decode it properly.

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


[jira] Assigned: (HADOOP-2380) [hbase] REST servlet throws NPE when any value node has an empty string

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

Bryan Duxbury reassigned HADOOP-2380:
-------------------------------------

    Assignee: Bryan Duxbury

> [hbase] REST servlet throws NPE when any value node has an empty string
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-2380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2380
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Minor
>
> If you PUT/POST an XML entity body that has an empty string as the value (<value></value>), the servlet will fail to decode it properly.

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


[jira] Updated: (HADOOP-2380) [hbase] REST servlet throws NPE when any value node has an empty string

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

Bryan Duxbury updated HADOOP-2380:
----------------------------------

    Status: Patch Available  (was: Open)

Sending to Hudson.

> [hbase] REST servlet throws NPE when any value node has an empty string
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-2380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2380
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Minor
>         Attachments: rest-12-7.patch
>
>
> If you PUT/POST an XML entity body that has an empty string as the value (<value></value>), the servlet will fail to decode it properly.

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


[jira] Commented: (HADOOP-2380) [hbase] REST servlet throws NPE when any value node has an empty string

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549701 ] 

Hudson commented on HADOOP-2380:
--------------------------------

Integrated in Hadoop-Nightly #326 (See [http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Nightly/326/])

> [hbase] REST servlet throws NPE when any value node has an empty string
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-2380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2380
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Minor
>             Fix For: 0.16.0
>
>         Attachments: rest-12-7.patch
>
>
> If you PUT/POST an XML entity body that has an empty string as the value (<value></value>), the servlet will fail to decode it properly.

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


[jira] Updated: (HADOOP-2380) [hbase] REST servlet throws NPE when any value node has an empty string

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

stack updated HADOOP-2380:
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.16.0
           Status: Resolved  (was: Patch Available)

Committed.  Resolving.  Thanks for the patch Bryan.

> [hbase] REST servlet throws NPE when any value node has an empty string
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-2380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2380
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Minor
>             Fix For: 0.16.0
>
>         Attachments: rest-12-7.patch
>
>
> If you PUT/POST an XML entity body that has an empty string as the value (<value></value>), the servlet will fail to decode it properly.

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


[jira] Commented: (HADOOP-2380) [hbase] REST servlet throws NPE when any value node has an empty string

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-2380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549601 ] 

Hadoop QA commented on HADOOP-2380:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
http://issues.apache.org/jira/secure/attachment/12371264/rest-12-7.patch
against trunk revision r602240.

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

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

    javac +1.  The applied patch does not generate any new compiler warnings.

    findbugs +1.  The patch does not introduce any new Findbugs warnings.

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

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

Test results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1298/testReport/
Findbugs warnings: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1298/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1298/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/1298/console

This message is automatically generated.

> [hbase] REST servlet throws NPE when any value node has an empty string
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-2380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2380
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Minor
>         Attachments: rest-12-7.patch
>
>
> If you PUT/POST an XML entity body that has an empty string as the value (<value></value>), the servlet will fail to decode it properly.

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


[jira] Updated: (HADOOP-2380) [hbase] REST servlet throws NPE when any value node has an empty string

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

Bryan Duxbury updated HADOOP-2380:
----------------------------------

    Attachment: rest-12-7.patch

This patch resolves the problem. If an empty value is passed in, it will be handled appropriately.

> [hbase] REST servlet throws NPE when any value node has an empty string
> -----------------------------------------------------------------------
>
>                 Key: HADOOP-2380
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2380
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>            Reporter: Bryan Duxbury
>            Assignee: Bryan Duxbury
>            Priority: Minor
>         Attachments: rest-12-7.patch
>
>
> If you PUT/POST an XML entity body that has an empty string as the value (<value></value>), the servlet will fail to decode it properly.

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