You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2015/11/04 06:12:27 UTC

[jira] [Created] (HDFS-9372) Typo in DataStorage.recoverTransitionRead

Duo Zhang created HDFS-9372:
-------------------------------

             Summary: Typo in DataStorage.recoverTransitionRead
                 Key: HDFS-9372
                 URL: https://issues.apache.org/jira/browse/HDFS-9372
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: datanode
            Reporter: Duo Zhang


{code:title=DataStorage.java}
    if (this.initialized) {
      LOG.info("DataNode version: " + HdfsServerConstants.DATANODE_LAYOUT_VERSION
          + " and NameNode layout version: " + nsInfo.getLayoutVersion());
      this.storageDirs = new ArrayList<StorageDirectory>(dataDirs.size());
      // mark DN storage is initialized
      this.initialized = true;
    }
{code}

The first if should be {{!this.initialized}} I think?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)