[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125536#comment-13125536 ] Hadoop QA commented on HDFS-2441: - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12498692/h2441_20111011.patch against trunk revision . +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed unit tests in . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/1360//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/1360//console This message is automatically generated. > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125541#comment-13125541 ] Tsz Wo (Nicholas), SZE commented on HDFS-2441: -- I have tested this manually. No new tests are added. > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Bug >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126887#comment-13126887 ] Suresh Srinivas commented on HDFS-2441: --- Can you post the new response with the patch. The code changes look good. +1. > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126890#comment-13126890 ] Tsz Wo (Nicholas), SZE commented on HDFS-2441: -- {noformat} $curl -i "http://localhost:50070/webhdfs/user/?op=LISTSTATUS"; HTTP/1.1 200 OK Content-Type: application/json Content-Length: 205 Server: Jetty(6.1.26) {"HdfsFileStatus":[ {"accessTime":0,"blockSize":0,"group":"supergroup","isDir":true,"len":0,"localName":"szetszwo","modificationTime":1317861996975,"owner":"szetszwo","permission":"755","replication":0}]} {noformat} > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126907#comment-13126907 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Common-trunk-Commit #1073 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1073/]) HDFS-2441. Remove the Content-Type set by HttpServer.QuotingInputFilter in webhdfs responses. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183081 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126909#comment-13126909 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Hdfs-trunk-Commit #1151 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1151/]) HDFS-2441. Remove the Content-Type set by HttpServer.QuotingInputFilter in webhdfs responses. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183081 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126926#comment-13126926 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Mapreduce-trunk-Commit #1092 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1092/]) HDFS-2441. Remove the Content-Type set by HttpServer.QuotingInputFilter in webhdfs responses. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183081 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127497#comment-13127497 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Hdfs-trunk #830 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/830/]) HDFS-2441. Remove the Content-Type set by HttpServer.QuotingInputFilter in webhdfs responses. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183081 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13127516#comment-13127516 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Mapreduce-trunk #860 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/860/]) HDFS-2441. Remove the Content-Type set by HttpServer.QuotingInputFilter in webhdfs responses. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1183081 Files : * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136426#comment-13136426 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Hdfs-0.23-Commit #64 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/64/]) svn merge -c 1183081 from trunk for HDFS-2441. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189483 Files : * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.23.0, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136436#comment-13136436 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Common-0.23-Commit #63 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/63/]) svn merge -c 1183081 from trunk for HDFS-2441. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189483 Files : * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.23.0, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13136527#comment-13136527 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Mapreduce-0.23-Commit #60 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/60/]) svn merge -c 1183081 from trunk for HDFS-2441. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189483 Files : * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.23.0, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137014#comment-13137014 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Hdfs-0.23-Build #52 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/52/]) svn merge -c 1183081 from trunk for HDFS-2441. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189483 Files : * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.23.0, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HDFS-2441) webhdfs returns two content-type headers
[ https://issues.apache.org/jira/browse/HDFS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137080#comment-13137080 ] Hudson commented on HDFS-2441: -- Integrated in Hadoop-Mapreduce-0.23-Build #64 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/64/]) svn merge -c 1183081 from trunk for HDFS-2441. szetszwo : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1189483 Files : * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java * /hadoop/common/branches/branch-0.23/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/web/resources/NamenodeWebHdfsMethods.java > webhdfs returns two content-type headers > > > Key: HDFS-2441 > URL: https://issues.apache.org/jira/browse/HDFS-2441 > Project: Hadoop HDFS > Issue Type: Sub-task >Affects Versions: 0.20.205.0 >Reporter: Arpit Gupta >Assignee: Tsz Wo (Nicholas), SZE > Fix For: 0.20.205.1, 0.23.0, 0.24.0 > > Attachments: h2441_20111011.patch, h2441_20111011_0.20s.patch > > > $ curl -i "http://localhost:50070/webhdfs/path?op=GETFILESTATUS"; > HTTP/1.1 200 OK > Content-Type: text/html; charset=utf-8 > Expires: Thu, 01-Jan-1970 00:00:00 GMT > > Content-Type: application/json > Transfer-Encoding: chunked > Server: Jetty(6.1.26) > It should only return one content type header = application/json -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira