Huawei-Spark / Spark-SQL-on-HBase

Native, optimized access to HBase Data through Spark SQL/Dataframe Interfaces
Apache License 2.0
321 stars 164 forks source link

Spark-SQL-on-HBase-hbase_branch_1.1BUILD ERROR #29

Open liuluheng opened 8 years ago

liuluheng commented 8 years ago

➜ Spark-SQL-on-HBase-hbase_branch_1.1 mvn -DskipTests clean install
[INFO] Scanning for projects... [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building Spark Project HBase 1.0.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ spark-sql-on-hbase --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ spark-sql-on-hbase --- [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ spark-sql-on-hbase --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /home/liuluheng/Downloads/Spark-SQL-on-HBase-hbase_branch_1.1/conf [INFO] Copying 3 resources [INFO] [INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @ spark-sql-on-hbase --- [WARNING] Expected all dependencies to require Scala version: 2.10.4 [WARNING] com.twitter:chill_2.10:0.5.0 requires scala version: 2.10.4 [WARNING] org.spark-project.akka:akka-remote_2.10:2.3.4-spark requires scala version: 2.10.4 [WARNING] org.spark-project.akka:akka-actor_2.10:2.3.4-spark requires scala version: 2.10.4 [WARNING] org.spark-project.akka:akka-slf4j_2.10:2.3.4-spark requires scala version: 2.10.4 [WARNING] org.apache.spark:spark-core_2.10:1.4.0 requires scala version: 2.10.4 [WARNING] org.json4s:json4s-jackson_2.10:3.2.10 requires scala version: 2.10.0 [WARNING] Multiple versions of scala libraries detected! [INFO] Using incremental compilation [INFO] compiler plugin: BasicArtifact(org.scalamacros,paradise_2.10.4,2.0.1,null) [INFO] Compiling 34 Scala sources and 2 Java sources to /home/liuluheng/Downloads/Spark-SQL-on-HBase-hbase_branch_1.1/target/scala-2.10/classes... [WARNING] /home/liuluheng/Downloads/Spark-SQL-on-HBase-hbase_branch_1.1/src/main/scala/org/apache/spark/sql/hbase/CheckDirEndPointImpl.scala:49: a pure expression does nothing in statement position; you may be omi tting necessary parentheses [WARNING] case e: RegionCoprocessorEnvironment => e [WARNING] ^ [ERROR] /home/liuluheng/Downloads/Spark-SQL-on-HBase-hbase_branch_1.1/src/main/scala/org/apache/spark/sql/hbase/SparkSqlRegionObserver.scala:121: not found: type ScannerContext [ERROR] override def next(result: java.util.List[Cell], scannerContext: ScannerContext)= next(result)// limit: Int=>scannerContext: ScannerContext [ERROR] ^ [ERROR] /home/liuluheng/Downloads/Spark-SQL-on-HBase-hbase_branch_1.1/src/main/scala/org/apache/spark/sql/hbase/SparkSqlRegionObserver.scala:129: not found: type ScannerContext [ERROR] override def nextRaw(result: java.util.List[Cell], scannerContext: ScannerContext) = next(result, scannerContext) //limit: Int=>scannerContext: ScannerContext [ERROR] ^ [WARNING] one warning found [ERROR] two errors found [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 13.357s [INFO] Finished at: Mon Nov 02 18:24:50 CST 2015 [INFO] Final Memory: 28M/420M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.0:compile (scala-compile-first) on project spark-sql-on-hbase: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:3 .2.0:compile failed. CompileFailed -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

yzhou2001 commented 8 years ago

Support of HBase 1.1 is not officially available now. But we feel minimum work will be needed to complete the job. Any community contributions in this direction will be welcome and very appreciated.