hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kay Kay (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-2374) TableInputFormat - Configurable parameter to add column families
Date Thu, 25 Mar 2010 18:40:27 GMT

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

Kay Kay commented on HBASE-2374:

If you leave out a ":" divider then it is internally treated as a column family and addFamily
is called, if it does have a colon divider then it parses out family and column and adds them
together. Please advise

Good catch, Lars. This was not obvious when I was looking at the TIF to set the Configuration
property for the family.  

That being said, can't we just pass a Scan and do whatever we want?

jgray, true. Programmatically - yes, using - TableMapReduceUtil.convertScanToString() , and
setting it to conf should do the job.  I was initially maintaining the list of columns in
hbase-site.xml and given the data locality of reference is w.r.t families anyway, it might
be an useful addition to the TIF api, for easy configuration at .xml files with the alternative
for Scan , available as appropriate, for cases beyond the same. 

> TableInputFormat - Configurable parameter to add column families 
> -----------------------------------------------------------------
>                 Key: HBASE-2374
>                 URL: https://issues.apache.org/jira/browse/HBASE-2374
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: client
>    Affects Versions: 0.20.3
>            Reporter: Kay Kay
>            Priority: Minor
>             Fix For: 0.20.4, 0.21.0
>         Attachments: HBASE-2374.patch
> Currently , TIF supports hbase.mapreduce.scan.columns to add family:qualifiers as a conf
> This adds -  hbase.mapreduce.scan.column.family , as a configurable parameter to add
a family to the scan of TIF. 
> Patch against trunk , but does not break backward compatibility. 

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

View raw message