Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8261

Har file system doesn't deal with FS URIs with a host but no port

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-alpha
    • fs
    • None

    Description

      If you try to run an MR job with a Hadoop Archive as the input, but the URI you give it has no port specified (e.g. "hdfs://simon") the job will fail with an error like the following:

      java.io.IOException: Incomplete HDFS URI, no host: hdfs://simon:-1/user/atm/input.har/input
      

      Attachments

        1. HADOOP-8261.patch
          4 kB
          Aaron Myers
        2. HADOOP-8261.patch
          0.9 kB
          Aaron Myers
        3. HADOOP-8261-with-test-in-HDFS.patch
          4 kB
          Aaron Myers

        Activity

          People

            atm Aaron Myers
            atm Aaron Myers
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: