hadoop-yarn-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/YARN-3029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Varun Saxena updated YARN-3029:
-------------------------------
    Attachment: YARN-3029.002.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, YARN-3029.002.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