Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.0.1
-
None
Description
Unit tests fail due to Java 1.7 code
[INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[27,21] package java.nio.file does not exist [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[28,21] package java.nio.file does not exist [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[29,21] package java.nio.file does not exist [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[30,31] package java.nio.file.attribute does not exist [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[40,5] cannot find symbol symbol : class Path location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[41,9] cannot find symbol symbol : class PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[49,12] cannot find symbol symbol : variable Paths location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[52,19] cannot find symbol symbol : variable Files location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[57,44] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[58,44] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[59,44] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[60,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[61,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[62,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[63,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[64,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[65,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[74,12] cannot find symbol symbol : variable Paths location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[77,19] cannot find symbol symbol : variable Files location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[81,44] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[82,44] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[83,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[84,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[85,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[86,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[87,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[88,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [ERROR] /grid/0/jenkins/workspace/Ambari-Rpm-Repo-2.0.1-Dev/label/centos6-builds/build/hdp-BUILDS/ambari/ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerActionTest.java:[89,45] cannot find symbol symbol : variable PosixFilePermission location: class org.apache.ambari.server.serveraction.kerberos.CreateKeytabFilesServerActionTest [INFO] 28 errors [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------