[ https://issues.apache.org/jira/browse/HIVE-7366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14091705#comment-14091705 ]
Hive QA commented on HIVE-7366: ------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12660760/HIVE-7366.patch {color:red}ERROR:{color} -1 due to 28 failed/errored test(s), 5888 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_alter_db_owner org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_authorization_owner_actions_db org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_database_location org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_database_properties org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_describe_database org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_describe_database_json org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_opt_vectorization org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_tez_join_hash org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_drop_db_cascade org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorization_drop_db_empty org.apache.hadoop.hive.metastore.TestEmbeddedHiveMetaStore.testDBOwner org.apache.hadoop.hive.metastore.TestEmbeddedHiveMetaStore.testDBOwnerChange org.apache.hadoop.hive.metastore.TestEmbeddedHiveMetaStore.testDatabase org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore.testDBOwner org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore.testDBOwnerChange org.apache.hadoop.hive.metastore.TestRemoteHiveMetaStore.testDatabase org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDBOwner org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDBOwnerChange org.apache.hadoop.hive.metastore.TestSetUGIOnBothClientServer.testDatabase org.apache.hadoop.hive.metastore.TestSetUGIOnOnlyClient.testDBOwner org.apache.hadoop.hive.metastore.TestSetUGIOnOnlyClient.testDBOwnerChange org.apache.hadoop.hive.metastore.TestSetUGIOnOnlyClient.testDatabase org.apache.hadoop.hive.metastore.TestSetUGIOnOnlyServer.testDBOwner org.apache.hadoop.hive.metastore.TestSetUGIOnOnlyServer.testDBOwnerChange org.apache.hadoop.hive.metastore.TestSetUGIOnOnlyServer.testDatabase org.apache.hadoop.hive.ql.TestDDLWithRemoteMetastoreSecondNamenode.testCreateTableWithIndexAndPartitionsNonDefaultNameNode org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/244/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/244/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-244/ Messages: {noformat} 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: 28 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12660760 > getDatabase using direct sql > ---------------------------- > > Key: HIVE-7366 > URL: https://issues.apache.org/jira/browse/HIVE-7366 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 0.14.0 > Reporter: Sushanth Sowmyan > Assignee: Sushanth Sowmyan > Attachments: HIVE-7366.patch > > > Given that get_database is easily one of the most frequent calls made on the > metastore, we should have the ability to bypass datanucleus for that, and use > direct SQL instead. > This was something that I did initially as part of debugging HIVE-7368, but I > think that given the frequency of this call, it's useful to have it in > mainline direct sql. -- This message was sent by Atlassian JIRA (v6.2#6252)