Steve Loughran created HDFS-8705:
------------------------------------
Summary: BlockStoragePolicySuite uses equalsIgnoreCase for name
lookup, won't work in all locales
Key: HDFS-8705
URL: https://issues.apache.org/jira/browse/HDFS-8705
Project: Hadoop HDFS
Issue Type: Bug
Components: namenode
Affects Versions: 2.8.0
Reporter: Steve Loughran
Priority: Minor
Looking at {{BlockStoragePolicySuite.getPolicy(name)}}, is using
{{equalsIgnoreCase()}} to find a policy which matches a name.
This will not work in all locales. It must use
{{toLowerCase(Locale.ENGLISH).equals(name)}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)