hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nijel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9155) [OEV] : The inputFile does not follow case insensitiveness incase of XML file
Date Mon, 28 Sep 2015 07:50:04 GMT
nijel created HDFS-9155:
---------------------------

             Summary: [OEV] : The inputFile does not follow case insensitiveness incase of
XML file
                 Key: HDFS-9155
                 URL: https://issues.apache.org/jira/browse/HDFS-9155
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: nijel
            Assignee: 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)

Mime
View raw message