hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6945) Compilation errors when using non-Sun JDKs to build HBase-0.94
Date Wed, 14 Nov 2012 11:58:14 GMT

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

Hudson commented on HBASE-6945:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #260 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/260/])
    HBASE-6945 Compilation errors when using non-Sun JDKs to build HBase-0.94 (Revision 1409115)

     Result = FAILURE
stack : 
Files : 
* /hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/JVM.java
* /hbase/trunk/hbase-common/src/main/java/org/apache/hadoop/hbase/util/OSMXBean.java
* /hbase/trunk/hbase-common/src/test/java/org/apache/hadoop/hbase/ResourceCheckerJUnitListener.java

                
> Compilation errors when using non-Sun JDKs to build HBase-0.94
> --------------------------------------------------------------
>
>                 Key: HBASE-6945
>                 URL: https://issues.apache.org/jira/browse/HBASE-6945
>             Project: HBase
>          Issue Type: Sub-task
>          Components: build
>    Affects Versions: 0.94.1
>         Environment: RHEL 6.3, IBM Java 7 
>            Reporter: Kumar Ravi
>            Assignee: Kumar Ravi
>              Labels: patch
>             Fix For: 0.96.0, 0.94.4
>
>         Attachments: 6945-v2.txt, HBASE-6945.patch
>
>
> When using IBM Java 7 to build HBase-0.94.1, the following comilation error is seen.

> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /home/hadoop/hbase-0.94/src/test/java/org/apache/hadoop/hbase/ResourceChecker.java:[23,25]
error: package com.sun.management does not exist
> [ERROR] /home/hadoop/hbase-0.94/src/test/java/org/apache/hadoop/hbase/ResourceChecker.java:[46,25]
error: cannot find symbol
> [ERROR]   symbol:   class UnixOperatingSystemMXBean
>   location: class ResourceAnalyzer
> /home/hadoop/hbase-0.94/src/test/java/org/apache/hadoop/hbase/ResourceChecker.java:[75,29]
error: cannot find symbol
> [ERROR]   symbol:   class UnixOperatingSystemMXBean
>   location: class ResourceAnalyzer
> /home/hadoop/hbase-0.94/src/test/java/org/apache/hadoop/hbase/ResourceChecker.java:[76,23]
error: cannot find symbol
> [INFO] 4 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
>  I have a patch available which should work for all JDKs including Sun.
>  I am in the process of testing this patch. Preliminary tests indicate the build is working
fine with this patch. I will post this patch when I am done testing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message