hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-1210) Allow truncation of output for scan and get commands in shell
Date Thu, 26 Feb 2009 17:57:01 GMT

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

stack resolved HBASE-1210.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0

Applied.  Thanks for the patch Lars.

> Allow truncation of output for scan and get commands in shell
> -------------------------------------------------------------
>
>                 Key: HBASE-1210
>                 URL: https://issues.apache.org/jira/browse/HBASE-1210
>             Project: Hadoop HBase
>          Issue Type: Improvement
>            Reporter: Lars George
>            Assignee: Lars George
>            Priority: Trivial
>             Fix For: 0.20.0
>
>         Attachments: 1210.patch
>
>
> Allow to chop the output of the values to be able to scan a table for specific rows and
columns but without having the shell dump all the content of the cell value as it can potentially
be very large. I suggest a hash called MAXLENGTH that can be added to the commands. For example:
> get 'docs', 'ABCDE', { COLUMNS => 'contents:', MAXLENGTH => 150 }
> and 
> scan 'docs', { COLUMNS => 'contents:', MAXLENGTH => 150 }

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


Mime
View raw message