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

CheckAccess in WebHDFS silently accepts malformed FsActions parameters

    Details

    • Hadoop Flags:
      Reviewed

      Description

      WebHDFS's CHECKACCESS operation accepts a parameter called fsaction, which represents the type(s) of access to check for.

      According to the documentation, and also the source code, the domain of fsaction is the set of strings matched by the regex "[rwx-]{3}". This domain is wider than the set of valid FsAction objects, because it doesn't guarantee sensible ordering of access types. For example, the strings "rxw" and "--r" are valid fsaction parameter values, but don't correspond to valid FsAction instances.

      The result is that WebHDFS silently accepts fsaction parameter values which don't match any valid FsAction instance, but doesn't actually perform any permissions checking in this case.

      For example, here's a CHECKACCESS call where we request "rw-" access on a file which we only have permission to read and execute. It raises an exception, as it should.

      curl -i -X GET "http://localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody&fsaction=r-x"
      
      HTTP/1.1 403 Forbidden
      Content-Type: application/json
      
      {
        "RemoteException": {
          "exception": "AccessControlException",
          "javaClassName": "org.apache.hadoop.security.AccessControlException",
          "message": "Permission denied: user=nobody, access=READ_WRITE, inode=\"\/myfile\":root:supergroup:drwxr-xr-x"
        }
      }
      

      But if we instead request "r-w" access, the call appears to succeed:

      curl -i -X GET "http://localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody&fsaction=r-w"
      
      HTTP/1.1 200 OK
      Content-Length: 0
      

      As I see it, the fix would be to change the regex pattern in FsActionParam to something like "[r-][w-][x-]".

      1. HDFS-8037.001.patch
        1 kB
        Walter Su
      2. HDFS-8037.002.patch
        2 kB
        Walter Su
      3. HDFS-8037.003.patch
        3 kB
        Walter Su

        Activity

        Hide
        walter.k.su Walter Su added a comment -

        fsaction=r-w doesn't match POSIX style, but it matches regex "[rwx-]{3}".
        Currently, The behaviour on the server side:
        The request passes argument checks in FsActionParam.parse(.), so the server doesn't return IllegalArgumentException.
        In FsAction.getFsAction(..), r-w doesn't match any enum types, so the function returns null.
        FSPermissionChecker.checkPermission(..) will NOT throw AccessControlException if access==null
        Currently, The behaviour on the client side:

        curl -X GET "http://localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody&fsaction=r-w"
        

        is the same as

        curl -X GET "http://localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody&fsaction=null"
        

        is the same as

        curl -X GET "http://localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody"
        

        This behaviour is not right, we should fix it. It should be like the filesystem in linux

         # chmod rxw /tmp/tmpfile
        chmod: invalid mode: `rxw'
        Try `chmod --help' for more information.
        

        In conclustion
        We should change the regex pattern in FsActionParam to "[r-][w-][x-]" as Jake Low proposed, and the server should throws IllegalArgumentException if the argument doesn't match POSIX style.

        Show
        walter.k.su Walter Su added a comment - fsaction=r-w doesn't match POSIX style, but it matches regex "[rwx-]{3}" . Currently, The behaviour on the server side: The request passes argument checks in FsActionParam.parse(.) , so the server doesn't return IllegalArgumentException . In FsAction.getFsAction(..) , r-w doesn't match any enum types, so the function returns null . FSPermissionChecker.checkPermission(..) will NOT throw AccessControlException if access==null Currently, The behaviour on the client side: curl -X GET "http: //localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody&fsaction=r-w" is the same as curl -X GET "http: //localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody&fsaction= null " is the same as curl -X GET "http: //localhost:50070/webhdfs/v1/myfile?op=CHECKACCESS&user.name=nobody" This behaviour is not right, we should fix it. It should be like the filesystem in linux # chmod rxw /tmp/tmpfile chmod: invalid mode: `rxw' Try `chmod --help' for more information. In conclustion We should change the regex pattern in FsActionParam to "[r-][w-][x-]" as Jake Low proposed, and the server should throws IllegalArgumentException if the argument doesn't match POSIX style.
        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/12708636/HDFS-8037.001.patch
        against trunk revision c69ba81.

        +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 passed unit tests in hadoop-hdfs-project/hadoop-hdfs.

        Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/10140//testReport/
        Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/10140//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/12708636/HDFS-8037.001.patch against trunk revision c69ba81. +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 passed unit tests in hadoop-hdfs-project/hadoop-hdfs. Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/10140//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/10140//console This message is automatically generated.
        Hide
        walter.k.su Walter Su added a comment -

        update patch against trunk.

        Show
        walter.k.su Walter Su added a comment - update patch against trunk.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 17m 59s 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 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 javac 7m 26s There were no new javac warning messages.
        +1 javadoc 9m 33s There were no new javadoc warning messages.
        +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
        +1 site 2m 54s Site still builds.
        +1 checkstyle 5m 28s There were no new checkstyle issues.
        +1 install 1m 38s mvn install still works.
        +1 eclipse:eclipse 0m 32s The patch built with eclipse:eclipse.
        +1 findbugs 3m 43s The patch does not introduce any new Findbugs (version 2.0.3) warnings.
        +1 native 3m 11s Pre-build of native portion
        -1 hdfs tests 185m 49s Tests failed in hadoop-hdfs.
        +1 hdfs tests 0m 17s Tests passed in hadoop-hdfs-client.
            239m 2s  



        Reason Tests
        Failed unit tests hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
          hadoop.hdfs.server.blockmanagement.TestDatanodeManager



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12728690/HDFS-8037.002.patch
        Optional Tests javadoc javac unit findbugs checkstyle site
        git revision trunk / feb68cb
        hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/10427/artifact/patchprocess/testrun_hadoop-hdfs.txt
        hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/10427/artifact/patchprocess/testrun_hadoop-hdfs-client.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/10427/testReport/
        Java 1.7.0_55
        uname Linux asf906.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/10427/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 17m 59s 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 whitespace 0m 0s The patch has no lines that end in whitespace. +1 javac 7m 26s There were no new javac warning messages. +1 javadoc 9m 33s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 site 2m 54s Site still builds. +1 checkstyle 5m 28s There were no new checkstyle issues. +1 install 1m 38s mvn install still works. +1 eclipse:eclipse 0m 32s The patch built with eclipse:eclipse. +1 findbugs 3m 43s The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 native 3m 11s Pre-build of native portion -1 hdfs tests 185m 49s Tests failed in hadoop-hdfs. +1 hdfs tests 0m 17s Tests passed in hadoop-hdfs-client.     239m 2s   Reason Tests Failed unit tests hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA   hadoop.hdfs.server.blockmanagement.TestDatanodeManager Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12728690/HDFS-8037.002.patch Optional Tests javadoc javac unit findbugs checkstyle site git revision trunk / feb68cb hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/10427/artifact/patchprocess/testrun_hadoop-hdfs.txt hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/10427/artifact/patchprocess/testrun_hadoop-hdfs-client.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/10427/testReport/ Java 1.7.0_55 uname Linux asf906.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/10427/console This message was automatically generated.
        Hide
        wheat9 Haohui Mai added a comment -

        Good catch. Can you please add a unit test?

        Show
        wheat9 Haohui Mai added a comment - Good catch. Can you please add a unit test?
        Hide
        walter.k.su Walter Su added a comment -

        003 patch add unit test. Please review.

        Show
        walter.k.su Walter Su added a comment - 003 patch add unit test. Please review.
        Hide
        hadoopqa Hadoop QA added a comment -



        -1 overall



        Vote Subsystem Runtime Comment
        0 pre-patch 17m 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 appears to include 1 new or modified test files.
        +1 javac 7m 30s There were no new javac warning messages.
        +1 javadoc 9m 40s There were no new javadoc warning messages.
        +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings.
        +1 site 2m 56s Site still builds.
        -1 checkstyle 2m 22s The applied patch generated 2 new checkstyle issues (total was 361, now 361).
        +1 whitespace 0m 0s The patch has no lines that end in whitespace.
        +1 install 1m 32s mvn install still works.
        +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse.
        +1 findbugs 3m 43s The patch does not introduce any new Findbugs (version 2.0.3) warnings.
        +1 native 3m 14s Pre-build of native portion
        -1 hdfs tests 192m 3s Tests failed in hadoop-hdfs.
        +1 hdfs tests 0m 16s Tests passed in hadoop-hdfs-client.
            242m 12s  



        Reason Tests
        Failed unit tests hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA
          hadoop.hdfs.server.namenode.TestFileTruncate
          hadoop.tracing.TestTraceAdmin
        Timed out tests org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager



        Subsystem Report/Notes
        Patch URL http://issues.apache.org/jira/secure/attachment/12730825/HDFS-8037.003.patch
        Optional Tests javadoc javac unit findbugs checkstyle site
        git revision trunk / a583a40
        checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/10832/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt
        hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/10832/artifact/patchprocess/testrun_hadoop-hdfs.txt
        hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/10832/artifact/patchprocess/testrun_hadoop-hdfs-client.txt
        Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/10832/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/10832/console

        This message was automatically generated.

        Show
        hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment 0 pre-patch 17m 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 appears to include 1 new or modified test files. +1 javac 7m 30s There were no new javac warning messages. +1 javadoc 9m 40s There were no new javadoc warning messages. +1 release audit 0m 23s The applied patch does not increase the total number of release audit warnings. +1 site 2m 56s Site still builds. -1 checkstyle 2m 22s The applied patch generated 2 new checkstyle issues (total was 361, now 361). +1 whitespace 0m 0s The patch has no lines that end in whitespace. +1 install 1m 32s mvn install still works. +1 eclipse:eclipse 0m 33s The patch built with eclipse:eclipse. +1 findbugs 3m 43s The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 native 3m 14s Pre-build of native portion -1 hdfs tests 192m 3s Tests failed in hadoop-hdfs. +1 hdfs tests 0m 16s Tests passed in hadoop-hdfs-client.     242m 12s   Reason Tests Failed unit tests hadoop.hdfs.server.namenode.ha.TestRetryCacheWithHA   hadoop.hdfs.server.namenode.TestFileTruncate   hadoop.tracing.TestTraceAdmin Timed out tests org.apache.hadoop.hdfs.server.blockmanagement.TestDatanodeManager Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12730825/HDFS-8037.003.patch Optional Tests javadoc javac unit findbugs checkstyle site git revision trunk / a583a40 checkstyle https://builds.apache.org/job/PreCommit-HDFS-Build/10832/artifact/patchprocess/diffcheckstylehadoop-hdfs.txt hadoop-hdfs test log https://builds.apache.org/job/PreCommit-HDFS-Build/10832/artifact/patchprocess/testrun_hadoop-hdfs.txt hadoop-hdfs-client test log https://builds.apache.org/job/PreCommit-HDFS-Build/10832/artifact/patchprocess/testrun_hadoop-hdfs-client.txt Test Results https://builds.apache.org/job/PreCommit-HDFS-Build/10832/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/10832/console This message was automatically generated.
        Hide
        wheat9 Haohui Mai added a comment -

        I've committed the patch to trunk and branch-2. Thanks Walter Su for the contribution.

        Show
        wheat9 Haohui Mai added a comment - I've committed the patch to trunk and branch-2. Thanks Walter Su for the contribution.
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-trunk-Commit #7763 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7763/)
        HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-trunk-Commit #7763 (See https://builds.apache.org/job/Hadoop-trunk-Commit/7763/ ) HDFS-8037 . CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk #921 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/921/)
        HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk #921 (See https://builds.apache.org/job/Hadoop-Yarn-trunk/921/ ) HDFS-8037 . CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #190 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/190/)
        HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Yarn-trunk-Java8 #190 (See https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/190/ ) HDFS-8037 . CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk #2119 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2119/)
        HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11)

        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk #2119 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/2119/ ) HDFS-8037 . CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #179 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/179/)
        HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11)

        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #179 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/179/ ) HDFS-8037 . CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11) hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        Hide
        hudson Hudson added a comment -

        FAILURE: Integrated in Hadoop-Mapreduce-trunk #2137 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2137/)
        HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11)

        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        Show
        hudson Hudson added a comment - FAILURE: Integrated in Hadoop-Mapreduce-trunk #2137 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2137/ ) HDFS-8037 . CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11) hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        Hide
        hudson Hudson added a comment -

        SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #189 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/189/)
        HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11)

        • hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
        • hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md
        • hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java
        • hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java
        Show
        hudson Hudson added a comment - SUCCESS: Integrated in Hadoop-Mapreduce-trunk-Java8 #189 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/189/ ) HDFS-8037 . CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. (wheat9: rev 4d9f9e546ff9d8de75d08bf17d038c7d1ed3bc11) hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/WebHDFS.md hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/resources/TestParam.java hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/web/resources/FsActionParam.java

          People

          • Assignee:
            walter.k.su Walter Su
            Reporter:
            jake-low Jake Low
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development