Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3672

Pig should not check for hardcoded file system implementations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10.0, 0.12.0, 0.11.1
    • 0.13.0
    • data, parser
    • None
    • Reviewed

    Description

      QueryParserUtils.java has the code -
      result.add("hdfs://"thisHost":"+uri.getPort());

      I propose to make it generic like -
      result.add(uri.getScheme() + "://"thisHost":"+uri.getPort());

      Similarly jobControlCompiler.java has -
      if (!outputPathString.contains("://") || outputPathString.startsWith("hdfs://")) {

      I have a patch version which I ran passing unit tests on. Will be uploading it shortly.

      Attachments

        1. PIG-3672-3.patch
          45 kB
          Rohini Palaniswamy
        2. PIG-3672-2.patch
          2 kB
          Suhas Satish
        3. PIG-3672-1.patch
          4 kB
          Suhas Satish
        4. PIG-3672.patch
          6 kB
          Suhas Satish

        Issue Links

          Activity

            People

              rohini Rohini Palaniswamy
              suhassatish Suhas Satish
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: