You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Varun Saxena (JIRA)" <ji...@apache.org> on 2015/01/12 18:22:34 UTC

[jira] [Commented] (YARN-3029) FSDownload.unpack() uses local locale for FS case conversion, may not work everywhere

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

Varun Saxena commented on YARN-3029:
------------------------------------

Attached a trivial patch

> 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)