John Gordon created PIG-2995:
--------------------------------
Summary: Refactor unit test temporary file allocation patterns to
use FileLocalizer.getTemporaryPath
Key: PIG-2995
URL: https://issues.apache.org/jira/browse/PIG-2995
Project: Pig
Issue Type: Bug
Components: build
Affects Versions: 0.10.0
Reporter: John Gordon
Priority: Minor
Pig unit tests have a lot of diverse patterns for temporary file allocation.
Not all of them are best practices. There is an abstraction that could house
best practices for test temporary file allocation --
FileLocalizer.getTemporaryPath. With this, we should be able to have all/most
of the temporary file usage fall under just a few methods that can handle
arbitrary pig contexts and provide more flexibility around testing pig with
different fs implementations.
--
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