AuthorizationException: User not allowed to impersonate User

后端 未结 1 860
予麋鹿
予麋鹿 2020-12-31 09:48

I wrote a spark job which registers a temp table and when I expose it via beeline (JDBC client)

$ ./bin/beeline
beeline> !connect jdbc:hive2://IP:10003 -n         


        
1条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 10:37

    
     hive.server2.enable.doAs
     true
    
    

    Also if you want user ABC to impersonate all(*), add below properties to your core-site.xml

    
      hadoop.proxyuser.ABC.groups
    *
    
    
    
     hadoop.proxyuser.ABC.hosts
     *
    
    

    0 讨论(0)
提交回复
热议问题