You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Nanda kumar (Jira)" <ji...@apache.org> on 2019/08/30 10:33:00 UTC
[jira] [Created] (HDDS-2062) OzoneConfiguration is not set in
UserGroupInformation while creating OzoneClient
Nanda kumar created HDDS-2062:
---------------------------------
Summary: 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
Reporter: Nanda kumar
{{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.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org