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

Fix registering jar in S3 which was broken by PIG-4417 in Pig 0.16

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.16.0
    • 0.17.0, 0.16.1
    • parser
    • Patch Available
    • Reviewed
    • Patch

    Description

      From PIG-4417, PIG introduced a uri validation for registering which can only allow hdfs, ivy. For example, "REGISTER s3://template/abc.jar" will fail, because scheme s3 is filtered out. This patch fixes a bug in RegisterResolver.java which introduced by PIG-4417. author of PIG-4417 added one check to detect file system scheme, but it can only accept hdfs, ivy and blocked every else possible valid filesystems, like s3, ftp, etc.

      Attachments

        1. PIG-4949.patch
          5 kB
          Yishan Yang

        Issue Links

          Activity

            People

              yangyishan0901m Yishan Yang
              yangyishan0901m Yishan Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: