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

NFS configuration nfs.dump.dir not working

    Details

    • Hadoop Flags:
      Reviewed

      Description

      As per the document
      http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-hdfs/HdfsNfsGateway.html

      we can configure

      nfs.dump.dir

      as nfs file dump directory, but using this configuration in hdfs-site.xml doesn't work and when nfs gateway is started, default location is used i.e \tmp\.hdfs-nfs

      The reason being the key expected in NfsConfigKeys.java

      public static final String DFS_NFS_FILE_DUMP_DIR_KEY = "nfs.file.dump.dir";
      

      we can change it to nfs.dump.dir instead

        Activity

        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2138 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2138/)
        HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk #2138 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2138/ ) HDFS-8274 . NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #190 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/190/)
        HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8)

        • hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #190 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/190/ ) HDFS-8274 . NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8) hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #180 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/180/)
        HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #180 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/180/ ) HDFS-8274 . NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2120 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2120/)
        HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8)

        • hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2120 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2120/ ) HDFS-8274 . NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8) hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk #922 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/922/)
        HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #922 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/922/ ) HDFS-8274 . NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #191 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/191/)
        HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8)

        • hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #191 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/191/ ) HDFS-8274 . NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8) hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-trunk-Commit #7777 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7777/)
        HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8)

        • hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-trunk-Commit #7777 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7777/ ) HDFS-8274 . NFS configuration nfs.dump.dir not working (Contributed by Ajith S) (arp: rev cd6b26cce7457d08346b9d90a5f2f333ba4202d8) hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/conf/NfsConfigKeys.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        arpitagarwal Arpit Agarwal added a comment -

        Committed for 2.8.0. Thanks Ajith S

        Show
        arpitagarwal Arpit Agarwal added a comment - Committed for 2.8.0. Thanks Ajith S
        Hide
        arpitagarwal Arpit Agarwal added a comment -

        +1 for the patch. Thanks for reporting and fixing this. I will commit it shortly.

        Show
        arpitagarwal Arpit Agarwal added a comment - +1 for the patch. Thanks for reporting and fixing this. I will commit it shortly.
        Hide
        ajithshetty Ajith S added a comment -

        Whitespace error not related to the patch.
        Testcases are not required

        Show
        ajithshetty Ajith S added a comment - Whitespace error not related to the patch. Testcases are not required
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 14m 38s Pre-patch trunk compilation is healthy.
        +1 @author 0m 0s The patch does not contain any @author tags.
        -1 tests included 0m 0s 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 7m 30s There were no new javac warning messages.
        +1 javadoc 9m 41s There were no new javadoc warning messages.
        +1 release audit 0m 22s The applied patch does not increase the total number of release audit warnings.
        +1 checkstyle 0m 21s There were no new checkstyle issues.
        -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix.
        +1 install 1m 34s mvn install still works.
        +1 eclipse:eclipse 0m 32s The patch built with eclipse:eclipse.
        +1 findbugs 0m 39s The patch does not introduce any new Findbugs (version 2.0.3) warnings.
        +1 native 3m 13s Pre-build of native portion
        +1 hdfs tests 1m 49s Tests passed in hadoop-hdfs-nfs.
            40m 25s  



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12731164/HDFS-8274.patch
        Optional Tests javadoc javac unit findbugs checkstyle
        git revision trunk / 8e991f4
        whitespace https://builds.apache.org/job/PreCommit-HDFS-Build/10845/artifact/patchprocess/whitespace.txt
        hadoop-hdfs-nfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/10845/artifact/patchprocess/testrun_hadoop-hdfs-nfs.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/10845/testReport/
        Java 1.7.0_55
        uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
        Console output https://builds.apache.org/job/PreCommit-HDFS-Build/10845/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 14m 38s Pre-patch trunk compilation is healthy. +1 @author 0m 0s The patch does not contain any @author tags. -1 tests included 0m 0s 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 7m 30s There were no new javac warning messages. +1 javadoc 9m 41s There were no new javadoc warning messages. +1 release audit 0m 22s The applied patch does not increase the total number of release audit warnings. +1 checkstyle 0m 21s There were no new checkstyle issues. -1 whitespace 0m 0s The patch has 1 line(s) that end in whitespace. Use git apply --whitespace=fix. +1 install 1m 34s mvn install still works. +1 eclipse:eclipse 0m 32s The patch built with eclipse:eclipse. +1 findbugs 0m 39s The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 native 3m 13s Pre-build of native portion +1 hdfs tests 1m 49s Tests passed in hadoop-hdfs-nfs.     40m 25s   Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12731164/HDFS-8274.patch Optional Tests javadoc javac unit findbugs checkstyle git revision trunk / 8e991f4 whitespace https://builds.apache.org/job/PreCommit-HDFS-Build/10845/artifact/patchprocess/whitespace.txt hadoop-hdfs-nfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/10845/artifact/patchprocess/testrun_hadoop-hdfs-nfs.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/10845/testReport/ Java 1.7.0_55 uname Linux asf900.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Console output https://builds.apache.org/job/PreCommit-HDFS-Build/10845/console This message was automatically generated.
        Hide
        ajithshetty Ajith S added a comment -

        Please review the patch. As per the analysis, corrected as per expected property

        Show
        ajithshetty Ajith S added a comment - Please review the patch. As per the analysis, corrected as per expected property
        Hide
        ajithshetty Ajith S added a comment -

        Seems to be affetected after HDFS-6056

        Show
        ajithshetty Ajith S added a comment - Seems to be affetected after HDFS-6056

          People

          • Assignee:
            ajithshetty Ajith S
            Reporter:
            ajithshetty Ajith S
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development