[ https://issues.apache.org/jira/browse/HIVE-20610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624956#comment-16624956 ]
Hive QA commented on HIVE-20610: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12940848/HIVE-20610.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), 14993 tests executed *Failed tests:* {noformat} org.apache.hive.jdbc.TestActivePassiveHA.testActivePassiveHA (batchId=251) org.apache.hive.jdbc.TestActivePassiveHA.testManualFailover (batchId=251) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/13989/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13989/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13989/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.YetusPhase 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: 12940848 - PreCommit-HIVE-Build > TestDbNotificationListener should not use /tmp directory > -------------------------------------------------------- > > Key: HIVE-20610 > URL: https://issues.apache.org/jira/browse/HIVE-20610 > Project: Hive > Issue Type: Bug > Affects Versions: 3.0.0, 4.0.0 > Reporter: Bharathkrishna Guruvayoor Murali > Assignee: Bharathkrishna Guruvayoor Murali > Priority: Major > Attachments: HIVE-20610.1.patch > > > Using /tmp directory creates exceptions for tests like dropTable : > {code:java} > 2018-09-19T06:42:04,818 INFO [main] metastore.HiveMetaStore: 0: drop_table : > tbl=hive.default.droptbl > 2018-09-19T06:42:04,819 INFO [main] HiveMetaStore.audit: ugi=hiveptest > ip=unknown-ip-addr cmd=drop_table : tbl=hive.default.droptbl > 2018-09-19T06:42:05,072 WARN [main] fs.FileUtil: Failed to delete file or > dir [/tmp/.ICE-unix]: it still exists. > 2018-09-19T06:42:05,072 WARN [main] fs.FileUtil: Failed to delete file or > dir [/tmp/.XIM-unix]: it still exists. > 2018-09-19T06:42:05,072 WARN [main] fs.FileUtil: Failed to delete file or > dir [/tmp/.X11-unix]: it still exists. > 2018-09-19T06:42:05,072 WARN [main] fs.FileUtil: Failed to delete file or > dir [/tmp/hsperfdata_root]: it still exists. > 2018-09-19T06:42:05,072 WARN [main] fs.FileUtil: Failed to delete file or > dir [/tmp/.font-unix]: it still exists. > 2018-09-19T06:42:05,072 WARN [main] fs.FileUtil: Failed to delete file or > dir [/tmp/.Test-unix]: it still exists. > 2018-09-19T06:42:05,072 ERROR [main] utils.FileUtils: Failed to delete > file:/tmp > 2018-09-19T06:42:05,072 ERROR [main] utils.MetaStoreUtils: Got exception: > org.apache.hadoop.hive.metastore.api.MetaException Unable to delete > directory: file:/tmp > org.apache.hadoop.hive.metastore.api.MetaException: Unable to delete > directory: file:/tmp > at > org.apache.hadoop.hive.metastore.HiveMetaStoreFsImpl.deleteDir(HiveMetaStoreFsImpl.java:45) > [hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.Warehouse.deleteDir(Warehouse.java:365) > [hive-standalone-metastore-common-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.Warehouse.deleteDir(Warehouse.java:353) > [hive-standalone-metastore-common-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.deleteTableData(HiveMetaStore.java:2562) > [hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_core(HiveMetaStore.java:2523) > [hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.drop_table_with_environment_context(HiveMetaStore.java:2685) > [hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_102] > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > ~[?:1.8.0_102] > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > ~[?:1.8.0_102] > at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:147) > [hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:108) > [hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at com.sun.proxy.$Proxy33.drop_table_with_environment_context(Unknown > Source) [?:?] > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.drop_table_with_environment_context(HiveMetaStoreClient.java:3204) > [hive-standalone-metastore-common-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.dropTable(HiveMetaStoreClient.java:1492) > [hive-standalone-metastore-common-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hadoop.hive.metastore.HiveMetaStoreClient.dropTable(HiveMetaStoreClient.java:1432) > [hive-standalone-metastore-common-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT] > at > org.apache.hive.hcatalog.listener.TestDbNotificationListener.dropTable(TestDbNotificationListener.java:522) > [test-classes/:?] > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > ~[?:1.8.0_102]{code} > > -- This message was sent by Atlassian JIRA (v7.6.3#76005)