Re: how to run the program compiled with spark 1.0.0 in the branch-0.1-jdbc cluster

2014-07-14 Thread Patrick Wendell
 1. The first error I met is the different SerializationVersionUID in 
 ExecuterStatus

 I resolved by explicitly declare SerializationVersionUID in 
 ExecuterStatus.scala and recompile branch-0.1-jdbc


I don't think there is a class in Spark named ExecuterStatus (sic) ...
or ExecutorStatus. Is this a class you made?


Re: how to run the program compiled with spark 1.0.0 in the branch-0.1-jdbc cluster

2014-07-14 Thread Nan Zhu
Ah, sorry, sorry

It's executorState under deploy package

On Monday, July 14, 2014, Patrick Wendell pwend...@gmail.com wrote:

  1. The first error I met is the different SerializationVersionUID in
 ExecuterStatus
 
  I resolved by explicitly declare SerializationVersionUID in
 ExecuterStatus.scala and recompile branch-0.1-jdbc
 

 I don't think there is a class in Spark named ExecuterStatus (sic) ...
 or ExecutorStatus. Is this a class you made?



Re: how to run the program compiled with spark 1.0.0 in the branch-0.1-jdbc cluster

2014-07-14 Thread Nan Zhu
I resolved the issue by setting an internal maven repository to contain the 
Spark-1.0.1 jar compiled from branch-0.1-jdbc and replacing the dependency to 
the central repository with our own repository 

I believe there should be some more lightweight way

Best, 

-- 
Nan Zhu


On Monday, July 14, 2014 at 6:36 AM, Nan Zhu wrote:

 Ah, sorry, sorry
 
 It's executorState under deploy package
 
 On Monday, July 14, 2014, Patrick Wendell pwend...@gmail.com 
 (mailto:pwend...@gmail.com) wrote:
   1. The first error I met is the different SerializationVersionUID in 
   ExecuterStatus
  
   I resolved by explicitly declare SerializationVersionUID in 
   ExecuterStatus.scala and recompile branch-0.1-jdbc
  
  
  I don't think there is a class in Spark named ExecuterStatus (sic) ...
  or ExecutorStatus. Is this a class you made?