Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5CE1BC869 for ; Thu, 7 Jun 2012 22:57:24 +0000 (UTC) Received: (qmail 87024 invoked by uid 500); 7 Jun 2012 22:57:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 86944 invoked by uid 500); 7 Jun 2012 22:57:23 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 86732 invoked by uid 99); 7 Jun 2012 22:57:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jun 2012 22:57:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 118F7142859 for ; Thu, 7 Jun 2012 22:57:23 +0000 (UTC) Date: Thu, 7 Jun 2012 22:57:23 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <991657810.50350.1339109843075.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HDFS-3516) Check content-type in WebHdfsFileSystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tsz Wo (Nicholas), SZE created HDFS-3516: -------------------------------------------- Summary: Check content-type in WebHdfsFileSystem Key: HDFS-3516 URL: https://issues.apache.org/jira/browse/HDFS-3516 Project: Hadoop HDFS Issue Type: Improvement Components: hdfs client Reporter: Tsz Wo (Nicholas), SZE Assignee: Tsz Wo (Nicholas), SZE Attachments: h3516_20120607.patch WebHdfsFileSystem currently tries to parse the response as json. It may be a good idea to check the content-type before parsing it. -- 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