[
https://issues.apache.org/jira/browse/PIG-3815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13939354#comment-13939354
]
Cheolsoo Park commented on PIG-3815:
------------------------------------
# Can you delete this? It's unused.
{code}
+import org.codehaus.plexus.util.IOUtil;
{code}
# Do you mind fixing JobControlCompiler.java#L1700 too? Looks like we can use
IOUtils.closeQuietly() here too.
{code}
OutputStream os = fs.create(dst);
try {
IOUtils.copyBytes(url.openStream(), os, 4096, true);
} finally {
// IOUtils can not close both the input and the output properly in
a finally
// as we can get an exception in between opening the stream and
calling the method
os.close();
}
{code}
> Hadoop bug causes to pig to fail silently with jar cache
> --------------------------------------------------------
>
> Key: PIG-3815
> URL: https://issues.apache.org/jira/browse/PIG-3815
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Aniket Mokashi
> Assignee: Aniket Mokashi
> Fix For: 0.13.0
>
> Attachments: PIG-3815.patch
>
>
> Pig uses DistributedCache.addFileToClassPath api that puts jars on
> distributed cache configuration. This uses : to separate list of files to be
> put of classpath via distributed cache. If fs.default.name has port number in
> it, it causes the tokenization logic to fail in hadoop for retrieving list of
> cache filenames in backend.
--
This message was sent by Atlassian JIRA
(v6.2#6252)