[ https://issues.apache.org/jira/browse/HDFS-6702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14070086#comment-14070086 ]
Hadoop QA commented on HDFS-6702: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12657065/h6702_20140722.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 10 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.TestDFSUpgrade org.apache.hadoop.hdfs.TestDFSShell org.apache.hadoop.hdfs.TestHDFSServerPorts org.apache.hadoop.hdfs.TestDFSClientExcludedNodes {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/7420//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/7420//console This message is automatically generated. > DFSClient should create blocks using StorageType > ------------------------------------------------- > > Key: HDFS-6702 > URL: https://issues.apache.org/jira/browse/HDFS-6702 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode, hdfs-client > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Fix For: 2.6.0 > > Attachments: h6702_20140719.patch, h6702_20140721.patch, > h6702_20140721b.patch, h6702_20140722.patch > > > When DFSClient asks NN for a new block (via addBlock), NN returns a > LocatedBlock with storage type information. However, DFSClient does not use > StorageType to create blocks with DN. As a result, the block replicas could > possibly be created with a different storage type. -- This message was sent by Atlassian JIRA (v6.2#6252)