[jira] [Commented] (HIVE-12279) Testcase to verify session temporary files are removed after HIVE-11768
[ https://issues.apache.org/jira/browse/HIVE-12279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15302412#comment-15302412 ] Daniel Dai commented on HIVE-12279: --- Also pushed to branch-2.1. Thanks! > Testcase to verify session temporary files are removed after HIVE-11768 > --- > > Key: HIVE-12279 > URL: https://issues.apache.org/jira/browse/HIVE-12279 > Project: Hive > Issue Type: Test > Components: HiveServer2, Test >Reporter: Daniel Dai >Assignee: Daniel Dai > Fix For: 1.3.0, 2.1.0 > > Attachments: HIVE-12279.1.patch > > > We need to make sure HS2 session temporary files are removed after session > ends. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12279) Testcase to verify session temporary files are removed after HIVE-11768
[ https://issues.apache.org/jira/browse/HIVE-12279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15301690#comment-15301690 ] Jesus Camacho Rodriguez commented on HIVE-12279: [~daijy], could you push to branch-2.1 too? Master is version 2.2.0 now (I updated the fix version accordingly). Thanks > Testcase to verify session temporary files are removed after HIVE-11768 > --- > > Key: HIVE-12279 > URL: https://issues.apache.org/jira/browse/HIVE-12279 > Project: Hive > Issue Type: Test > Components: HiveServer2, Test >Reporter: Daniel Dai >Assignee: Daniel Dai > Fix For: 1.3.0, 2.1.0 > > Attachments: HIVE-12279.1.patch > > > We need to make sure HS2 session temporary files are removed after session > ends. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12279) Testcase to verify session temporary files are removed after HIVE-11768
[ https://issues.apache.org/jira/browse/HIVE-12279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15300656#comment-15300656 ] Thejas M Nair commented on HIVE-12279: -- +1 > Testcase to verify session temporary files are removed after HIVE-11768 > --- > > Key: HIVE-12279 > URL: https://issues.apache.org/jira/browse/HIVE-12279 > Project: Hive > Issue Type: Test > Components: HiveServer2, Test >Reporter: Daniel Dai >Assignee: Daniel Dai > Attachments: HIVE-12279.1.patch > > > We need to make sure HS2 session temporary files are removed after session > ends. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12279) Testcase to verify session temporary files are removed after HIVE-11768
[ https://issues.apache.org/jira/browse/HIVE-12279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14978446#comment-14978446 ] Chinna Rao Lalam commented on HIVE-12279: - Hi [~daijy], Thanks for the patch. Here i have minor suggestion. As part of this test can we verify {{ShutdownHookManager.isRegisteredToDeleteOnExit(file)}} for these files also, as {{org.apache.hive.common.util.TestShutdownHookManager.deleteOnExit()}}. Any thoughts. > Testcase to verify session temporary files are removed after HIVE-11768 > --- > > Key: HIVE-12279 > URL: https://issues.apache.org/jira/browse/HIVE-12279 > Project: Hive > Issue Type: Test > Components: HiveServer2, Test >Reporter: Daniel Dai >Assignee: Daniel Dai > Fix For: 2.0.0 > > Attachments: HIVE-12279.1.patch > > > We need to make sure HS2 session temporary files are removed after session > ends. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12279) Testcase to verify session temporary files are removed after HIVE-11768
[ https://issues.apache.org/jira/browse/HIVE-12279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14978784#comment-14978784 ] Daniel Dai commented on HIVE-12279: --- I thought about it initially. However, ShutdownHookManager.isRegisteredToDeleteOnExit is not exposed. True I can use reflection to do it anyway, but it looks ugly. > Testcase to verify session temporary files are removed after HIVE-11768 > --- > > Key: HIVE-12279 > URL: https://issues.apache.org/jira/browse/HIVE-12279 > Project: Hive > Issue Type: Test > Components: HiveServer2, Test >Reporter: Daniel Dai >Assignee: Daniel Dai > Fix For: 2.0.0 > > Attachments: HIVE-12279.1.patch > > > We need to make sure HS2 session temporary files are removed after session > ends. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HIVE-12279) Testcase to verify session temporary files are removed after HIVE-11768
[ https://issues.apache.org/jira/browse/HIVE-12279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14979336#comment-14979336 ] Hive QA commented on HIVE-12279: Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12769154/HIVE-12279.1.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 9731 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.hwi.TestHWISessionManager.testHiveDriver org.apache.hive.jdbc.TestSSL.testSSLVersion {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5834/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/5834/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-5834/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12769154 - PreCommit-HIVE-TRUNK-Build > Testcase to verify session temporary files are removed after HIVE-11768 > --- > > Key: HIVE-12279 > URL: https://issues.apache.org/jira/browse/HIVE-12279 > Project: Hive > Issue Type: Test > Components: HiveServer2, Test >Reporter: Daniel Dai >Assignee: Daniel Dai > Fix For: 2.0.0 > > Attachments: HIVE-12279.1.patch > > > We need to make sure HS2 session temporary files are removed after session > ends. -- This message was sent by Atlassian JIRA (v6.3.4#6332)