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

Teddy Choi commented on HIVE-4280:
----------------------------------

I thing that the changes on TestRetryingHMSHandler should be tested with the 
full test, not with query tests. So I tested with {code}ant clean package 
test{code} command. Then I got the following error message. 
TestDefaultHiveMetastoreAuthorizationProvider failed.

{noformat}
...
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 17.268 sec
    [junit] OK
    [junit] Running 
org.apache.hadoop.hive.ql.security.TestDefaultHiveMetastoreAuthorizationProvider
    [junit] 2013-04-05 13:54:47.412 java[18668:b103] Unable to load realm info 
from SCDynamicStore
    [junit] Hive history 
file=/Users/pudidic/IdeaProjects/hive/build/ql/tmp/hive_job_log_pudidic_201304051354_883807417.txt
    [junit] OK
    [junit] OK
    [junit] FAILED: Error in metadata: MetaException(message:No privilege 
'Create' found for outputs { database:smpdb, table:smptbl})
    [junit] FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask
    [junit] OK
    [junit] OK
    [junit] OK
    [junit] FAILED: Error in metadata: MetaException(message:No privilege 
'Create' found for outputs { database:smpdb, table:smptblmal})
    [junit] FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask
    [junit] FAILED: Error in metadata: MetaException(message:No privilege 
'Create' found for inputs { database:smpdb, table:smptbl})
    [junit] FAILED: Execution Error, return code 1 from 
org.apache.hadoop.hive.ql.exec.DDLTask
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 15.531 sec
    [junit] OK
    [junit] Running org.apache.hadoop.hive.ql.tool.TestLineageInfo
    [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.462 sec
    [junit] Running org.apache.hadoop.hive.ql.udf.TestUDFDateAdd
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.225 sec
    [junit] Running org.apache.hadoop.hive.ql.udf.TestUDFDateDiff
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.211 sec
    [junit] Running org.apache.hadoop.hive.ql.udf.TestUDFDateSub
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.203 sec
    [junit] Running org.apache.hadoop.hive.ql.util.TestDosToUnix
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.053 sec

BUILD FAILED
/Users/pudidic/IdeaProjects/hive/build.xml:296: The following error occurred 
while executing this line:
/Users/pudidic/IdeaProjects/hive/build.xml:298: The following error occurred 
while executing this line:
/Users/pudidic/IdeaProjects/hive/build-common.xml:482: Tests failed!

Total time: 816 minutes 11 seconds
{noformat}

I Googled this failure, but I couldn't access to a relevant page( 
https://reviews.facebook.net/D6681?id=22179 ). I read some parts on its 
preview, "2012. 11. 13. – ... 
/hive/ql/security/TestDefaultHiveMetastoreAuthorizationProvider.java ..... we 
should let it fail in default branch and have the exception thrown, ..." I 
looks like there's some information related.

If anybody knows an appropriate solution, please tell me.
                
> TestRetryingHMSHandler is failing on trunk.
> -------------------------------------------
>
>                 Key: HIVE-4280
>                 URL: https://issues.apache.org/jira/browse/HIVE-4280
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.11.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Teddy Choi
>
> Newly added testcase TestRetryingHMSHandler fails on trunk. 
> https://builds.apache.org/job/Hive-trunk-h0.21/2040/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to