Skip to content

Commit 7bdfbd5

Browse files
committed
fixup! YARN-10901. Fix permission checking error on an existing directory in LogAggregationFileController.
Change-Id: Id48d073d036b939236f73b2755c2e4e8c3c4227a
1 parent 5a980a4 commit 7bdfbd5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/logaggregation/filecontroller/TestLogAggregationFileController.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.apache.hadoop.fs.FileSystem;
2424
import org.apache.hadoop.fs.Path;
2525
import org.apache.hadoop.fs.permission.FsPermission;
26-
import org.apache.hadoop.metrics2.MetricsInfo;
2726
import org.apache.hadoop.security.UserGroupInformation;
2827
import org.apache.hadoop.yarn.conf.YarnConfiguration;
2928
import org.junit.Assert;
@@ -34,7 +33,6 @@
3433
import java.io.FileNotFoundException;
3534
import java.net.URI;
3635

37-
import static org.apache.hadoop.thirdparty.com.google.common.base.Preconditions.checkNotNull;
3836
import static org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController.TLDIR_PERMISSIONS;
3937
import static org.mockito.ArgumentMatchers.any;
4038
import static org.mockito.ArgumentMatchers.argThat;

0 commit comments

Comments
 (0)