You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ryan Smith (JIRA)" <ji...@apache.org> on 2008/09/10 22:23:44 UTC

[jira] Created: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get().

The BatchUpdate class provides, put(col, cell) and delete(col) but no get().
----------------------------------------------------------------------------

                 Key: HBASE-882
                 URL: https://issues.apache.org/jira/browse/HBASE-882
             Project: Hadoop HBase
          Issue Type: Improvement
          Components: io
    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
         Environment: n/a
            Reporter: Ryan Smith
            Priority: Minor
             Fix For: 0.18.0, 0.19.0, 0.2.2


BatchUpdate has no read access to the cell data that it holds currently.

It would be nice to add a get() method to compliment the put() method.

I was thinking something like:

public byte[] get(byte[] column);
public byte[] get(String column);

Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.


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


[jira] Resolved: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).

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

Jim Kellerman resolved HBASE-882.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.19.0)

Committed additional changes to trunk.

> The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Assignee: Jim Kellerman
>            Priority: Minor
>             Fix For: 0.18.0
>
>         Attachments: 882-2.patch, 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Updated: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get().

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

Ryan Smith updated HBASE-882:
-----------------------------

    Comment: was deleted

> The BatchUpdate class provides, put(col, cell) and delete(col) but no get().
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0, 0.2.2
>
>         Attachments: 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Resolved: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).

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

stack resolved HBASE-882.
-------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 0.2.2)

Thanks for the patch Ryan.  Committed on trunk.

> The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0
>
>         Attachments: 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Issue Comment Edited: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).

Posted by "Ryan Smith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630056#action_12630056 ] 

osm edited comment on HBASE-882 at 9/10/08 6:18 PM:
-----------------------------------------------------------

Thanks for the previous patch commit.  I realized i needed a few more methods:

# byte[][] columns  = batchUpdate.getColumns()
# boolean hasColumn = batchUpdate.hasColumn("col_family:name")

ps - st^ack - CHANGES.txt has the wrong issue number for this commit,  you have it as 822, should be 882.

Thanks again.




      was (Author: osm):
    Thanks for the previous patch commit.  I realized i needed a few more methods:

# byte[][] columns  = batchUpdate.getColumns()

# boolean hasColumn = batchUpdate.hasColumn("col_family:name")




  
> The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0
>
>         Attachments: 882-2.patch, 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Reopened: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).

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

Jim Kellerman reopened HBASE-882:
---------------------------------

      Assignee: Jim Kellerman

Missing methods.

> The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Assignee: Jim Kellerman
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0
>
>         Attachments: 882-2.patch, 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Updated: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).

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

Ryan Smith updated HBASE-882:
-----------------------------

    Attachment: 882-2.patch

Thanks for the previous patch commit.  I realized i needed a few more methods:

# byte[][] columns  = batchUpdate.getColumns()

# boolean hasColumn = batchUpdate.hasColumn("col_family:name")





> The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0
>
>         Attachments: 882-2.patch, 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Updated: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).

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

Ryan Smith updated HBASE-882:
-----------------------------

    Summary: The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).  (was: The BatchUpdate class provides, put(col, cell) and delete(col) but no get().)

> The BatchUpdate class provides, put(col, cell) and delete(col) but no get(col).
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0, 0.2.2
>
>         Attachments: 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Issue Comment Edited: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get().

Posted by "Ryan Smith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629963#action_12629963 ] 

osm edited comment on HBASE-882 at 9/10/08 2:08 PM:
-----------------------------------------------------------

Here is the patch to support get() in BatchUpdate.  Also added a small check in the TestBatchUpdate test class.

      was (Author: osm):
    Here is the patch to support get() in BatchUpdate.  Also added a small check in the TestBatchUpdate tesst class.
  
> The BatchUpdate class provides, put(col, cell) and delete(col) but no get().
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0, 0.2.2
>
>         Attachments: 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Updated: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get().

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

Ryan Smith updated HBASE-882:
-----------------------------

    Attachment: 882.patch

Here is the patch to support get() in BatchUpdate.  Also added a small check in the TestBatchUpdate tesst class.

> The BatchUpdate class provides, put(col, cell) and delete(col) but no get().
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0, 0.2.2
>
>         Attachments: 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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


[jira] Commented: (HBASE-882) The BatchUpdate class provides, put(col, cell) and delete(col) but no get().

Posted by "Ryan Smith (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629966#action_12629966 ] 

Ryan Smith commented on HBASE-882:
----------------------------------

patch has been attached.

> The BatchUpdate class provides, put(col, cell) and delete(col) but no get().
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-882
>                 URL: https://issues.apache.org/jira/browse/HBASE-882
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 0.2.0, 0.2.1, 0.18.0, 0.19.0, 0.2.2
>         Environment: n/a
>            Reporter: Ryan Smith
>            Priority: Minor
>             Fix For: 0.18.0, 0.19.0, 0.2.2
>
>         Attachments: 882.patch
>
>   Original Estimate: 0.33h
>  Remaining Estimate: 0.33h
>
> BatchUpdate has no read access to the cell data that it holds currently.
> It would be nice to add a get() method to compliment the put() method.
> I was thinking something like:
> public byte[] get(byte[] column);
> public byte[] get(String column);
> Should be fairly easy to patch.  Ill try to get one in here soon.  if not by today, then tomorrow.

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