hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmcc...@apache.org
Subject hadoop git commit: HDFS-7430 backport addendum. Add missing change. (cmccabe)
Date Fri, 13 Feb 2015 23:11:34 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 a8c6a96f3 -> a54b4a7fc


HDFS-7430 backport addendum.  Add missing change. (cmccabe)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a54b4a7f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a54b4a7f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a54b4a7f

Branch: refs/heads/branch-2
Commit: a54b4a7fc648ac1dbf099ce85519a48fcff7ec70
Parents: a8c6a96
Author: Colin Patrick Mccabe <cmccabe@cloudera.com>
Authored: Fri Feb 13 15:11:14 2015 -0800
Committer: Colin Patrick Mccabe <cmccabe@cloudera.com>
Committed: Fri Feb 13 15:11:14 2015 -0800

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/a54b4a7f/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
index 93e64d2..b6a84c3 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java
@@ -382,6 +382,7 @@ public class DataNode extends ReconfigurableBase
            final List<StorageLocation> dataDirs,
            final SecureResources resources) throws IOException {
     super(conf);
+    this.blockScanner = new BlockScanner(this, conf);
     this.lastDiskErrorCheck = 0;
     this.maxNumberOfBlocksToLog = conf.getLong(DFS_MAX_NUM_BLOCKS_TO_LOG_KEY,
         DFS_MAX_NUM_BLOCKS_TO_LOG_DEFAULT);


Mime
View raw message