[ https://issues.apache.org/jira/browse/PIG-4949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Dai resolved PIG-4949. ----------------------------- Resolution: Fixed Assignee: Yishan Yang Hadoop Flags: Reviewed +1. Patch committed to both trunk and 0.16 branch. Thanks Yishan! > 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 > Assignee: Yishan Yang > Labels: patch > Fix For: 0.17.0, 0.16.1 > > Attachments: PIG-4949.patch > > > 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)