Details
-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.0.0-beta
-
Fix Version/s: 2.0.1
-
Component/s: app.filebrowser
-
Labels:None
-
Target Version:
Description
Upload works with webhdfs, but not httpfs.
noformat
[12/Apr/2012 19:58:04 +0000] webhdfs INFO WebHdfs at http://centos60-17.ent.cloudera.com:14000/webhdfs/v1 – Validation error: <html><head><title>Apache Tomcat/6.0.35 - Error report</title><style><!--H1
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name
{color : black;}HR
{color : #525D76;}--></style> </head><body><h1>HTTP Status 400 - Data upload requests must have content-type set to 'application/octet-stream'</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Data upload requests must have content-type set to 'application/octet-stream'</u></p><p><b>description</b> <u>The request sent by the client was syntactically incorrect (Data upload requests must have content-type set to 'application/octet-stream').</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.35</h3></body></html> (error 400)
noformat
The last part "Data upload requests must have content-type set to 'application/octet-stream'" is probably the problem.