Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8078

Add capability to turn on security in unit tests.

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.24.0
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: test
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      We should be able to start a kdc server for unit tests, so that security could be turned on. This will greatly improve the coverage of unit tests.

      1. dn1.keytab
        0.1 kB
        Jaimin Jetly
      2. HADOOP-8078.patch
        25 kB
        Jaimin Jetly
      3. HADOOP-8078.patch
        23 kB
        Jaimin Jetly
      4. HADOOP-8078.patch
        32 kB
        Jaimin Jetly
      5. HADOOP-8078.patch
        32 kB
        Jaimin Jetly
      6. nn1.keytab
        0.1 kB
        Jaimin Jetly
      7. user1.keytab
        0.1 kB
        Jaimin Jetly

        Issue Links

          Activity

          Hide
          jaimin Jaimin Jetly added a comment -

          This is the first patch. The basic idea is to download apacheDS tar and start kerberos server if -DstartKdc=true option is given.
          The patch depends on some keytabs, which I will upload separately because they are binary files.

          Show
          jaimin Jaimin Jetly added a comment - This is the first patch. The basic idea is to download apacheDS tar and start kerberos server if -DstartKdc=true option is given. The patch depends on some keytabs, which I will upload separately because they are binary files.
          Hide
          jaimin Jaimin Jetly added a comment -

          To try the patch please download and add these patches in hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/ directory. It is this directory where these keytabs should be committed.
          To run the test just give -DstartKdc=true for example:
          mvn clean test -Dtest=TestUGIWithSecurityOn -DstartKdc=true

          Show
          jaimin Jaimin Jetly added a comment - To try the patch please download and add these patches in hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/ directory. It is this directory where these keytabs should be committed. To run the test just give -DstartKdc=true for example: mvn clean test -Dtest=TestUGIWithSecurityOn -DstartKdc=true
          Hide
          daryn Daryn Sharp added a comment -

          As an aside, it would be nice if it was possible to configure LoginContext to use some lightweight auth/authz for testing. However I think there's too much higher level code that breaks the abstraction by exposing/expecting kerberos. Is that true? Or is it already possible to swap in a stub auth/authz module that would allow tokens to be tested w/o kerberos?

          Show
          daryn Daryn Sharp added a comment - As an aside, it would be nice if it was possible to configure LoginContext to use some lightweight auth/authz for testing. However I think there's too much higher level code that breaks the abstraction by exposing/expecting kerberos. Is that true? Or is it already possible to swap in a stub auth/authz module that would allow tokens to be tested w/o kerberos?
          Hide
          jaimin Jaimin Jetly added a comment -

          This patch skips the unit test if option -DstartKdc is not specified or not set to "true".

          Show
          jaimin Jaimin Jetly added a comment - This patch skips the unit test if option -DstartKdc is not specified or not set to "true".
          Hide
          jnp Jitendra Nath Pandey added a comment -
          1. It might be better to add Assume statement in @Before, so that not every test in the file has to check for it.
          2. Indentation at some places in pom.xml can be fixed.
          3. Please don't catch and ignore the exception in TestSecureNameNode. If we don't catch it the stack trace will be available in test output anyway.
          Show
          jnp Jitendra Nath Pandey added a comment - It might be better to add Assume statement in @Before, so that not every test in the file has to check for it. Indentation at some places in pom.xml can be fixed. Please don't catch and ignore the exception in TestSecureNameNode. If we don't catch it the stack trace will be available in test output anyway.
          Hide
          jaimin Jaimin Jetly added a comment -

          The updated patch has the Assume statement in @Before. So all tests under the Junit class are skipped if -DstartKdc is not set to be true.
          Patch has fixed indentation.
          Also exceptions are no more caught within the test.

          Show
          jaimin Jaimin Jetly added a comment - The updated patch has the Assume statement in @Before. So all tests under the Junit class are skipped if -DstartKdc is not set to be true. Patch has fixed indentation. Also exceptions are no more caught within the 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/12516214/HADOOP-8078.patch
          against trunk revision .

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

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

          +1 javadoc. The javadoc tool did not generate any warning messages.

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

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

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) 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:
          org.apache.hadoop.fs.viewfs.TestViewFsTrash
          org.apache.hadoop.security.authorize.TestAccessControlList

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/633//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/633//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/12516214/HADOOP-8078.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 27 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) 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: org.apache.hadoop.fs.viewfs.TestViewFsTrash org.apache.hadoop.security.authorize.TestAccessControlList +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/633//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/633//console This message is automatically generated.
          Hide
          jaimin Jaimin Jetly added a comment -

          Updated patch has the Realm changed in TestAccessControlList.java to fix the test.

          Show
          jaimin Jaimin Jetly added a comment - Updated patch has the Realm changed in TestAccessControlList.java to fix the 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/12516247/HADOOP-8078.patch
          against trunk revision .

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

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

          +1 javadoc. The javadoc tool did not generate any warning messages.

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

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

          +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) 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 .

          +1 contrib tests. The patch passed contrib unit tests.

          Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/636//testReport/
          Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/636//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/12516247/HADOOP-8078.patch against trunk revision . +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 30 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 eclipse:eclipse. The patch built with eclipse:eclipse. +1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) 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 . +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-HADOOP-Build/636//testReport/ Console output: https://builds.apache.org/job/PreCommit-HADOOP-Build/636//console This message is automatically generated.
          Hide
          gkesavan Giridharan Kesavan added a comment -

          +1 verified by applying the patch.

          Show
          gkesavan Giridharan Kesavan added a comment - +1 verified by applying the patch.
          Hide
          jnp Jitendra Nath Pandey added a comment -

          I have committed this. Thanks to Jaimin Jetly.

          Show
          jnp Jitendra Nath Pandey added a comment - I have committed this. Thanks to Jaimin Jetly.
          Hide
          hudson Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk-Commit #1867 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1867/)
          HADOOP-8078. Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478)

          Result = SUCCESS
          jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Show
          hudson Hudson added a comment - Integrated in Hadoop-Hdfs-trunk-Commit #1867 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1867/ ) HADOOP-8078 . Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478) Result = SUCCESS jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Hide
          hudson Hudson added a comment -

          Integrated in Hadoop-Common-trunk-Commit #1793 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1793/)
          HADOOP-8078. Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478)

          Result = SUCCESS
          jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Show
          hudson Hudson added a comment - Integrated in Hadoop-Common-trunk-Commit #1793 (See https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1793/ ) HADOOP-8078 . Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478) Result = SUCCESS jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Hide
          hudson Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk-Commit #1803 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1803/)
          HADOOP-8078. Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478)

          Result = ABORTED
          jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Show
          hudson Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk-Commit #1803 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1803/ ) HADOOP-8078 . Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478) Result = ABORTED jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Hide
          hudson Hudson added a comment -

          Integrated in Hadoop-Hdfs-trunk #969 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/969/)
          HADOOP-8078. Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478)

          Result = UNSTABLE
          jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Show
          hudson Hudson added a comment - Integrated in Hadoop-Hdfs-trunk #969 (See https://builds.apache.org/job/Hadoop-Hdfs-trunk/969/ ) HADOOP-8078 . Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478) Result = UNSTABLE jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Hide
          hudson Hudson added a comment -

          Integrated in Hadoop-Mapreduce-trunk #1004 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1004/)
          HADOOP-8078. Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478)

          Result = SUCCESS
          jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478
          Files :

          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml
          • /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf
          Show
          hudson Hudson added a comment - Integrated in Hadoop-Mapreduce-trunk #1004 (See https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1004/ ) HADOOP-8078 . Add capability to turn on security in unit tests. Contributed by Jaimin Jetly. (Revision 1294478) Result = SUCCESS jitendra : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1294478 Files : /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt /hadoop/common/trunk/hadoop-common-project/hadoop-common/pom.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/TestUGIWithSecurityOn.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/authorize/TestAccessControlList.java /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/dn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/nn1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/keytabs/user1.keytab /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/killKdc.sh /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/ldif/users.ldif /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/kdc/server.xml /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/resources/krb5.conf

            People

            • Assignee:
              jaimin Jaimin Jetly
              Reporter:
              jnp Jitendra Nath Pandey
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development