You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Yishan Yang (JIRA)" <ji...@apache.org> on 2016/07/15 22:35:20 UTC

[jira] [Created] (PIG-4949) Fix registering jar in S3 which was broken by PIG-4417 in Pig 0.16

Yishan Yang created PIG-4949:
--------------------------------

             Summary: Fix registering jar in S3 which was broken by PIG-4417 in Pig 0.16
                 Key: PIG-4949
                 URL: https://issues.apache.org/jira/browse/PIG-4949
             Project: Pig
          Issue Type: Bug
          Components: parser
    Affects Versions: 0.16.0
            Reporter: Yishan Yang
             Fix For: 0.17.0, 0.16.1


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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)