Re:Re: Re: Re: Error in load hbase on spark

2015-10-09 Thread roywang1024
Finally I fix it . It just cause by "ClassNotFoundException: org.apache.htrace.Trace". I can't see this message in logs on driver node,but can be found on worker node. And I modify "spark.executor.extraClassPath" in spark-default.conf still not work.Also modify classpath.txt on every node. It

Re: Re: Re: Error in load hbase on spark

2015-10-09 Thread Ted Yu
Can you pastebin log snippet showing hbase related errors ? Please also consider posting the question on vendor's forum. On Thu, Oct 8, 2015 at 10:17 PM, roywang1024 wrote: > > I add hbase-conf-dir to spark/conf/classpath.txt,but still error. > > > > > > At 2015-10-09

Re: Re: Error in load hbase on spark

2015-10-08 Thread Ted Yu
The second code snippet is similar to: examples//src/main/scala/org/apache/spark/examples/HBaseTest.scala See the comment in HBaseTest.scala : // please ensure HBASE_CONF_DIR is on classpath of spark driver // e.g: set it through spark.driver.extraClassPath property // in