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

split hostname format should be consistent with tasktracker for locality

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.20.4
    • None
    • mapreduce
    • None

    Description

      I was running a mapreduce job (via Hive) against HBase, and noticed that I wasn't getting any locality (the input split location and the task tracker machine in the job tracker UI were always different, and "Rack-local map tasks" in the job counters was 0).

      I tracked this down to a discrepancy in the way hostnames were being compared.

      The task tracker detail had a Host like

      /f/s/1.2.3.4/h.s.f.com.

      (with trailing dot)

      But the Input Split Location had

      /f/s/1.2.3.4/h.s.f.com

      (without trailing dot)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jvs John Sichi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: