Skip to content
Snippets Groups Projects
  1. Jan 07, 2014
  2. Jan 06, 2014
  3. Jan 05, 2014
    • Patrick Wendell's avatar
      Responding to Aaron's review · 675d7eb4
      Patrick Wendell authored
      675d7eb4
    • Reynold Xin's avatar
      Merge pull request #334 from pwendell/examples-fix · 5b0986a1
      Reynold Xin authored
      Removing SPARK_EXAMPLES_JAR in the code
      
      This re-writes all of the examples to use the `SparkContext.jarOfClass` mechanism for loading the examples jar. This necessary for environments like YARN and the Standalone mode where example programs will be submit from inside the cluster rather than at the client using `./spark-example`.
      
      This still leaves SPARK_EXAMPLES_JAR in place in the shell scripts for setting up the classpath if `./spark-example` is run.
      5b0986a1
    • Reynold Xin's avatar
      Merge pull request #335 from rxin/ser · f4b924f6
      Reynold Xin authored
      Fall back to zero-arg constructor for Serializer initialization if there is no constructor that accepts SparkConf.
      
      This maintains backward compatibility with older serializers implemented by users.
      f4b924f6
    • Reynold Xin's avatar
      Fall back to zero-arg constructor for Serializer initialization if there is no... · 63f90632
      Reynold Xin authored
      Fall back to zero-arg constructor for Serializer initialization if there is no constructor that accepts SparkConf.
      This maintains backward compatibility with older serializers implemented by users.
      63f90632
    • Patrick Wendell's avatar
      Provide logging when attempts to connect to the master fail. · 94fdcda8
      Patrick Wendell authored
      Without these it's a bit less clear what's going on for the user.
      
      One thing I realize when doing this is that akka itself actually retries
      the initial association. So the retry we currently have is redundant with
      akka's.
      94fdcda8
    • Patrick Wendell's avatar
      Quite akka when remote lifecycle logging is disabled. · aaaa6731
      Patrick Wendell authored
      I noticed when connecting to a standalone cluster Spark gives a bunch
      of Akka ERROR logs that make it seem like something is failing.
      
      This patch does two things:
      
      1. Akka dead letter logging is turned on/off according to the existing
         lifecycle spark property.
      2. We explicitly silence akka's EndpointWriter log in log4j. This is necessary
         because for some reason that log doesn't pick up on the lifecycle
         logging settings. After a few hours of debugging this was the only solution
         I found that worked.
      aaaa6731
    • Patrick Wendell's avatar
      Removing SPARK_EXAMPLES_JAR in the code · 79f52809
      Patrick Wendell authored
      79f52809
Loading