hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LinseyPang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11542) Unit Test KeyStoreTestUtil.java compilation failure in IBM JDK
Date Mon, 21 Jul 2014 01:41:39 GMT

    [ https://issues.apache.org/jira/browse/HBASE-11542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068101#comment-14068101
] 

LinseyPang commented on HBASE-11542:
------------------------------------

Hi, Ted, sorry. In my eclipse project, POM gives exception in the part below:Plugin execution
not covered by lifecycle configuration: org.apache.maven.plugins:maven-dependency-plugin:2.1:build-classpath

 (execution: create-mrapp-generated-classpath, phase: generate-test-resources)
Then I  added  <pluginManagement>  </pluginManagement> in this part. 
   <build>
      <pluginManagement>
        <plugins>
          <plugin>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
                <id>create-mrapp-generated-classpath</id>
                <phase>generate-test-resources</phase>
                <goals>
                  <goal>build-classpath</goal>
                </goals>
                <configuration>
                  <!-- needed to run the unit test for DS to generate
                  the required classpath that is required in the env
                  of the launch container in the mini mr/yarn cluster
                  -->
                  <outputFile>${project.build.directory}/test-classes/mrapp-generated-classpath</outputFile>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
        </pluginManagement>
      </build>

> Unit Test  KeyStoreTestUtil.java compilation failure in IBM JDK 
> ----------------------------------------------------------------
>
>                 Key: HBASE-11542
>                 URL: https://issues.apache.org/jira/browse/HBASE-11542
>             Project: HBase
>          Issue Type: Improvement
>          Components: build, test
>    Affects Versions: 0.99.0
>         Environment: RHEL 6.3 ,IBM JDK 6
>            Reporter: LinseyPang
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE_11542-1.patch, hbase_11542-v2.patch
>
>
> In trunk,  jira HBase-10336 added a utility test KeyStoreTestUtil.java, which leverages
the following sun classes:
>    import sun.security.x509.AlgorithmId;
>    import sun.security.x509.CertificateAlgorithmId;
>   ....
> this cause hbase compiler failure if using IBM JDK,  
> There are similar classes like below in IBM jdk: 
> import com.ibm.security.x509.AlgorithmId;
> import com.ibm.security.x509.CertificateAlgorithmId; 
> This jira is to add handling of the x509 references. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message