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

Fix completebulkload usage instructions

    XMLWordPrintableJSON

Details

    • Added completebulkload short name for BulkLoadHFilesTool to bin/hbase.

    Description

      Usage information upon invoking LoadIncrementalHFiles is misleading and error-prone.

      usage: completebulkload /path/to/hfileoutputformat-output tablename -loadTable
      -Dcreate.table=no - can be used to avoid creation of table by this tool
      Note: if you set this to 'no', then the target table must already exist in HBase
      -loadTable implies your baseDirectory to store file has a depth of 3 ,you must have an existing table
      -Dignore.unmatched.families=yes - can be used to ignore unmatched column families

      in case of invoking the class via hbase command, completebulkload argument is unnecessary and only required via hadoop jar invocation. This is also an attempt to clarify where <-loadTable> and <-Dargs> arguments go on the command line.

      Furthermore, since LoadIncrementalHFiles was recently moved out of hbase-server.jar to hbase-mapreduce, updating ref guide to demonstrate as such.

      Attachments

        1. HBASE-21536.branch-2.1.v004.patch
          7 kB
          Peter Somogyi
        2. HBASE-21536.branch-2.1.v004.patch
          7 kB
          Artem Ervits
        3. HBASE-21536.v01.patch
          3 kB
          Artem Ervits
        4. HBASE-21536.v02.patch
          7 kB
          Artem Ervits

        Issue Links

          Activity

            People

              dbist13 Artem Ervits
              dbist13 Artem Ervits
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: