-
Type:
Improvement
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.0-alpha2
-
Fix Version/s: 2.9.0, 3.0.0-alpha4
-
Component/s: webhdfs
-
Labels:None
-
Target Version/s:
-
Hadoop Flags:Reviewed
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