Spark examples builds against hbase 0.94 by default. If you want to run against 0.98, see: SPARK-1297 https://issues.apache.org/jira/browse/SPARK-1297
Cheers On Sun, Sep 14, 2014 at 7:36 AM, arthur.hk.c...@gmail.com < arthur.hk.c...@gmail.com> wrote: > Hi, > > I have tried to to run *HBaseTest.scala, *but I got following errors, > any ideas to how to fix them? > > Q1) > scala> package org.apache.spark.examples > <console>:1: error: illegal start of definition > package org.apache.spark.examples > > > Q2) > scala> import org.apache.hadoop.hbase.mapreduce.TableInputFormat > <console>:31: error: object hbase is not a member of package > org.apache.hadoop > import org.apache.hadoop.hbase.mapreduce.TableInputFormat > > > > Regards > Arthur >