Skip to content

Commit 8bdb304

Browse files
author
Ritesh Garg
committed
Adding extraline to trigger tests
1 parent 6728e40 commit 8bdb304

File tree

8 files changed

+9
-1
lines changed

8 files changed

+9
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,6 +1848,7 @@ boolean createBlockOutputStream(DatanodeInfo[] nodes,
18481848
LOG.info("nodes are empty for write pipeline of " + block);
18491849
return false;
18501850
}
1851+
18511852
String firstBadLink = "";
18521853
boolean checkRestart = false;
18531854
if (LOG.isDebugEnabled()) {

hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/StripedDataStreamer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ private LocatedBlock getFollowingBlock() throws IOException {
8989
return coordinator.getFollowingBlocks().poll(index);
9090
}
9191

92+
9293
@Override
9394
protected LocatedBlock nextBlockOutputStream() throws IOException {
9495
boolean success;

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ class BlockReceiver implements Closeable {
148148
private final AtomicLong lastSentTime = new AtomicLong(0L);
149149
private long maxSendIdleTime;
150150

151+
151152
BlockReceiver(final ExtendedBlock block, final StorageType storageType,
152153
final DataInputStream in,
153154
final String inAddr, final String myAddr,

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/FsDatasetSpi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public boolean isSimulated() {
9696
}
9797
}
9898

99+
99100
/**
100101
* It behaviors as an unmodifiable list of FsVolume. Individual FsVolume can
101102
* be obtained by using {@link #get(int)}.

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,6 +1583,7 @@ public Replica recoverClose(ExtendedBlock b, long newGS,
15831583
}
15841584
}
15851585

1586+
15861587
@Override // FsDatasetSpi
15871588
public ReplicaHandler createRbw(
15881589
StorageType storageType, String storageId, ExtendedBlock b,

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ public class TestDistributedFileSystem {
150150
private boolean dualPortTesting = false;
151151

152152
private boolean noXmlDefaults = false;
153-
153+
154+
154155
HdfsConfiguration getTestConfiguration() {
155156
HdfsConfiguration conf;
156157
if (noXmlDefaults) {

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/SimulatedFSDataset.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public SimulatedFSDataset newInstance(DataNode datanode,
104104
return new SimulatedFSDataset(datanode, storage, conf);
105105
}
106106

107+
107108
@Override
108109
public boolean isSimulated() {
109110
return true;

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public class ExternalDatasetImpl implements FsDatasetSpi<ExternalVolumeImpl> {
5454
DatanodeStorage.generateUuid(), DatanodeStorage.State.NORMAL,
5555
StorageType.DEFAULT);
5656

57+
5758
@Override
5859
public FsVolumeReferences getFsVolumeReferences() {
5960
return null;

0 commit comments

Comments
 (0)