You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "nijel (JIRA)" <ji...@apache.org> on 2015/09/28 09:57:04 UTC
[jira] [Resolved] (HDFS-9156) [OEV] : The inputFile does not follow
case insensitiveness incase of XML file
[ https://issues.apache.org/jira/browse/HDFS-9156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
nijel resolved HDFS-9156.
-------------------------
Resolution: Duplicate
Assignee: (was: nijel)
> [OEV] : The inputFile does not follow case insensitiveness incase of XML file
> -----------------------------------------------------------------------------
>
> Key: HDFS-9156
> URL: https://issues.apache.org/jira/browse/HDFS-9156
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: nijel
>
> As in document and help
> {noformat}
> -i,--inputFile <arg> edits file to process, xml (*case
> insensitive*) extension means XML format,
> {noformat}
> But if i give the file with "XML" extension it falls back to binary processing.
> This issue is due the code
> {code}
> int org.apache.hadoop.hdfs.tools.offlineEditsViewer.OfflineEditsViewer.go()
> .....
> boolean xmlInput = inputFileName.endsWith(".xml");
> {code}
> Here need to check the xml after converting the file name to lower case
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)