pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johnny Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-3137) fix Piggybank test to not using /tmp dir
Date Fri, 01 Feb 2013 22:00:14 GMT

     [ https://issues.apache.org/jira/browse/PIG-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Johnny Zhang updated PIG-3137:

    Status: Patch Available  (was: Open)

[~cheolsoo], thanks for your comments, new patch just posted
1. change contrib/piggybank/java/build.xml to create log in user.dir instead of /tmp
2. not using FileLocalizer but using contrib/piggybank/java/build/test/ to store hsqldb in
3. use pig.temp.dir to update PigContext's temp dir to contrib/piggybank/java/build/test/tmp/
 before using FileLocalizer in TestAvroStorage
> fix Piggybank test to not using /tmp dir
> ----------------------------------------
>                 Key: PIG-3137
>                 URL: https://issues.apache.org/jira/browse/PIG-3137
>             Project: Pig
>          Issue Type: Bug
>          Components: piggybank
>    Affects Versions: 0.11
>            Reporter: Johnny Zhang
>            Assignee: Johnny Zhang
>             Fix For: 0.12
>         Attachments: PIG-3137.nows.patch.txt, PIG-3137.patch.txt, PIG-3137.patch.txt
> right now several Piggybank tests create directory under /tmp to store test data, the
test could fail because user doesn't have permission to create directory under /tmp. It is
better to move test data dir under build dir to avoid this problem.
> I will submit a patch soon.

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

View raw message