Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8179

DFSClient#getServerDefaults returns null within 1 hour of system start

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.1, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      We recently hit NPE during Ambari Oozie service check. The failed hdfs command is below. It repros sometimes and then go away after the cluster runs for a while.

      [ambari-qa@c6401 ~]$ hadoop --config /etc/hadoop/conf fs -rm -r /user/ambari-qa/mapredsmokeoutput
      rm: Failed to get server trash configuration: null. Consider using -skipTrash option
      

      With additional tracing, the failure was located to the following stack.

      15/04/17 20:57:12 DEBUG fs.Trash: Failed to get server trash configuration
      java.lang.NullPointerException
      	at org.apache.hadoop.fs.Trash.moveToAppropriateTrash(Trash.java:86)
      	at org.apache.hadoop.fs.shell.Delete$Rm.moveToTrash(Delete.java:117)
      	at org.apache.hadoop.fs.shell.Delete$Rm.processPath(Delete.java:104)
      	at org.apache.hadoop.fs.shell.Command.processPaths(Command.java:321)
      	at org.apache.hadoop.fs.shell.Command.processPathArgument(Command.java:293)
      	at org.apache.hadoop.fs.shell.Command.processArgument(Command.java:275)
      	at org.apache.hadoop.fs.shell.Command.processArguments(Command.java:259)
      	at org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:205)
      	at org.apache.hadoop.fs.shell.Command.run(Command.java:166)
      	at org.apache.hadoop.fs.FsShell.run(FsShell.java:287)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
      	at org.apache.hadoop.fs.FsShell.main(FsShell.java:340)
      rm: Failed to get server trash configuration: null. Consider using -skipTrash option
      
      1. HDFS-8179.00.patch
        3 kB
        Xiaoyu Yao
      2. HDFS-8179.01.patch
        5 kB
        Xiaoyu Yao

        Issue Links

          Activity

          Hide
          xyao Xiaoyu Yao added a comment -

          This is a bug in DFSClient#getServerDefaults(). There are two issues here

          1. DFSClient#serverDefaults is null within 1 hour (SERVER_DEFAULTS_VALIDITY_PERIOD) of NN start. The null serverDefaults is returned from DFSClient#getServerDefaults(), which causes the "hadoop fs -rm -r" NPE.

          2. HDFS-6841 changes to use Time#monotonicNow instead of Time.now(). It represents time elapsed since an arbitrary origin which should only be compared with value returned from Time#monotonicNow(). But the serverDefaultLastUpdate has an initial value of 0 through default initialization. It should be initialized with Time.monotonicNow(). There is similar issue Arpit Agarwal found in HDFS-8163.

          public FsServerDefaults getServerDefaults() throws IOException {  
          long now = Time.monotonicNow();
              if (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD) {
                serverDefaults = namenode.getServerDefaults();
                serverDefaultsLastUpdate = now;
              }
              return serverDefaults;
          

          The proposed fix:

          public FsServerDefaults getServerDefaults() throws IOException {  
          long now = Time.monotonicNow();
              if ((serverDefaults == null) || (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD)) {
                serverDefaults = namenode.getServerDefaults();
                serverDefaultsLastUpdate = now;
              }
              return serverDefaults;
          
          Show
          xyao Xiaoyu Yao added a comment - This is a bug in DFSClient#getServerDefaults(). There are two issues here 1. DFSClient#serverDefaults is null within 1 hour (SERVER_DEFAULTS_VALIDITY_PERIOD) of NN start. The null serverDefaults is returned from DFSClient#getServerDefaults(), which causes the "hadoop fs -rm -r" NPE. 2. HDFS-6841 changes to use Time#monotonicNow instead of Time.now(). It represents time elapsed since an arbitrary origin which should only be compared with value returned from Time#monotonicNow(). But the serverDefaultLastUpdate has an initial value of 0 through default initialization. It should be initialized with Time.monotonicNow(). There is similar issue Arpit Agarwal found in HDFS-8163 . public FsServerDefaults getServerDefaults() throws IOException { long now = Time.monotonicNow(); if (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD) { serverDefaults = namenode.getServerDefaults(); serverDefaultsLastUpdate = now; } return serverDefaults; The proposed fix: public FsServerDefaults getServerDefaults() throws IOException { long now = Time.monotonicNow(); if ((serverDefaults == null ) || (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD)) { serverDefaults = namenode.getServerDefaults(); serverDefaultsLastUpdate = now; } return serverDefaults;
          Hide
          xyao Xiaoyu Yao added a comment -

          Previously, we compare Time.now() - 0 against SERVER_DEFAULTS_VALIDITY_PERIOD (1 hour), which will definitely bootstrap the initialization of serverDefaults at any time. After HDFS-6841, it may take a while for Time.monotonicNow() - 0 to be greater than SERVER_DEFAULTS_VALIDITY_PERIOD to guarantee a non-null serverDefaults.

          Show
          xyao Xiaoyu Yao added a comment - Previously, we compare Time.now() - 0 against SERVER_DEFAULTS_VALIDITY_PERIOD (1 hour), which will definitely bootstrap the initialization of serverDefaults at any time. After HDFS-6841 , it may take a while for Time.monotonicNow() - 0 to be greater than SERVER_DEFAULTS_VALIDITY_PERIOD to guarantee a non-null serverDefaults.
          Hide
          xyao Xiaoyu Yao added a comment -

          Attach a patch that fixed the DFSClient#getServerDefaults() to initialize serverDefaults appropriately and added additional tracing at WARN level for Trash policy related failures to make future investigation easier.

          I've built private hadoop-common and hadoop-hdfs jars with the patch and verified it fixed the issue on the machine with the original repro. No new test is added because it is not easy to do physical machine restart in the unit test.

          Show
          xyao Xiaoyu Yao added a comment - Attach a patch that fixed the DFSClient#getServerDefaults() to initialize serverDefaults appropriately and added additional tracing at WARN level for Trash policy related failures to make future investigation easier. I've built private hadoop-common and hadoop-hdfs jars with the patch and verified it fixed the issue on the machine with the original repro. No new test is added because it is not easy to do physical machine restart in the unit test.
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12726347/HDFS-8179.00.patch
          against trunk revision f47a576.

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no new tests are needed for this patch.
          Also please list what manual steps were performed to verify this patch.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs:

          org.apache.hadoop.hdfs.TestFileCreation

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/10311//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/10311//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12726347/HDFS-8179.00.patch against trunk revision f47a576. +1 @author . The patch does not contain any @author tags. -1 tests included . The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The patch failed these unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.TestFileCreation Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/10311//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/10311//console This message is automatically generated.
          Hide
          xyao Xiaoyu Yao added a comment -

          The Jenkins failure is known and tracked by HDFS-8043.

          Show
          xyao Xiaoyu Yao added a comment - The Jenkins failure is known and tracked by HDFS-8043 .
          Hide
          xyao Xiaoyu Yao added a comment -

          Add a unit test for getServerDefaults().

          Show
          xyao Xiaoyu Yao added a comment - Add a unit test for getServerDefaults().
          Hide
          jnp Jitendra Nath Pandey added a comment -

          +1

          Show
          jnp Jitendra Nath Pandey added a comment - +1
          Hide
          arpitagarwal Arpit Agarwal added a comment -

          Hi Xiaoyu Yao, Quick question before you commit. I didn't look at the part of HDFS-6841 that regressed this but was the original regression in the NN server? It looks like the fix here is client side. Thanks, Arpit.

          Show
          arpitagarwal Arpit Agarwal added a comment - Hi Xiaoyu Yao , Quick question before you commit. I didn't look at the part of HDFS-6841 that regressed this but was the original regression in the NN server? It looks like the fix here is client side. Thanks, Arpit.
          Hide
          jnp Jitendra Nath Pandey added a comment -

          Arpit Agarwal,
          HDFS-6841 changed Times.now call to Times.monotonicNow, which revealed the original bug in DFSClient#getServerDefaults. The bug here was that "serverDefaults == null' was not handled, when called for the first time.

          -    if (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD) {
          +    if ((serverDefaults == null) ||
          +        (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD)) {
          

          Before HDFS-6841 "now" was Times.now() therefore, the "if condition" always returned true when called for the first time.

          Show
          jnp Jitendra Nath Pandey added a comment - Arpit Agarwal , HDFS-6841 changed Times.now call to Times.monotonicNow, which revealed the original bug in DFSClient#getServerDefaults. The bug here was that "serverDefaults == null' was not handled, when called for the first time. - if (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD) { + if ((serverDefaults == null ) || + (now - serverDefaultsLastUpdate > SERVER_DEFAULTS_VALIDITY_PERIOD)) { Before HDFS-6841 "now" was Times.now() therefore, the "if condition" always returned true when called for the first time.
          Hide
          arpitagarwal Arpit Agarwal added a comment -

          Thanks Jitendra Nath Pandey. Looked at the original change and the patch makes sense.

          +1 from me too.

          Show
          arpitagarwal Arpit Agarwal added a comment - Thanks Jitendra Nath Pandey . Looked at the original change and the patch makes sense. +1 from me too.
          Hide
          arpitagarwal Arpit Agarwal added a comment -

          Committed to trunk, branch-2 and branch-2.7.

          Thanks for the review Jitendra Nath Pandey.

          Show
          arpitagarwal Arpit Agarwal added a comment - Committed to trunk, branch-2 and branch-2.7. Thanks for the review Jitendra Nath Pandey .
          Hide
          hadoopqa Hadoop QA added a comment -

          +1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12726637/HDFS-8179.01.patch
          against trunk revision f967fd2.

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 1 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 javadoc. There were no new javadoc warning messages.

          +1 eclipse:eclipse. The patch built with eclipse:eclipse.

          +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          +1 core tests. The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs.

          Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/10321//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/10321//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12726637/HDFS-8179.01.patch against trunk revision f967fd2. +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 1 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 javadoc . There were no new javadoc warning messages. +1 eclipse:eclipse . The patch built with eclipse:eclipse. +1 findbugs . The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. +1 core tests . The patch passed unit tests in hadoop-common-project/hadoop-common hadoop-hdfs-project/hadoop-hdfs. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/10321//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/10321//console This message is automatically generated.
          Hide
          arpitagarwal Arpit Agarwal added a comment -

          I just realized I committed the v01 patch before Jenkins +1. My apologies.

          Show
          arpitagarwal Arpit Agarwal added a comment - I just realized I committed the v01 patch before Jenkins +1. My apologies.
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-trunk-Commit #7619 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7619/)
          HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7619 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7619/ ) HDFS-8179 . DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #170 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/170/)
          HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #170 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/170/ ) HDFS-8179 . DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Yarn-trunk #904 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/904/)
          HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Yarn-trunk #904 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/904/ ) HDFS-8179 . DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk #2102 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2102/)
          HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2102 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2102/ ) HDFS-8179 . DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #161 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/161/)
          HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05)

          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #161 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/161/ ) HDFS-8179 . DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #171 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/171/)
          HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05)

          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #171 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/171/ ) HDFS-8179 . DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2120 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2120/)
          HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05)

          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java
          • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java
          • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
          • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java
          • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2120 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2120/ ) HDFS-8179 . DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) (arp: rev c92f6f360515cc21ecb9b9f49b3e59537ef0cb05) hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/TrashPolicyDefault.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDistributedFileSystem.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/Trash.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java

            People

            • Assignee:
              xyao Xiaoyu Yao
              Reporter:
              xyao Xiaoyu Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development