[ https://issues.apache.org/jira/browse/HIVE-13058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147675#comment-15147675 ]
Hive QA commented on HIVE-13058: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12787855/HIVE-13058.1.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 22 failed/errored test(s), 9789 tests executed *Failed tests:* {noformat} TestSparkCliDriver-timestamp_lazy.q-bucketsortoptimize_insert_4.q-date_udf.q-and-12-more - did not produce a TEST-*.xml file org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_partition_coltype_literals org.apache.hadoop.hive.cli.TestMiniTezCliDriver.org.apache.hadoop.hive.cli.TestMiniTezCliDriver org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_auto_join_filters org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_auto_join_nulls org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_delete_tmp_table org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_empty_join org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_mapreduce1 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_schema_evol_text_mapwork_table org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_temp_table org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_vector_dynpart_hashjoin_2 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_transform1 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_decimal_round_2 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_decimal_udf org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_interval_2 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vector_string_concat org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorization_14 org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_vectorized_distinct_gby org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_uri_import org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore.testSimpleTable org.apache.hadoop.hive.ql.TestTxnCommands2.testInitiatorWithMultipleFailedCompactions 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/6991/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/6991/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-6991/ 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: 22 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12787855 - PreCommit-HIVE-TRUNK-Build > Add session and operation_log directory deletion messages > --------------------------------------------------------- > > Key: HIVE-13058 > URL: https://issues.apache.org/jira/browse/HIVE-13058 > Project: Hive > Issue Type: Improvement > Components: HiveServer2 > Reporter: Shinichi Yamashita > Assignee: Shinichi Yamashita > Priority: Minor > Attachments: HIVE-13058.1.patch > > > In the current master, when connecting to HS2, we can confirm that some > directories were created. For example the following messages of HS2 log. > {code} > 2016-02-14T13:57:52,412 INFO [HiveServer2-Handler-Pool: Thread-607]: > session.SessionState (SessionState.java:createPath(693)) - Created HDFS > directory: /tmp/hive/root/bfe28a51-5804-4cbb-952c-26709aed4652 > 2016-02-14T13:57:52,416 INFO [HiveServer2-Handler-Pool: Thread-607]: > session.SessionState (SessionState.java:createPath(693)) - Created local > directory: /tmp/hive/bfe28a51-5804-4cbb-952c-26709aed4652 > 2016-02-14T13:57:52,419 INFO [HiveServer2-Handler-Pool: Thread-607]: > session.SessionState (SessionState.java:createPath(693)) - Created HDFS > directory: /tmp/hive/root/bfe28a51-5804-4cbb-952c-26709aed4652/_tmp_space.db > 2016-02-14T13:57:52,421 INFO [HiveServer2-Handler-Pool: Thread-607]: > session.HiveSessionImpl (HiveSessionImpl.java:setOperationLogSessionDir(287)) > - Operation log session directory is created: > /tmp/hive/operation_logs/bfe28a51-5804-4cbb-952c-26709aed4652 > {code} > But when closing from HS2, we cannot confirm that these directories were > deleted. So I change it so that some messages about these directories > deletion may be output as follows. > {code} > 2016-02-14T13:57:56,877 INFO > [bfe28a51-5804-4cbb-952c-26709aed4652bfe28a51-5804-4cbb-952c-26709aed4652HiveServer2-Handler-Pool: > Thread-607]: session.HiveSessionImpl > (HiveSessionImpl.java:cleanupSessionLogDir(690)) - Operation log session > directory is deleted: > /tmp/hive/operation_logs/bfe28a51-5804-4cbb-952c-26709aed4652 > 2016-02-14T13:57:56,890 INFO > [bfe28a51-5804-4cbb-952c-26709aed4652bfe28a51-5804-4cbb-952c-26709aed4652HiveServer2-Handler-Pool: > Thread-607]: session.SessionState (SessionState.java:dropSessionPaths(750)) > - Deleted HDFS directory: /tmp/hive/root/bfe28a51-5804-4cbb-952c-26709aed4652 > 2016-02-14T13:57:56,891 INFO > [bfe28a51-5804-4cbb-952c-26709aed4652bfe28a51-5804-4cbb-952c-26709aed4652HiveServer2-Handler-Pool: > Thread-607]: session.SessionState (SessionState.java:dropSessionPaths(754)) > - Deleted local directory: /tmp/hive/bfe28a51-5804-4cbb-952c-26709aed4652 > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)