hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14681) Remove AssertionError for non zero return codes in QTestUtil cleanup
Date Thu, 01 Sep 2016 15:53:22 GMT

    [ https://issues.apache.org/jira/browse/HIVE-14681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15455831#comment-15455831
] 

Hive QA commented on HIVE-14681:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12826495/HIVE-14681.01.patch

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 10435 tests executed
*Failed tests:*
{noformat}
TestBeeLineWithArgs - did not produce a TEST-*.xml file
TestHiveCli - did not produce a TEST-*.xml file
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_join_part_col_char]
org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver[explainuser_3]
org.apache.hive.jdbc.TestJdbcWithMiniHS2.testAddJarConstructorUnCaching
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/1071/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-MASTER-Build/1071/console
Test logs: http://ec2-204-236-174-241.us-west-1.compute.amazonaws.com/logs/PreCommit-HIVE-MASTER-Build-1071/

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: 5 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12826495 - PreCommit-HIVE-MASTER-Build

> Remove AssertionError for non zero return codes in QTestUtil cleanup
> --------------------------------------------------------------------
>
>                 Key: HIVE-14681
>                 URL: https://issues.apache.org/jira/browse/HIVE-14681
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Testing Infrastructure
>            Reporter: Siddharth Seth
>            Assignee: Siddharth Seth
>         Attachments: HIVE-14681.01.patch
>
>
> This was added in HIVE-14625.
> Causes some tests to fail randomly - after executing all the actual queries.
> Shows up as 
> {code}
> org.apache.hadoop.hive.cli.TestCliDriver.org.apache.hadoop.hive.cli.TestCliDriver
> {code}
> without any test name.
> The failures are related to the inability to drop databases. I suspect this has something
to do with specific q files running grant etc statements.
> Will create a separate jira to track this down.
> Fow now, I think it makes sense to convert the Assertion to a warning.
> {code}java.lang.AssertionError: Failed during cleanup processLine with code=403{code}
> {code}2016-08-31T11:47:05,627 ERROR [adab525e-198b-49f9-a2c3-8cc7df47b8ea main] ql.Driver:
Authorization failed:No privilege 'Drop' found for outputs { database:default, table:src}.
Use SHOW GRANT to get more details.{code}
> {code}java.lang.AssertionError: Failed during cleanup processLine with code=40000{code}
> {code}2016-08-31T11:41:29,849 ERROR [3906df31-d034-4dfe-8f78-239140c686aa main] ql.Driver:
FAILED: HiveAccessControlException Permission denied: Principal [name=user1, type=USER] does
not have following privileges for operation DROPTABLE [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW,
name=default.src]]
> org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAccessControlException: Permission
denied: Principal [name=user1, type=USER] does not have following privileges for operation
DROPTABLE [[OBJECT OWNERSHIP] on Object [type=TABLE_OR_VIEW, name=default.src]]
> 	at org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLAuthorizationUtils.assertNoDeniedPermissions(SQLAuthorizationUtils.java:476)
> 	at org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizationValidator.checkPrivileges(SQLStdHiveAuthorizationValidator.java:86)
> 	at org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizationValidatorForTest.checkPrivileges(SQLStdHiveAuthorizationValidatorForTest.java:104)
> 	at org.apache.hadoop.hive.ql.security.authorization.plugin.HiveAuthorizerImpl.checkPrivileges(HiveAuthorizerImpl.java:87)
> 	at org.apache.hadoop.hive.ql.Driver.doAuthorizationV2(Driver.java:868)
> 	at org.apache.hadoop.hive.ql.Driver.doAuthorization(Driver.java:655)
> 	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:502)
> 	at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:342)
> 	at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1235)
> 	at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1355)
> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1143)
> 	at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1131)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:232)
> 	at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:183)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:399)
> 	at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:335)
> 	at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:861)
> 	at org.apache.hadoop.hive.ql.QTestUtil.cleanUp(QTestUtil.java:838)
> 	at org.apache.hadoop.hive.ql.QTestUtil.shutdown(QTestUtil.java:500)
> 	at org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:138)
> 	at org.apache.hadoop.hive.cli.control.CoreCliDriver$6.invokeInternal(CoreCliDriver.java:135)
> 	at org.apache.hadoop.hive.util.ElapsedTimeLoggingWrapper.invoke(ElapsedTimeLoggingWrapper.java:33)
> 	at org.apache.hadoop.hive.cli.control.CoreCliDriver.shutdown(CoreCliDriver.java:141)
> 	at org.apache.hadoop.hive.cli.control.CliAdapter$1$1.evaluate(CliAdapter.java:75)
> 	at org.junit.rules.RunRules.evaluate(RunRules.java:20)
> 	at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
> 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
> 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
> 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
> 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
> 2016-08-31T11:41:29,849  INFO [3906df31-d034-4dfe-8f78-239140c686aa main] metadata.Hive:
Dumping metastore api call timing information for : compilation phase
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message