[
https://issues.apache.org/jira/browse/PIG-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cheolsoo Park updated PIG-3077:
-------------------------------
Status: Open (was: Patch Available)
To get the path without the scheme, you can do:
{code}
FileLocalizer.getTemporaryPath(myPig.getPigContext()).toUri().getPath()
{code}
instead of
{code}
if (TMP_DIR.startsWith("file:/")) {
TMP_DIR = TMP_DIR.substring(5, TMP_DIR.length());
}
{code}
> TestMultiQueryLocal should not write in /tmp
> --------------------------------------------
>
> Key: PIG-3077
> URL: https://issues.apache.org/jira/browse/PIG-3077
> Project: Pig
> Issue Type: Test
> Reporter: Julien Le Dem
> Assignee: Johnny Zhang
> Attachments: PIG-3077.patch.txt
>
>
> temporary files from tests should be under build/test so that they are
> cleaned by "ant clean"
> Currently two test suites running on the same machine step on each other and
> create flaky tests results
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira