HDFS-11795. Fix ASF License warnings in branch-2.7. Contributed by Yiqun Lin.
This commit is contained in:
parent
48c5e37abf
commit
f052976ff1
@ -269,6 +269,9 @@ Release 2.7.4 - UNRELEASED
|
||||
(File mtime change could not save to editlog).
|
||||
(Contributed by Jimmy Xiang, backported by Akira Ajisaka)
|
||||
|
||||
HDFS-11795. Fix ASF License warnings in branch-2.7.
|
||||
(Yiqun Lin via aajisaka)
|
||||
|
||||
Release 2.7.3 - 2016-08-25
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -387,7 +387,7 @@ public void testNodeDecomissionRespectsRackPolicy() throws Exception {
|
||||
// Configure an excludes file
|
||||
FileSystem localFileSys = FileSystem.getLocal(conf);
|
||||
Path workingDir = localFileSys.getWorkingDirectory();
|
||||
Path dir = new Path(workingDir, "build/test/data/temp/decommission");
|
||||
Path dir = new Path(workingDir, MiniDFSCluster.getBaseDirectory());
|
||||
Path excludeFile = new Path(dir, "exclude");
|
||||
Path includeFile = new Path(dir, "include");
|
||||
assertTrue(localFileSys.mkdirs(dir));
|
||||
@ -440,7 +440,7 @@ public void testNodeDecomissionWithOverreplicationRespectsRackPolicy()
|
||||
// Configure an excludes file
|
||||
FileSystem localFileSys = FileSystem.getLocal(conf);
|
||||
Path workingDir = localFileSys.getWorkingDirectory();
|
||||
Path dir = new Path(workingDir, "build/test/data/temp/decommission");
|
||||
Path dir = new Path(workingDir, MiniDFSCluster.getBaseDirectory());
|
||||
Path excludeFile = new Path(dir, "exclude");
|
||||
Path includeFile = new Path(dir, "include");
|
||||
assertTrue(localFileSys.mkdirs(dir));
|
||||
|
@ -82,7 +82,7 @@ public void testHostsExcludeInUI() throws Exception {
|
||||
// Configure an excludes file
|
||||
FileSystem localFileSys = FileSystem.getLocal(conf);
|
||||
Path workingDir = localFileSys.getWorkingDirectory();
|
||||
Path dir = new Path(workingDir, "build/test/data/temp/decommission");
|
||||
Path dir = new Path(workingDir, MiniDFSCluster.getBaseDirectory());
|
||||
Path excludeFile = new Path(dir, "exclude");
|
||||
Path includeFile = new Path(dir, "include");
|
||||
assertTrue(localFileSys.mkdirs(dir));
|
||||
@ -137,7 +137,7 @@ public void testHostsIncludeForDeadCount() throws Exception {
|
||||
// Configure an excludes file
|
||||
FileSystem localFileSys = FileSystem.getLocal(conf);
|
||||
Path workingDir = localFileSys.getWorkingDirectory();
|
||||
Path dir = new Path(workingDir, "build/test/data/temp/decommission");
|
||||
Path dir = new Path(workingDir, MiniDFSCluster.getBaseDirectory());
|
||||
Path excludeFile = new Path(dir, "exclude");
|
||||
Path includeFile = new Path(dir, "include");
|
||||
assertTrue(localFileSys.mkdirs(dir));
|
||||
|
@ -228,8 +228,7 @@ public void testLastContactTime() throws Exception {
|
||||
// Define include file to generate deadNodes metrics
|
||||
FileSystem localFileSys = FileSystem.getLocal(conf);
|
||||
Path workingDir = localFileSys.getWorkingDirectory();
|
||||
Path dir = new Path(workingDir,
|
||||
"build/test/data/temp/TestNameNodeMXBean");
|
||||
Path dir = new Path(workingDir, MiniDFSCluster.getBaseDirectory());
|
||||
Path includeFile = new Path(dir, "include");
|
||||
assertTrue(localFileSys.mkdirs(dir));
|
||||
StringBuilder includeHosts = new StringBuilder();
|
||||
|
Loading…
x
Reference in New Issue
Block a user