hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8318) TableOutputFormat.TableRecordWriter should accept Increments
Date Thu, 11 Apr 2013 00:37:15 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13628501#comment-13628501

Nick Dimiduk commented on HBASE-8318:

       else if (value instanceof Delete) this.table.delete(new Delete((Delete)value));
+      else if (value instanceof Increment) this.table.increment(new Increment((Increment)value));
       else throw new IOException("Pass a Delete or a Put");

please update the exception text as well.

I'd ask you to add support to mapred.TableOutputFormat as well, but it appears to have suffered
significant drift from the other namespace.

> TableOutputFormat.TableRecordWriter should accept Increments
> ------------------------------------------------------------
>                 Key: HBASE-8318
>                 URL: https://issues.apache.org/jira/browse/HBASE-8318
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jean-Marc Spaggiari
>            Assignee: Jean-Marc Spaggiari
>         Attachments: HBASE-8318-v0-trunk.patch
> TableOutputFormat.TableRecordWriter can take Puts and Deletes but it should also accept

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message