Soumyapn created HDFS-13966:
-------------------------------

             Summary: HDFS DFSADMIN : Direct exception is coming for the 
refreshServiceAcl command if we disable the property 
hadoop.security.authorization
                 Key: HDFS-13966
                 URL: https://issues.apache.org/jira/browse/HDFS-13966
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Soumyapn


Scenario:

If we execute the hdfs dfsadmin -refreshServiceAcl command when the 
hadoop.security.authorization property is disabled in both the namenodes in HA 
cluster.

 

Expected Result:

Direct exception should not come. Class exception should be logged in the log 
file.

Console message should be like "Service level authorization not enabled"

 

Actual Result:

Direct exception is coming.

refreshServiceAcl: 2 exceptions 
[org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException):
 Service Level Authorization not enabled!
, 
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.authorize.AuthorizationException):
 Service Level Authorization not enabled!
]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to