MAPREDUCE-3728. ShuffleHandler can't access results when configured in a secure mode (ahmed via tucu)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1295245 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2249e004d0
commit
2659fded83
|
@ -112,6 +112,9 @@ Release 0.23.3 - UNRELEASED
|
||||||
|
|
||||||
MAPREDUCE-3933. Failures because MALLOC_ARENA_MAX is not set (ahmed via tucu)
|
MAPREDUCE-3933. Failures because MALLOC_ARENA_MAX is not set (ahmed via tucu)
|
||||||
|
|
||||||
|
MAPREDUCE-3728. ShuffleHandler can't access results when configured in a
|
||||||
|
secure mode (ahmed via tucu)
|
||||||
|
|
||||||
Release 0.23.2 - UNRELEASED
|
Release 0.23.2 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -371,8 +371,6 @@ public class ContainerLocalizer {
|
||||||
Path appFileCacheDir = new Path(appBase, FILECACHE);
|
Path appFileCacheDir = new Path(appBase, FILECACHE);
|
||||||
appsFileCacheDirs[i] = appFileCacheDir.toString();
|
appsFileCacheDirs[i] = appFileCacheDir.toString();
|
||||||
lfs.mkdir(appFileCacheDir, null, false);
|
lfs.mkdir(appFileCacheDir, null, false);
|
||||||
// $x/usercache/$user/appcache/$appId/output
|
|
||||||
lfs.mkdir(new Path(appBase, OUTPUTDIR), null, false);
|
|
||||||
}
|
}
|
||||||
conf.setStrings(String.format(APPCACHE_CTXT_FMT, appId), appsFileCacheDirs);
|
conf.setStrings(String.format(APPCACHE_CTXT_FMT, appId), appsFileCacheDirs);
|
||||||
conf.setStrings(String.format(USERCACHE_CTXT_FMT, appId), usersFileCacheDirs);
|
conf.setStrings(String.format(USERCACHE_CTXT_FMT, appId), usersFileCacheDirs);
|
||||||
|
|
|
@ -177,9 +177,6 @@ public class TestContainerLocalizer {
|
||||||
// $x/usercache/$user/appcache/$appId/filecache
|
// $x/usercache/$user/appcache/$appId/filecache
|
||||||
Path appcache = new Path(appDir, ContainerLocalizer.FILECACHE);
|
Path appcache = new Path(appDir, ContainerLocalizer.FILECACHE);
|
||||||
verify(spylfs).mkdir(eq(appcache), isA(FsPermission.class), eq(false));
|
verify(spylfs).mkdir(eq(appcache), isA(FsPermission.class), eq(false));
|
||||||
// $x/usercache/$user/appcache/$appId/output
|
|
||||||
Path appOutput = new Path(appDir, ContainerLocalizer.OUTPUTDIR);
|
|
||||||
verify(spylfs).mkdir(eq(appOutput), isA(FsPermission.class), eq(false));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify tokens read at expected location
|
// verify tokens read at expected location
|
||||||
|
|
Loading…
Reference in New Issue