hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-9155) OEV should treat .XML files as XML even when the file name extension is uppercase
Date Tue, 06 Oct 2015 02:22:26 GMT

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

Hudson commented on HDFS-9155:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #457 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/457/])
HDFS-9155. OEV should treat .XML files as XML even when the file name (cmccabe: rev 2fc2b50534c2052ed3f6f38f30d29d98d99fd10a)
* hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/TestOfflineEditsViewer.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/offlineEditsViewer/OfflineEditsViewer.java


> OEV should treat .XML files as XML even when the file name extension is uppercase
> ---------------------------------------------------------------------------------
>
>                 Key: HDFS-9155
>                 URL: https://issues.apache.org/jira/browse/HDFS-9155
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: nijel
>            Assignee: nijel
>             Fix For: 2.8.0
>
>         Attachments: HDFS-9155_01.patch
>
>
> 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