hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wellington Chevreuil <wellington.chevre...@gmail.com>
Subject Re: HTTPFS without impersonation
Date Wed, 03 Jun 2015 11:46:20 GMT
If that doesn't work, u may need to define one entry for these properties
to each user running an httpfs instance.

See below:

http://hadoop.apache.org/docs/current/hadoop-hdfs-httpfs/ServerSetup.html
Em 03/06/2015 12:40, "Wellington Chevreuil" <wellington.chevreuil@gmail.com>
escreveu:

> Hi, do u have below property on core-site.xml file used by your hdfs?
>
> <property>
>     <name>hadoop.proxyuser.HTTP.hosts</name>
>     <value>*</value>
>   </property>
>   <property>
>     <name>hadoop.proxyuser.HTTP.groups</name>
>     <value>*</value>
>   </property>
>
> Hello all,
>
>
>
> We need to run several HTTPFS instances on our Hadoop cluster, with
> different users (basically, one HTTPFS per team).
>
>
>
> In our setup, each HTTPFS instance runs as a team user and is allowed
> write access to that user’s directory only (so, HTTPFS does not run as the
> httpfs user).
>
>
>
> However, this setup does not work, as we get exceptions related to
> impersonation, such as this one:
>
>
>
> {"RemoteException":{"message":"User: *team_user* is not allowed to
> impersonate *team_user*
> ","exception":"RemoteException","javaClassName":"org.apache.hadoop.ipc.RemoteException"}}
>
>
>
> *So, it seems that HTTPFS unconditionally tries to impersonate a user,
> even though it’s running as that same user*. Is there a way to somehow
> disable impersonation?
>
>
>
> Thanks for your help.
>
>
>
> Regards,
>
> Nathaniel
>
>
>

Mime
View raw message