[
https://issues.apache.org/jira/browse/HDFS-11555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942669#comment-15942669
]
Akira Ajisaka commented on HDFS-11555:
--------------------------------------
LGTM, +1
> Fix typos in class OfflineImageReconstructor
> --------------------------------------------
>
> Key: HDFS-11555
> URL: https://issues.apache.org/jira/browse/HDFS-11555
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 3.0.0-alpha2
> Reporter: Yiqun Lin
> Assignee: Yiqun Lin
> Priority: Trivial
> Attachments: HDFS-11555.001.patch
>
>
> There are two typos in method {{OfflineImageReconstructor#readVersion}}.
> The relevant codes:
> {code}
> private void readVersion() throws IOException {
> try {
> expectTag("version", false);
> } catch (IOException e) {
> // Handle the case where <version> does not exist.
> // Note: fsimage XML files which are missing <version> are also missing
> // many other fields that ovi needs to accurately reconstruct the
> // fsimage.
> throw new IOException("No <version> section found at the top of " +
> "the fsimage XML. This XML file is too old to be processed " +
> "by ovi.", e);
> }
> ...
> }
> {code}
> Here the tool name {{ovi}} should be {{oiv}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]