[hadoop]
Configuration for HDFS NameNode
[[hdfs_clusters]]
# HA support by using HttpFs
[[[default]]]
# Enter the filesystem uri
fs_defaultfs={{hue_hdfs_url}}
# webhdfs_url={{hue_namenode_http_addr}}/webhdfs/v1
webhdfs_url=http://httpfs서버:14000/webhdfs/v1
Cannot access: /user/admin.
403 Client Error: Forbidden for url:
http://httpfs서버:14000/webhdfs/v1/user/admin?op=GETFILESTATUS&user.name=hue&doas=admin
{ "RemoteException" : { "message" : "User: hue is not allowed to impersonate admin", "exception" : "AuthorizationException", "javaClassName" : "org.apache.hadoop.security.authorize.AuthorizationException" } } (error 403)
hue 접속 유저가 admin이긴 한데, ranger에 권한이 부여된 어떤 계정을 접속해도 위와 같은 에러 발생. impersonate 가능하게 조치해야 함.
Custom httpfs-site에 아래 설정 추가.
httpfs.proxyuser.hue.groups=*
httpfs.proxyuser.hue.hosts=*