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

Check content-type in WebHdfsFileSystem

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0, 2.0.2-alpha
    • hdfs-client, webhdfs
    • None
    • 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 Sze
        2. h3516_20120609_b-1.patch
          5 kB
          Tsz-wo Sze
        3. h3516_20120608.patch
          5 kB
          Tsz-wo Sze
        4. h3516_20120607.patch
          4 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: