Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-730

Run MR tests using local job tracker

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0
    • test
    • None

    Description

      This can be done by setting the following properties, then calling ToolRunner.run.
      conf.set("mapred.job.tracker", "local");
      conf.set("fs.default.name", "file:///");

      If it doesn't take too much longer to run this way in a junit test, it would be preferable to the manual context creation that is currently being done.

      Attachments

        Activity

          People

            billie Billie Rinaldi
            billie Billie Rinaldi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: