[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira Ajisaka updated HDFS-11736: - Resolution: Fixed Fix Version/s: 2.8.2 2.9.0 Status: Resolved (was: Patch Available) > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Fix For: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.2 > > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.001.patch, > HDFS-11736-branch-2.7.001.patch, HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Status: Patch Available (was: Reopened) > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Fix For: 2.7.4, 3.0.0-alpha4 > > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.001.patch, > HDFS-11736-branch-2.7.001.patch, HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: (was: HDFS-11736-branch-2.001.patch) > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Fix For: 2.7.4, 3.0.0-alpha4 > > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.001.patch, > HDFS-11736-branch-2.7.001.patch, HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: HDFS-11736-branch-2.001.patch > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Fix For: 2.7.4, 3.0.0-alpha4 > > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.001.patch, > HDFS-11736-branch-2.7.001.patch, HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: HDFS-11736-branch-2.001.patch Thanks [~jlowe] for reporting tthis. Attach the patch for branch-2/2.8. > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Fix For: 2.7.4, 3.0.0-alpha4 > > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.001.patch, > HDFS-11736-branch-2.7.001.patch, HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira Ajisaka updated HDFS-11736: - Fix Version/s: (was: 2.8.2) (was: 2.9.0) > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Fix For: 2.7.4, 3.0.0-alpha4 > > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.7.001.patch, > HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Akira Ajisaka updated HDFS-11736: - Resolution: Fixed Hadoop Flags: Reviewed Fix Version/s: 2.8.2 3.0.0-alpha4 2.7.4 2.9.0 Status: Resolved (was: Patch Available) Committed this to trunk, branch-2, branch-2.8, and branch-2.7. > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Fix For: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.2 > > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.7.001.patch, > HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: HDFS-11736.003.patch > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.7.001.patch, > HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: (was: HDFS-11736.003.patch) > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.7.001.patch, > HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: HDFS-11736-branch-2.7.002.patch HDFS-11736.003.patch Thanks [~ajisakaa], attach the new patch to fix checkstyle warnings. . > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736.003.patch, HDFS-11736-branch-2.7.001.patch, > HDFS-11736-branch-2.7.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: HDFS-11736-branch-2.7.001.patch Attach the patch for branch-2.7. > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch, > HDFS-11736-branch-2.7.001.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: HDFS-11736.002.patch Thanks [~ajisakaa] for your review. I found one failure test {{TestStandbyCheckpoints}} is related. The root cause of this is that the OivImgDir doesn't be deleted after each test methods. Attach the new patch to address this. Found one difference in branch-2.7, the method {{GenericTestUtils#getTempDir}} doesn't exist. And there are only two places using {{Files.createTempDir()}}. Will attach the patch for branch-2.7 soon. > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch, HDFS-11736.002.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Target Version/s: 2.9.0, 2.7.4, 3.0.0-alpha4, 2.8.2 (was: 2.7.4) Update target versions since this problem also exists in other branches and should be fixed as well. > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Status: Patch Available (was: Open) > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org
[jira] [Updated] (HDFS-11736) OIV tests should not write outside 'target' directory.
[ https://issues.apache.org/jira/browse/HDFS-11736?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yiqun Lin updated HDFS-11736: - Attachment: HDFS-11736.001.patch > OIV tests should not write outside 'target' directory. > -- > > Key: HDFS-11736 > URL: https://issues.apache.org/jira/browse/HDFS-11736 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 2.6.0 >Reporter: Konstantin Shvachko >Assignee: Yiqun Lin > Labels: newbie++, test > Attachments: HDFS-11736.001.patch > > > A few tests use {{Files.createTempDir()}} from Guava package, but do not set > {{java.io.tmpdir}} system property. Thus the temp directory is created in > unpredictable places and is not being cleaned up by {{mvn clean}}. > This was probably introduced in {{TestOfflineImageViewer}} and then > replicated in {{TestCheckpoint}}, {{TestStandbyCheckpoints}}. -- This message was sent by Atlassian JIRA (v6.3.15#6346) - To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org