Renukaprasad C created HDFS-15134:
-------------------------------------

             Summary: Any write calls with REST API on Standby NN print error 
message with wrong online help URL
                 Key: HDFS-15134
                 URL: https://issues.apache.org/jira/browse/HDFS-15134
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Renukaprasad C
            Assignee: Renukaprasad C


vm2:/opt# curl -k -i --negotiate -u : "http://IP:PORT/webhdfs/v1/test?op=MKDIRS";
HTTP/1.1 403 Forbidden
Date: Mon, 20 Jan 2020 07:28:19 GMT
Cache-Control: no-cache
Expires: Mon, 20 Jan 2020 07:28:20 GMT
Date: Mon, 20 Jan 2020 07:28:20 GMT
Pragma: no-cache
X-FRAME-OPTIONS: SAMEORIGIN
Content-Type: application/json
Transfer-Encoding: chunked

{"RemoteException":{"exception":"StandbyException","javaClassName":"org.apache.hadoop.ipc.StandbyException","message":"Operation
 category WRITE is not supported in state standby. Visit 
https://s.apache.org/sbnn-error"}}


Invalid link doesnt exists - https://s.apache.org/sbnn-error. This need to be 
updated.



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

---------------------------------------------------------------------
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