You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2013/07/10 06:37:48 UTC

[jira] [Commented] (HBASE-5339) Add support for compound keys to importtsv

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

Anoop Sam John commented on HBASE-5339:
---------------------------------------

This will be a good support in ImportTSV tool..  +1 on the idea. Some one working on this?
                
> Add support for compound keys to importtsv
> ------------------------------------------
>
>                 Key: HBASE-5339
>                 URL: https://issues.apache.org/jira/browse/HBASE-5339
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce
>            Reporter: Lars George
>            Priority: Trivial
>
> Add support that you can combine some columns from the TSV with either a given separator, no separator, or with a custom row key generator class. Syntax could be:
> {code}
> -Dimporttsv.columns=HBASE_ROW_KEY_1,HBASE_ROW_KEY_2,cf1:col1,cf2:col3,HBASE_ROW_KEY_3
> -Dimporttsv.rowkey.separator="-"
> {code}
> Another option of course is using the custom mapper class and handle this there, but this also seems like a nice to have option, probably often covering the 80% this sort of thing is needed.

--
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