Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-3516

Check content-type in WebHdfsFileSystem

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0, 2.0.2-alpha
    • Component/s: hdfs-client, webhdfs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      WebHdfsFileSystem currently tries to parse the response as json. It may be a good idea to check the content-type before parsing it.

        Attachments

        1. h3516_20120609.patch
          5 kB
          Tsz Wo Nicholas Sze
        2. h3516_20120609_b-1.patch
          5 kB
          Tsz Wo Nicholas Sze
        3. h3516_20120608.patch
          5 kB
          Tsz Wo Nicholas Sze
        4. h3516_20120607.patch
          4 kB
          Tsz Wo Nicholas Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz Wo Nicholas Sze
              Reporter:
              szetszwo Tsz Wo Nicholas Sze
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: