Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      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

          Issue Links

            Activity

              People

              • Assignee:
                nijel nijel
                Reporter:
                nijel nijel
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: