Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha2
-
None
-
Reviewed
Description
When wrong operation type is given to WebHDFS operations, following Error message is printed –
For ex: CREATE is called with GET instead of PUT--
HTTP/1.1 400 Bad Request
......
{"RemoteException":{"exception":"IllegalArgumentException","javaClassName":"java.lang.IllegalArgumentException","message":"Invalid value for webhdfs parameter \"op\": No enum constant org.apache.hadoop.hdfs.web.resources.PutOpParam.Op.CREATE"}}
Expected--
Valid Error message to be printed