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

{quote}
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
{quote}

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

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

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

Reply via email to