You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Zhou Yuliang (Jira)" <ji...@apache.org> on 2020/12/25 09:15:00 UTC

[jira] [Created] (HBASE-25446) public static method MultiTableHFileOutputFormat.configureIncrementalLoad actually cannot be invoked outside hbase package

Zhou Yuliang created HBASE-25446:
------------------------------------

             Summary: 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
            Reporter: Zhou Yuliang


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