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

Aihua Xu commented on HIVE-15615:
---------------------------------

The patch looks good. +1.

Seems we should have single place to have the username. Right now it's in 
multiple places. 

> Fix unit tests failures caused by HIVE-13696
> --------------------------------------------
>
>                 Key: HIVE-15615
>                 URL: https://issues.apache.org/jira/browse/HIVE-15615
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Yongzhi Chen
>            Assignee: Yongzhi Chen
>         Attachments: HIVE-15615.1.patch
>
>
> Following unit tests failed with same stack:
> org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerCheckInvocation
> org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveAuthorizerShowFilters
> {noformat}
> 2017-01-11T15:02:27,774 ERROR [main] ql.Driver: FAILED: NullPointerException 
> null
> java.lang.NullPointerException
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.cleanName(QueuePlacementRule.java:351)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule$User.getQueueForApp(QueuePlacementRule.java:132)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementRule.assignAppToQueue(QueuePlacementRule.java:74)
>       at 
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.QueuePlacementPolicy.assignAppToQueue(QueuePlacementPolicy.java:167)
>       at 
> org.apache.hadoop.hive.schshim.FairSchedulerShim.setJobQueueForUserInternal(FairSchedulerShim.java:96)
>       at 
> org.apache.hadoop.hive.schshim.FairSchedulerShim.validateQueueConfiguration(FairSchedulerShim.java:82)
>       at 
> org.apache.hadoop.hive.ql.session.YarnFairScheduling.validateYarnQueue(YarnFairScheduling.java:68)
>       at org.apache.hadoop.hive.ql.Driver.configureScheduling(Driver.java:671)
>       at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:543)
>       at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1313)
>       at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1453)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1233)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1223)
> {noformat}



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

Reply via email to