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

Qiang Zhang commented on RANGER-1404:
-------------------------------------

Solution:
Add         " 
conf.set(HiveConf.ConfVars.METASTORE_CONNECTION_USER_NAME.varname,"youUserName");
                 conf.set(HiveConf.ConfVars.METASTOREPWD.varname, 
"youPassword");"     in HIVERangerAuthorizerTest.java
                        
Reason:   Specify  the mysql user and hive with  different users

> Few HIVERangerAuthorizerTest UT fails with Permission denied intermittently
> ---------------------------------------------------------------------------
>
>                 Key: RANGER-1404
>                 URL: https://issues.apache.org/jira/browse/RANGER-1404
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Yesha Vora
>            Assignee: Qiang Zhang
>
> Failed tests:
> * testBobAlter
> * testBobSelectOnDifferentDatabase
> * testBobSelectOnDifferentTables
> * testCreateDropFunction
> * testCreateDropMacro
> * testGrantrevoke
> * testHiveCreateDropDatabase
> * testHiveDataMasking
> * testHiveRowFilter
> * testHiveSelectAllAsAlice
> * testHiveSelectAllAsBob
> * testHiveSelectSpecificColumnAsAlice
> * testHiveUpdateAllAsBob
> * testHiveSelectSpecificColumnAsBob
> {code}
> Error Message
> Error while compiling statement: FAILED: HiveAccessControlException 
> Permission denied: user [nobody] does not have [CREATE] privilege on 
> [rangerauthz/WORDS2]{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to