hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12088) KMSClientProvider uses equalsIgnoreCase("application/json")
Date Tue, 21 Jul 2015 12:50:10 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14635058#comment-14635058
] 

Hudson commented on HADOOP-12088:
---------------------------------

FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #263 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/263/])
HADOOP-12088. KMSClientProvider uses equalsIgnoreCase("application/json").   (Brahma Reddy
Battula via stevel) (stevel: rev 05fa3368f12d189a95a2d6cd8eebc6f7e3a719ee)
* hadoop-common-project/hadoop-common/CHANGES.txt
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/crypto/key/kms/KMSClientProvider.java


> KMSClientProvider uses equalsIgnoreCase("application/json")
> -----------------------------------------------------------
>
>                 Key: HADOOP-12088
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12088
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: kms
>    Affects Versions: 2.7.1
>            Reporter: Steve Loughran
>            Assignee: Brahma Reddy Battula
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-12088.patch
>
>
> {{KMSClientProvider.call()}} validates the content type returned by going 
> {code}
> "application/json".equalsIgnoreCase(conn.getContentType())
> {code}
> that's not going to work in all locales, not if upper case is being returned. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message