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

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

Seems no alternative and needs a fix. 

> public static method MultiTableHFileOutputFormat.configureIncrementalLoad 
> actually cannot be invoked outside hbase package
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-25446
>                 URL: https://issues.apache.org/jira/browse/HBASE-25446
>             Project: HBase
>          Issue Type: Bug
>          Components: mapreduce
>    Affects Versions: 2.4.0
>            Reporter: Zhou Yuliang
>            Priority: Major
>
> *MultiTableHFileOutputFormat* provides a public static method 
> _configureIncrementalLoad_ to configure reducer for multi table hfile output. 
> See this. 
> [https://github.com/apache/hbase/blob/master/hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/MultiTableHFileOutputFormat.java#L92]
> However the *TableInfo* in the parameter is NOT a public class, which makes 
> it impossible to invoke 
> *MultiTableHFileOutputFormat*._configureIncrementalLoad_ in other project. 
> Is there any alternative for the use case? For now I have to create another 
> class in +org.apache.hadoop.hbase.mapreduce+ package to invoke the 
> *MultiTableHFileOutputFormat*._configureIncrementalLoad._



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to