Getting E0902: Exception occured: [User: oozie is not allowed to impersonate oozie]

前端 未结 3 661
庸人自扰
庸人自扰 2020-12-15 13:30

Hi i am new to Oozie and i am getting this error E0902: Exception occured: [User: pramod is not allowed to impersonate pramod] when i run the following command



        
3条回答
  •  庸人自扰
    2020-12-15 14:01

    I don't think you can use variables in the key name - you'll need to hardcode the user name rather than ${user.name}.

    I assume you have an oozie user (which the oozie server is run as), so basically you want to configure as follows to allow the oozie user to impersonate anyone from any host:

    
        hadoop.proxyuser.oozie.hosts
        *
    
    
    
        hadoop.proxyuser.oozie.groups
        *
    
    

    Make sure you restart your HDFS / MAPREDUCE services for this to take affect

提交回复
热议问题