Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-422

Build break with JVM IBM JAVA

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      RHEL 7 - power pc 64 - maven 3.2.1 - Java home: /home/jdk/ibm/ibm-java-ppc64-71/jre

      Description

      The build failed with JVM IBM JAVA : Java version: 1.7.0, vendor: IBM Corporation
      [INFO] 30 errors
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] Reactor Summary:
      [INFO]
      [INFO] gateway ........................................... SUCCESS [ 0.510 s]
      [INFO] gateway-test-utils ................................ SUCCESS [ 1.631 s]
      [INFO] gateway-i18n ...................................... SUCCESS [ 0.290 s]
      [INFO] gateway-util-common ............................... SUCCESS [ 0.566 s]
      [INFO] gateway-util-launcher ............................. SUCCESS [ 0.190 s]
      [INFO] gateway-util-urltemplate .......................... SUCCESS [ 0.345 s]
      [INFO] gateway-test-ldap ................................. SUCCESS [ 0.349 s]
      [INFO] gateway-test-ldap-launcher ........................ SUCCESS [ 0.030 s]
      [INFO] gateway-i18n-logging-log4j ........................ SUCCESS [ 0.064 s]
      [INFO] gateway-i18n-logging-sl4j ......................... SUCCESS [ 0.060 s]
      [INFO] gateway-spi ....................................... FAILURE [ 0.701 s]
      ...
      [ERROR] COMPILATION ERROR :
      [INFO] -------------------------------------------------------------
      [ERROR] /home/pascal/release/ibmsoe/knox/gateway-spi/src/main/java/org/apache/hadoop/gateway/services/security/impl/BaseKeystoreService.java:[88,9] cannot find symbol
      symbol: class X509CertInfo
      ...

      On /home/pascal/release/ibmsoe/knox/gateway-spi/src/main/java/org/apache/hadoop/gateway/services/security/impl/BaseKeystoreService.java

      import sun.security.x509.*; is not available with the JVM IBM JAVA

        Attachments

        1. KNOX-422-4.patch
          20 kB
          pascal oliva
        2. KNOX-422-3.patch
          17 kB
          pascal oliva
        3. KNOX-422-2.patch
          14 kB
          pascal oliva
        4. KNOX-422-1.patch
          5 kB
          pascal oliva

          Issue Links

            Activity

              People

              • Assignee:
                lmccay Larry McCay
                Reporter:
                poliva pascal oliva
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: