[
https://issues.apache.org/jira/browse/PIG-3874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheolsoo Park updated PIG-3874:
-------------------------------
Attachment: PIG-3874-4.patch
[~chitnis], I think you have a mistake in the last patch.
{code}
- private static void verifyStringContained(List<URL> list, String name,
boolean included) {
+ private static void verifyStringContained(Set<URL> list, String name,
boolean included) {
{code}
This changes breaks compilation in the following lines of TestPigServer.java-
{code}
verifyStringContained(pig.getPigContext().extraJars, jarName, false); //
extraJars is List not Set
{code}
I am attaching a new patch that fixes this error and will commit this.
> FileLocalizer temp path can sometimes be non-unique
> ---------------------------------------------------
>
> Key: PIG-3874
> URL: https://issues.apache.org/jira/browse/PIG-3874
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.13.0
> Reporter: Mona Chitnis
> Assignee: Mona Chitnis
> Fix For: 0.13.0
>
> Attachments: PIG-3874-1.patch, PIG-3874-2.patch, PIG-3874-3.patch,
> PIG-3874-4.patch, PIG-3874.patch
>
>
> In some rare corner cases, more than one process can arrive at the same
> randomly generated temporary path to localize task files. This needs to be
> handled with a check to see if location already exists and to get a unique
> path.
--
This message was sent by Atlassian JIRA
(v6.2#6252)