Really thanks, Brahma!! It works. But i get a another problem: HTTP/1.1 403 Forbidden {"RemoteException":{"exception":"AccessControlException","javaClassName":"org.apache.hadoop.security.AccessControlException","message":"Permission denied: user=webuser, access=WRITE, inode=\"\":levi:supergroup:rwxr-xr-x"}}
------------------ ???????? ------------------ ??????: "Brahma Reddy Battula"<brahmareddy.batt...@huawei.com>; ????????: 2013??3??18??(??????) ????12:20 ??????: "common-dev@hadoop.apache.org"<common-dev@hadoop.apache.org>; ????: RE: HTTP/1.1 405 HTTP method PUT is not supported by this URL?? HI Levi, you might tried using the following syntax.. curl -i -X PUT "http://<HOST>:<PORT>/<PATH>?op=MKDIRS[&permission=<OCTAL>] Use the following syntax for makedir curl -i -X PUT "http://<HOST>:<PORT>/webhdfs/v1/<PATH>?op=MKDIRS[&permission=<OCTAL>] FYR: https://issues.apache.org/jira/browse/HDFS-2869 ________________________________________ From: ??????PHP [xxy-...@qq.com] Sent: Monday, March 18, 2013 12:03 PM To: common-dev Subject: HTTP/1.1 405 HTTP method PUT is not supported by this URL?? When i mkdir by curl using the WebHDFS. Hadoop return: HTTP/1.1 405 HTTP method PUT is not supported by this URL OK, Who know this why? TIA Levi