Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-15310

hbase-spark module has compilation failures with clover profile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 3.0.0-alpha-1
    • spark, test
    • None
    • Reviewed

    Description

      running with a clover profile enabled will fail due to cross compilation ordering issues with the hbase-spark module.

      21:07:47 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project hbase-spark: Compilation failure: Compilation failure:
      21:07:47 [ERROR] /data/jenkins/workspace/CDH5.7.0-HBase-1.2.0-Clover/hbase-spark/target/clover/src-instrumented/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseBulkDeleteExample.java:[23,36] error: cannot find symbol
      21:07:47 [ERROR] symbol:   class JavaHBaseContext
      21:07:47 [ERROR] location: package org.apache.hadoop.hbase.spark
      21:07:47 [ERROR] /data/jenkins/workspace/CDH5.7.0-HBase-1.2.0-Clover/hbase-spark/target/clover/src-instrumented/org/apache/hadoop/hbase/spark/example/hbasecontext/JavaHBaseDistributedScan.java:[27,36] error: cannot find symbol
      .... (many classes)
      

      Apparently this is a known issue and this page shows a remedy.

      https://confluence.atlassian.com/display/CLOVERKB/Java-+Scala+cross-compilation+error+-+cannot+find+symbol

      Attachments

        1. hbase-15310.patch
          2 kB
          Jonathan Hsieh
        2. hbase-15310.v2.patch
          2 kB
          Jonathan Hsieh

        Activity

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: