HDFS-4438. TestDomainSocket fails when system umask is set to 0002. Contributed by Colin Patrick McCabe.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-347@1438279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f5ab88b5b7
commit
554774c6d1
|
@ -646,7 +646,7 @@ public class TestDomainSocket {
|
||||||
*/
|
*/
|
||||||
private static void testValidateSocketPath(String str, String prefix)
|
private static void testValidateSocketPath(String str, String prefix)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
int skipComponents = 0;
|
int skipComponents = 1;
|
||||||
File prefixFile = new File(prefix);
|
File prefixFile = new File(prefix);
|
||||||
while (true) {
|
while (true) {
|
||||||
prefixFile = prefixFile.getParentFile();
|
prefixFile = prefixFile.getParentFile();
|
||||||
|
|
|
@ -35,3 +35,5 @@ HDFS-4417. Fix case where local reads get disabled incorrectly
|
||||||
(Colin Patrick McCabe and todd via todd)
|
(Colin Patrick McCabe and todd via todd)
|
||||||
|
|
||||||
HDFS-4433. Make TestPeerCache not flaky (Colin Patrick McCabe via todd)
|
HDFS-4433. Make TestPeerCache not flaky (Colin Patrick McCabe via todd)
|
||||||
|
|
||||||
|
HDFS-4438. TestDomainSocket fails when system umask is set to 0002. (Colin Patrick McCabe via atm)
|
||||||
|
|
Loading…
Reference in New Issue