Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6182 Make HBase works with jdk1.7
  3. HBASE-6183

hbase-common doesn't compile with jdk1.7

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Later
    • None
    • None
    • None
    • None

    Description

      With jdk1.7, mvn clean test give me this error:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project hbase-common: Compilation failure: Compilation failure:
      [ERROR] could not parse error message: warning: [options] bootstrap class path not set in conjunction with -source 1.6
      [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:44: warning: Unsafe is internal proprietary API and may be removed in a future release
      [ERROR] import sun.misc.Unsafe;
      [ERROR] ^
      [ERROR]
      [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1040,19] Unsafe is internal proprietary API and may be removed in a future release
      [ERROR]
      [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1046,21] Unsafe is internal proprietary API and may be removed in a future release
      [ERROR]
      [ERROR] /home/jxiang/git-repos/apache/tmp/t2/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1051,28] Unsafe is internal proprietary API and may be removed in a future releas

      Attachments

        Activity

          People

            Unassigned Unassigned
            jxiang Jimmy Xiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: