Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-25446

public static method MultiTableHFileOutputFormat.configureIncrementalLoad actually cannot be invoked outside hbase package

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: mapreduce
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yulizhou Zhou Yuliang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: