You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2021/10/20 20:34:08 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 ]

Ethan Rose updated HDDS-2062:
-----------------------------
    Target Version/s: 1.3.0  (was: 1.2.0)

I am managing the 1.2.0 release and we currently have more than 600 issues targeted for 1.2.0. I am moving the target field to 1.3.0.

If you are actively working on this jira and believe this should be targeted for the 1.2.0 release, Please reach out to me via Apache email or Slack.

> OzoneConfiguration is not set in UserGroupInformation while creating OzoneClient
> --------------------------------------------------------------------------------
>
>                 Key: HDDS-2062
>                 URL: https://issues.apache.org/jira/browse/HDDS-2062
>             Project: Apache Ozone
>          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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org