Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
As in document and help
-i,--inputFile <arg> edits file to process, xml (*case insensitive*) extension means XML format,
But if i give the file with "XML" extension it falls back to binary processing.
This issue is due the code
int org.apache.hadoop.hdfs.tools.offlineEditsViewer.OfflineEditsViewer.go() ..... boolean xmlInput = inputFileName.endsWith(".xml");
Here need to check the xml after converting the file name to lower case
Attachments
Attachments
Issue Links
- duplicates
-
HDFS-9156 [OEV] : The inputFile does not follow case insensitiveness incase of XML file
- Resolved