You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2008/11/04 21:56:44 UTC

[jira] Created: (HBASE-982) Deleting a column in MapReduce fails

Deleting a column in MapReduce fails
------------------------------------

                 Key: HBASE-982
                 URL: https://issues.apache.org/jira/browse/HBASE-982
             Project: Hadoop HBase
          Issue Type: Bug
          Components: mapred
    Affects Versions: 0.19.0
            Reporter: Doğacan Güney
             Fix For: 0.19.0


In latest trunk, deleting a column in BatchUpdate causes exception because BatchUpdate's copy constructor (or whatever they are called in java) directly calls BatchUpdate#put even in delete-s thus causing put to throw IllegalArgumentException("Passed value cannot be null").

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


[jira] Resolved: (HBASE-982) Deleting a column in MapReduce fails

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

stack resolved HBASE-982.
-------------------------

    Resolution: Fixed

Thanks for the patch Doğacan

> Deleting a column in MapReduce fails
> ------------------------------------
>
>                 Key: HBASE-982
>                 URL: https://issues.apache.org/jira/browse/HBASE-982
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.19.0
>            Reporter: Doğacan Güney
>             Fix For: 0.19.0
>
>         Attachments: batchupdate-del.patch, batchupdate-delv2.patch
>
>
> In latest trunk, deleting a column in BatchUpdate causes exception because BatchUpdate's copy constructor (or whatever they are called in java) directly calls BatchUpdate#put even in delete-s thus causing put to throw IllegalArgumentException("Passed value cannot be null").

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


[jira] Assigned: (HBASE-982) Deleting a column in MapReduce fails

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

stack reassigned HBASE-982:
---------------------------

    Assignee: Doğacan Güney

> Deleting a column in MapReduce fails
> ------------------------------------
>
>                 Key: HBASE-982
>                 URL: https://issues.apache.org/jira/browse/HBASE-982
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.19.0
>            Reporter: Doğacan Güney
>            Assignee: Doğacan Güney
>             Fix For: 0.19.0
>
>         Attachments: batchupdate-del.patch, batchupdate-delv2.patch
>
>
> In latest trunk, deleting a column in BatchUpdate causes exception because BatchUpdate's copy constructor (or whatever they are called in java) directly calls BatchUpdate#put even in delete-s thus causing put to throw IllegalArgumentException("Passed value cannot be null").

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


[jira] Updated: (HBASE-982) Deleting a column in MapReduce fails

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doğacan Güney updated HBASE-982:
--------------------------------

    Attachment: batchupdate-del.patch

Patch that calls BatchUpdate#delete if value is null.

> Deleting a column in MapReduce fails
> ------------------------------------
>
>                 Key: HBASE-982
>                 URL: https://issues.apache.org/jira/browse/HBASE-982
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.19.0
>            Reporter: Doğacan Güney
>             Fix For: 0.19.0
>
>         Attachments: batchupdate-del.patch
>
>
> In latest trunk, deleting a column in BatchUpdate causes exception because BatchUpdate's copy constructor (or whatever they are called in java) directly calls BatchUpdate#put even in delete-s thus causing put to throw IllegalArgumentException("Passed value cannot be null").

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


[jira] Updated: (HBASE-982) Deleting a column in MapReduce fails

Posted by "Doğacan Güney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-982?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doğacan Güney updated HBASE-982:
--------------------------------

    Attachment: batchupdate-delv2.patch

Fixing my patch so that it calls bo.getValue only once. (Heh, I got a <10 line patch wrong :D)

> Deleting a column in MapReduce fails
> ------------------------------------
>
>                 Key: HBASE-982
>                 URL: https://issues.apache.org/jira/browse/HBASE-982
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: mapred
>    Affects Versions: 0.19.0
>            Reporter: Doğacan Güney
>             Fix For: 0.19.0
>
>         Attachments: batchupdate-del.patch, batchupdate-delv2.patch
>
>
> In latest trunk, deleting a column in BatchUpdate causes exception because BatchUpdate's copy constructor (or whatever they are called in java) directly calls BatchUpdate#put even in delete-s thus causing put to throw IllegalArgumentException("Passed value cannot be null").

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