flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Till Rohrmann <trohrm...@apache.org>
Subject Re: How to set UserGroupInformation?
Date Fri, 01 Jun 2018 14:25:40 GMT
Hi,

have you tried exporting `HADOOP_USER_NAME` with the hbase user before
running your application?

Cheers,
Till

On Fri, Jun 1, 2018 at 6:31 AM, Xinyu Zhang <wszxyh@gmail.com> wrote:

> Hi all
>
> I'm trying to write data to HDFS in directory "/home/hbase/XXX". Only
> "hbase" user can write to the directory.
> The problem is: I submit a job to yarn. The job will be a "yarn" user to
> write data, while "yarn" user is not allowed to write to
> "/home/hbase/XXX".
> Is there any method that I can set UserGroupInformation to "hbase"?
>
> Thanks!
>
> Xinyu Zhang
>

Mime
View raw message