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

Make our MR jobs implement Tool and use ToolRunner so can do -D trickery, etc.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None
    • Reviewed
    • Hide
      All MR jobs implement Tool Interface, http://hadoop.apache.org/docs/current/api/org/apache/hadoop/util/Tool.html, so now you can pass properties on command line with the -D flag, etc.
      Show
      All MR jobs implement Tool Interface, http://hadoop.apache.org/docs/current/api/org/apache/hadoop/util/Tool.html, so now you can pass properties on command line with the -D flag, etc.
    • noob

    Description

      Our TIF can take a bunch of config. If our MR jobs – rowcounter, export, import, etc. – all implemented Tool/ToolRunner, then we'd pick up the Tool cmdline parse of -D that sets config. Small change. Lots of utility.

      Attachments

        1. HBASE-3135.patch
          17 kB
          Talat Uyarer

        Activity

          People

            talat Talat Uyarer
            stack Michael Stack
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: