You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Rohan Nimmagadda (Jira)" <ji...@apache.org> on 2021/06/02 19:12:00 UTC
[jira] [Comment Edited] (KNOX-2612) Knox + webHDFS is not working
with Hadoop 3.3
[ https://issues.apache.org/jira/browse/KNOX-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17355926#comment-17355926 ]
Rohan Nimmagadda edited comment on KNOX-2612 at 6/2/21, 7:11 PM:
-----------------------------------------------------------------
adding some context, I was able to pull the Namenode API contents with this curl request
{{curl -u : "}}{{[http://namenode:port/webhdfs/v1/tmp/?user.name=user&op=LISTSTATUS|http://drcn1010.target.com:9870/webhdfs/v1/tmp/?user.name=z003k8q&op=LISTSTATUS]}}{{"}} , Now the challenge is with Knox . it’s not supporting {{user.name}} or {{[do.As|http://do.as/]}} to impersonate.
was (Author: rohannimmagadda):
adding some context, I was able to pull the Namenode API contents with this curl request
{{curl -u : "}}{{[http://namenode:port/webhdfs/v1/tmp/?user.name=user&op=LISTSTATUS|http://drcn1010.target.com:9870/webhdfs/v1/tmp/?user.name=z003k8q&op=LISTSTATUS]}}{{"}} , Now the challenge is with Knox . it’s is not supporting {{user.name}} or {{[do.As|http://do.as/]}} to impersonate.
> Knox + webHDFS is not working with Hadoop 3.3
> ----------------------------------------------
>
> Key: KNOX-2612
> URL: https://issues.apache.org/jira/browse/KNOX-2612
> Project: Apache Knox
> Issue Type: Bug
> Components: KnoxSSO, Server
> Affects Versions: 1.4.0, 1.5.0
> Reporter: Rohan Nimmagadda
> Priority: Blocker
>
> Hadoop 3.3 Webhdfs is not working with Knox end point getting below exception
> Tried hadoop side of things by changing hadoop.http.filter.initializers in core-site to default AuthFilter and org.apache.hadoop.security.AuthenticationFilterInitializer value
> result shows same having issues with webHDFS
> Knox Webhdfs API : [https://knoxhost:8443/gateway/default/webhdfs/v1/tmp/?|https://drcn1003.target.com:8443/gateway/bigred/webhdfs/v1/tmp/?]
> &op=LISTSTATUS
> {"RemoteException":\{"exception":"SecurityException","javaClassName":"java.lang.SecurityException","message":"Failed to obtain user group information: java.io.IOException: Security enabled but user not authenticated by filter"}}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)