hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsuyoshi OZAWA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-3029) FSDownload.unpack() uses local locale for FS case conversion, may not work everywhere
Date Wed, 28 Jan 2015 20:11:35 GMT

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

Tsuyoshi OZAWA commented on YARN-3029:
--------------------------------------

[~varun_saxena] can you add a test case?

> FSDownload.unpack() uses local locale for FS case conversion, may not work everywhere
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-3029
>                 URL: https://issues.apache.org/jira/browse/YARN-3029
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.6.0
>            Reporter: Steve Loughran
>            Assignee: Varun Saxena
>         Attachments: YARN-3029.001.patch
>
>
> {{FSDownload.unpack()}} lower-cases filenames in the local locale before looking at extensions
for, "tar, "zip", ..
> {code}
> String lowerDst = dst.getName().toLowerCase();
> {code}
> it MUST use LOCALE_EN for the locale, else a file .ZIP won't be recognised as a zipfile
in a turkish locale cluster



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

Mime
View raw message