[ https://issues.apache.org/jira/browse/HIVE-13753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284862#comment-15284862 ]
Wei Zheng commented on HIVE-13753: ---------------------------------- Test failures are not related. Test Name Duration Age org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_index_auto_partitioned 26 sec 1 org.apache.hive.hcatalog.listener.TestDbNotificationListener.cleanupNotifs 1 min 1 sec 1 org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskSchedulerService.testDelayedLocalityNodeCommErrorImmediateAllocation 10 sec 1 org.apache.hadoop.hive.llap.daemon.impl.comparator.TestShortestJobFirstComparator.testWaitQueueComparatorWithinDagPriority 5.2 sec 1 org.apache.hive.spark.client.TestSparkClient.testSyncRpc 33 sec 1 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_insert_values_orig_table_use_metadata 46 sec 3 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join32 6.1 sec 3 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_static 1 min 37 sec 4 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_insert_partition_dynamic 1 min 28 sec 4 org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForMemoryTokenStore 1.6 sec 4 org.apache.hive.minikdc.TestHiveAuthFactory.testStartTokenManagerForDBTokenStore 0.41 sec 4 org.apache.hive.minikdc.TestMiniHiveKdc.testLogin 1 min 56 sec 4 org.apache.hadoop.hive.ql.lockmgr.TestDbTxnManager2.testShowLocksFilterOptions 5.7 sec 6 org.apache.hadoop.hive.llap.tez.TestConverters.testFragmentSpecToTaskSpec 44 ms 24 org.apache.hive.service.cli.session.TestHiveSessionImpl.testLeakOperationHandle 32 sec 24 org.apache.hadoop.hive.llap.tezplugins.TestLlapTaskCommunicator.testFinishableStateUpdateFailure 3.4 sec 37 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_selectindate 15 sec 56 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_avrocountemptytbl 11 sec 56 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_order_null 37 sec 56 org.apache.hadoop.hive.cli.TestEncryptedHDFSCliDriver.testCliDriver_encryption_join_with_different_encryption_keys 1 min 34 sec 56 org.apache.hadoop.hive.cli.TestMiniSparkOnYarnCliDriver.testCliDriver_index_bitmap3 9.6 sec 56 org.apache.hadoop.hive.cli.TestMinimrCliDriver.org.apache.hadoop.hive.cli.TestMinimrCliDriver 57 sec 56 > Make metastore client thread safe in DbTxnManager > ------------------------------------------------- > > Key: HIVE-13753 > URL: https://issues.apache.org/jira/browse/HIVE-13753 > Project: Hive > Issue Type: Bug > Components: Transactions > Affects Versions: 1.3.0, 2.1.0 > Reporter: Wei Zheng > Assignee: Wei Zheng > Attachments: HIVE-13753.1.patch, HIVE-13753.2.patch, > HIVE-13753.3.patch > > > The fact that multiple threads sharing the same metastore client which is > used for RPC to Thrift is not thread safe. > Race condition can happen when one sees "out of sequence response" error > message from Thrift server. That means the response from the Thrift server is > for a different request (by a different thread). > Solution will be to synchronize methods from the client side. -- This message was sent by Atlassian JIRA (v6.3.4#6332)