steveloughran commented on PR #4134:
URL: https://github.com/apache/hadoop/pull/4134#issuecomment-1088062871
ok, the nuances of hdfs xml parsing break one of the new tests
```
org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testReverseXmlWithoutSnapshotDiffSection
Error Details
Layout version mismatch. This oiv tool handles layout version -66, but the
XML file has <layoutVersion> -67. Please either re-generate the XML file with
the proper layout version, or manually edit the XML file to be usable with this
version of the oiv tool.
Stack Trace
java.io.IOException: Layout version mismatch. This oiv tool handles layout
version -66, but the XML file has <layoutVersion> -67. Please either
re-generate the XML file with the proper layout version, or manually edit the
XML file to be usable with this version of the oiv tool.
at
org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageReconstructor.readVersion(OfflineImageReconstructor.java:1699)
at
org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageReconstructor.processXml(OfflineImageReconstructor.java:1753)
at
org.apache.hadoop.hdfs.tools.offlineImageViewer.OfflineImageReconstructor.run(OfflineImageReconstructor.java:1846)
at
org.apache.hadoop.hdfs.tools.offlineImageViewer.TestOfflineImageViewer.testReverseXmlWithoutSnapshotDiffSection(TestOfflineImageViewer.java:1209)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]