Skip to content

Commit 2ebe82e

Browse files
committed
Revert "HADOOP-17461. RawLocal streams capabilties and checkstyle"
This reverts commit de12dbe.
1 parent de12dbe commit 2ebe82e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/RawLocalFileSystem.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,6 @@ public boolean hasCapability(String capability) {
278278
// new capabilities.
279279
switch (capability.toLowerCase(Locale.ENGLISH)) {
280280
case StreamCapabilities.IOSTATISTICS:
281-
case StreamCapabilities.IOSTATISTICS_CONTEXT:
282281
case StreamCapabilities.VECTOREDIO:
283282
return true;
284283
default:
@@ -486,7 +485,6 @@ public boolean hasCapability(String capability) {
486485
// new capabilities.
487486
switch (capability.toLowerCase(Locale.ENGLISH)) {
488487
case StreamCapabilities.IOSTATISTICS:
489-
case StreamCapabilities.IOSTATISTICS_CONTEXT:
490488
return true;
491489
default:
492490
return StoreImplementationUtils.isProbeForSyncable(capability);

hadoop-tools/hadoop-aws/src/test/java/org/apache/hadoop/fs/s3a/ITestS3AIOStatisticsContext.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public class ITestS3AIOStatisticsContext extends AbstractS3ATestBase {
6161
private static final int BYTES_BIG = 100;
6262
private static final int BYTES_SMALL = 50;
6363
private static final String[] IOSTATISTICS_CONTEXT_CAPABILITY =
64-
new String[] {StreamCapabilities.IOSTATISTICS_CONTEXT };
64+
new String[] { StreamCapabilities.IOSTATISTICS_CONTEXT };
6565
private ExecutorService executor;
6666

6767
@Override

0 commit comments

Comments
 (0)