You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Arpit Agarwal (Jira)" <ji...@apache.org> on 2020/06/02 19:08:00 UTC

[jira] [Updated] (HDDS-2062) OzoneConfiguration is not set in UserGroupInformation while creating OzoneClient

     [ https://issues.apache.org/jira/browse/HDDS-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arpit Agarwal updated HDDS-2062:
--------------------------------
    Component/s: Security

> OzoneConfiguration is not set in UserGroupInformation while creating OzoneClient
> --------------------------------------------------------------------------------
>
>                 Key: HDDS-2062
>                 URL: https://issues.apache.org/jira/browse/HDDS-2062
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>          Components: Security
>            Reporter: Chiran Ravani
>            Assignee: Chiran Ravani
>            Priority: Major
>
> {{OzoneConfiguration}} is not set in {{UserGroupInformation}} while creating {{OzoneClient}}. Because of this, programmatically updated configuration values are not reflected inside {{UserGroupInformation}}.
> Setting {{hadoop.security.authentication}} via java code is not getting reflected, and the following error is seen
> {noformat}
> Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): SIMPLE authentication is not enabled.  Available:[TOKEN, KERBEROS]
> 	at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1511)
> 	at org.apache.hadoop.ipc.Client.call(Client.java:1457)
> 	at org.apache.hadoop.ipc.Client.call(Client.java:1367)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228)
> 	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116)
> 	at com.sun.proxy.$Proxy23.submitRequest(Unknown Source)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)
> 	at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422)
> 	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165)
> 	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157)
> 	at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95)
> 	at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359)
> 	at com.sun.proxy.$Proxy23.submitRequest(Unknown Source)
> {noformat}
> It started working once {{hadoop.security.authentication}}  is added to {{core-site.xml}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org