Skip to content
Snippets Groups Projects
  1. Mar 19, 2014
    • Nick Lanham's avatar
      Bundle tachyon: SPARK-1269 · a18ea00f
      Nick Lanham authored
      This should all work as expected with the current version of the tachyon tarball (0.4.1)
      
      Author: Nick Lanham <nick@afternight.org>
      
      Closes #137 from nicklan/bundle-tachyon and squashes the following commits:
      
      2eee15b [Nick Lanham] Put back in exec, start tachyon first
      738ba23 [Nick Lanham] Move tachyon out of sbin
      f2f9bc6 [Nick Lanham] More checks for tachyon script
      111e8e1 [Nick Lanham] Only try tachyon operations if tachyon script exists
      0561574 [Nick Lanham] Copy over web resources so web interface can run
      4dc9809 [Nick Lanham] Update to tachyon 0.4.1
      0a1a20c [Nick Lanham] Add scripts using tachyon tarball
      a18ea00f
  2. Mar 18, 2014
    • witgo's avatar
      Fix SPARK-1256: Master web UI and Worker web UI returns a 404 error · cc2655a2
      witgo authored
      Author: witgo <witgo@qq.com>
      
      Closes #150 from witgo/SPARK-1256 and squashes the following commits:
      
      08044a2 [witgo] Merge branch 'master' of https://github.com/apache/spark into SPARK-1256
      c99b030 [witgo] Fix SPARK-1256
      cc2655a2
    • Xiangrui Meng's avatar
      [SPARK-1266] persist factors in implicit ALS · f9d8a83c
      Xiangrui Meng authored
      In implicit ALS computation, the user or product factor is used twice in each iteration. Caching can certainly help accelerate the computation. I saw the running time decreased by ~70% for implicit ALS on the movielens data.
      
      I also made the following changes:
      
      1. Change `YtYb` type from `Broadcast[Option[DoubleMatrix]]` to `Option[Broadcast[DoubleMatrix]]`, so we don't need to broadcast None in explicit computation.
      
      2. Mark methods `computeYtY`, `unblockFactors`, `updateBlock`, and `updateFeatures private`. Users do not need those methods.
      
      3. Materialize the final matrix factors before returning the model. It allows us to clean up other cached RDDs before returning the model. I do not have a better solution here, so I use `RDD.count()`.
      
      JIRA: https://spark-project.atlassian.net/browse/SPARK-1266
      
      Author: Xiangrui Meng <meng@databricks.com>
      
      Closes #165 from mengxr/als and squashes the following commits:
      
      c9676a6 [Xiangrui Meng] add a comment about the last products.persist
      d3a88aa [Xiangrui Meng] change implicitPrefs match to if ... else ...
      63862d6 [Xiangrui Meng] persist factors in implicit ALS
      f9d8a83c
    • Xiangrui Meng's avatar
      [SPARK-1260]: faster construction of features with intercept · e108b9ab
      Xiangrui Meng authored
      The current implementation uses `Array(1.0, features: _*)` to construct a new array with intercept. This is not efficient for big arrays because `Array.apply` uses a for loop that iterates over the arguments. `Array.+:` is a better choice here.
      
      Also, I don't see a reason to set initial weights to ones. So I set them to zeros.
      
      JIRA: https://spark-project.atlassian.net/browse/SPARK-1260
      
      Author: Xiangrui Meng <meng@databricks.com>
      
      Closes #161 from mengxr/sgd and squashes the following commits:
      
      b5cfc53 [Xiangrui Meng] set default weights to zeros
      a1439c2 [Xiangrui Meng] faster construction of features with intercept
      e108b9ab
    • Matei Zaharia's avatar
      Update copyright year in NOTICE to 2014 · 79e547fe
      Matei Zaharia authored
      Author: Matei Zaharia <matei@databricks.com>
      
      Closes #174 from mateiz/update-notice and squashes the following commits:
      
      47fc1a5 [Matei Zaharia] Update copyright year in NOTICE to 2014
      79e547fe
    • CodingCat's avatar
      SPARK-1102: Create a saveAsNewAPIHadoopDataset method · 2fa26ec0
      CodingCat authored
      https://spark-project.atlassian.net/browse/SPARK-1102
      
      Create a saveAsNewAPIHadoopDataset method
      
      By @mateiz: "Right now RDDs can only be saved as files using the new Hadoop API, not as "datasets" with no filename and just a JobConf. See http://codeforhire.com/2014/02/18/using-spark-with-mongodb/ for an example of how you have to give a bogus filename. For the old Hadoop API, we have saveAsHadoopDataset."
      
      Author: CodingCat <zhunansjtu@gmail.com>
      
      Closes #12 from CodingCat/SPARK-1102 and squashes the following commits:
      
      6ba0c83 [CodingCat] add test cases for saveAsHadoopDataSet (new&old API)
      a8d11ba [CodingCat] style fix.........
      95a6929 [CodingCat] code clean
      7643c88 [CodingCat] change the parameter type back to Configuration
      a8583ee [CodingCat] Create a saveAsNewAPIHadoopDataset method
      2fa26ec0
    • Patrick Wendell's avatar
      Revert "SPARK-1236 - Upgrade Jetty to 9.1.3.v20140225." · e7423d40
      Patrick Wendell authored
      This reverts commit ca4bf8c5.
      
      Jetty 9 requires JDK7 which is probably not a dependency we want to bump right now. Before Spark 1.0 we should consider upgrading to Jetty 8. However, in the mean time to ease some pain let's revert this. Sorry for not catching this during the initial review. cc/ @rxin
      
      Author: Patrick Wendell <pwendell@gmail.com>
      
      Closes #167 from pwendell/jetty-revert and squashes the following commits:
      
      811b1c5 [Patrick Wendell] Revert "SPARK-1236 - Upgrade Jetty to 9.1.3.v20140225."
      e7423d40
    • Dan McClary's avatar
      Spark 1246 add min max to stat counter · e3681f26
      Dan McClary authored
      Here's the addition of min and max to statscounter.py and min and max methods to rdd.py.
      
      Author: Dan McClary <dan.mcclary@gmail.com>
      
      Closes #144 from dwmclary/SPARK-1246-add-min-max-to-stat-counter and squashes the following commits:
      
      fd3fd4b [Dan McClary] fixed  error, updated test
      82cde0e [Dan McClary] flipped incorrectly assigned inf values in StatCounter
      5d96799 [Dan McClary] added max and min to StatCounter repr for pyspark
      21dd366 [Dan McClary] added max and min to StatCounter output, updated doc
      1a97558 [Dan McClary] added max and min to StatCounter output, updated doc
      a5c13b0 [Dan McClary] Added min and max to Scala and Java RDD, added min and max to StatCounter
      ed67136 [Dan McClary] broke min/max out into separate transaction, added to rdd.py
      1e7056d [Dan McClary] added underscore to getBucket
      37a7dea [Dan McClary] cleaned up boundaries for histogram -- uses real min/max when buckets are derived
      29981f2 [Dan McClary] fixed indentation on doctest comment
      eaf89d9 [Dan McClary] added correct doctest for histogram
      4916016 [Dan McClary] added histogram method, added max and min to statscounter
      e3681f26
  3. Mar 17, 2014
    • Diana Carroll's avatar
      [Spark-1261] add instructions for running python examples to doc overview page · 087eedca
      Diana Carroll authored
      Author: Diana Carroll <dcarroll@cloudera.com>
      
      Closes #162 from dianacarroll/SPARK-1261 and squashes the following commits:
      
      14ac602 [Diana Carroll] typo in python example text
      5121e3e [Diana Carroll] Add explanation of how to run Python examples to main doc overview page
      087eedca
    • Patrick Wendell's avatar
      SPARK-1244: Throw exception if map output status exceeds frame size · 796977ac
      Patrick Wendell authored
      This is a very small change on top of @andrewor14's patch in #147.
      
      Author: Patrick Wendell <pwendell@gmail.com>
      Author: Andrew Or <andrewor14@gmail.com>
      
      Closes #152 from pwendell/akka-frame and squashes the following commits:
      
      e5fb3ff [Patrick Wendell] Reversing test order
      393af4c [Patrick Wendell] Small improvement suggested by Andrew Or
      8045103 [Patrick Wendell] Breaking out into two tests
      2b4e085 [Patrick Wendell] Consolidate Executor use of akka frame size
      c9b6109 [Andrew Or] Simplify test + make access to akka frame size more modular
      281d7c9 [Andrew Or] Throw exception on spark.akka.frameSize exceeded + Unit tests
      796977ac
    • CodingCat's avatar
      SPARK-1240: handle the case of empty RDD when takeSample · dc965463
      CodingCat authored
      https://spark-project.atlassian.net/browse/SPARK-1240
      
      It seems that the current implementation does not handle the empty RDD case when run takeSample
      
      In this patch, before calling sample() inside takeSample API, I add a checker for this case and returns an empty Array when it's a empty RDD; also in sample(), I add a checker for the invalid fraction value
      
      In the test case, I also add several lines for this case
      
      Author: CodingCat <zhunansjtu@gmail.com>
      
      Closes #135 from CodingCat/SPARK-1240 and squashes the following commits:
      
      fef57d4 [CodingCat] fix the same problem in PySpark
      36db06b [CodingCat] create new test cases for takeSample from an empty red
      810948d [CodingCat] further fix
      a40e8fb [CodingCat] replace if with require
      ad483fd [CodingCat] handle the case with empty RDD when take sample
      dc965463
  4. Mar 16, 2014
    • Reynold Xin's avatar
      SPARK-1255: Allow user to pass Serializer object instead of class name for shuffle. · f5486e9f
      Reynold Xin authored
      This is more general than simply passing a string name and leaves more room for performance optimizations.
      
      Note that this is technically an API breaking change in the following two ways:
      1. The shuffle serializer specification in ShuffleDependency now require an object instead of a String (of the class name), but I suspect nobody else in this world has used this API other than me in GraphX and Shark.
      2. Serializer's in Spark from now on are required to be serializable.
      
      Author: Reynold Xin <rxin@apache.org>
      
      Closes #149 from rxin/serializer and squashes the following commits:
      
      5acaccd [Reynold Xin] Properly call serializer's constructors.
      2a8d75a [Reynold Xin] Added more documentation for the serializer option in ShuffleDependency.
      7420185 [Reynold Xin] Allow user to pass Serializer object instead of class name for shuffle.
      f5486e9f
  5. Mar 15, 2014
    • Sean Owen's avatar
      SPARK-1254. Consolidate, order, and harmonize repository declarations in Maven/SBT builds · 97e4459e
      Sean Owen authored
      This suggestion addresses a few minor suboptimalities with how repositories are handled.
      
      1) Use HTTPS consistently to access repos, instead of HTTP
      
      2) Consolidate repository declarations in the parent POM file, in the case of the Maven build, so that their ordering can be controlled to put the fully optional Cloudera repo at the end, after required repos. (This was prompted by the untimely failure of the Cloudera repo this week, which made the Spark build fail. #2 would have prevented that.)
      
      3) Update SBT build to match Maven build in this regard
      
      4) Update SBT build to not refer to Sonatype snapshot repos. This wasn't in Maven, and a build generally would not refer to external snapshots, but I'm not 100% sure on this one.
      
      Author: Sean Owen <sowen@cloudera.com>
      
      Closes #145 from srowen/SPARK-1254 and squashes the following commits:
      
      42f9bfc [Sean Owen] Use HTTPS for repos; consolidate repos in parent in order to put optional Cloudera repo last; harmonize SBT build repos with Maven; remove snapshot repos from SBT build which weren't in Maven
      97e4459e
  6. Mar 14, 2014
  7. Mar 13, 2014
    • Tianshuo Deng's avatar
      [bugfix] wrong client arg, should use executor-cores · 181b130a
      Tianshuo Deng authored
      client arg is wrong, it should be executor-cores. it causes executor fail to start when executor-cores is specified
      
      Author: Tianshuo Deng <tdeng@twitter.com>
      
      Closes #138 from tsdeng/bugfix_wrong_client_args and squashes the following commits:
      
      304826d [Tianshuo Deng] wrong client arg, should use executor-cores
      181b130a
    • Reynold Xin's avatar
      SPARK-1236 - Upgrade Jetty to 9.1.3.v20140225. · ca4bf8c5
      Reynold Xin authored
      Author: Reynold Xin <rxin@apache.org>
      
      Closes #113 from rxin/jetty9 and squashes the following commits:
      
      867a2ce [Reynold Xin] Updated Jetty version to 9.1.3.v20140225 in Maven build file.
      d7c97ca [Reynold Xin] Return the correctly bound port.
      d14706f [Reynold Xin] Upgrade Jetty to 9.1.3.v20140225.
      ca4bf8c5
    • Sandy Ryza's avatar
      SPARK-1183. Don't use "worker" to mean executor · 69837321
      Sandy Ryza authored
      Author: Sandy Ryza <sandy@cloudera.com>
      
      Closes #120 from sryza/sandy-spark-1183 and squashes the following commits:
      
      5066a4a [Sandy Ryza] Remove "worker" in a couple comments
      0bd1e46 [Sandy Ryza] Remove --am-class from usage
      bfc8fe0 [Sandy Ryza] Remove am-class from doc and fix yarn-alpha
      607539f [Sandy Ryza] Address review comments
      74d087a [Sandy Ryza] SPARK-1183. Don't use "worker" to mean executor
      69837321
    • Xiangrui Meng's avatar
      [SPARK-1237, 1238] Improve the computation of YtY for implicit ALS · e4e8d8f3
      Xiangrui Meng authored
      Computing YtY can be implemented using BLAS's DSPR operations instead of generating y_i y_i^T and then combining them. The latter generates many k-by-k matrices. On the movielens data, this change improves the performance by 10-20%. The algorithm remains the same, verified by computing RMSE on the movielens data.
      
      To compare the results, I also added an option to set a random seed in ALS.
      
      JIRA:
      1. https://spark-project.atlassian.net/browse/SPARK-1237
      2. https://spark-project.atlassian.net/browse/SPARK-1238
      
      Author: Xiangrui Meng <meng@databricks.com>
      
      Closes #131 from mengxr/als and squashes the following commits:
      
      ed00432 [Xiangrui Meng] minor changes
      d984623 [Xiangrui Meng] minor changes
      2fc1641 [Xiangrui Meng] remove commented code
      4c7cde2 [Xiangrui Meng] allow specifying a random seed in ALS
      200bef0 [Xiangrui Meng] optimize computeYtY and updateBlock
      e4e8d8f3
    • Patrick Wendell's avatar
      SPARK-1019: pyspark RDD take() throws an NPE · 4ea23db0
      Patrick Wendell authored
      Author: Patrick Wendell <pwendell@gmail.com>
      
      Closes #112 from pwendell/pyspark-take and squashes the following commits:
      
      daae80e [Patrick Wendell] SPARK-1019: pyspark RDD take() throws an NPE
      4ea23db0
  8. Mar 12, 2014
    • CodingCat's avatar
      hot fix for PR105 - change to Java annotation · 6bd2eaa4
      CodingCat authored
      Author: CodingCat <zhunansjtu@gmail.com>
      
      Closes #133 from CodingCat/SPARK-1160-2 and squashes the following commits:
      
      6607155 [CodingCat] hot fix for PR105 - change to Java annotation
      6bd2eaa4
    • jianghan's avatar
      Fix example bug: compile error · 31a70400
      jianghan authored
      Author: jianghan <jianghan@xiaomi.com>
      
      Closes #132 from pooorman/master and squashes the following commits:
      
      54afbe0 [jianghan] Fix example bug: compile error
      31a70400
    • CodingCat's avatar
      SPARK-1160: Deprecate toArray in RDD · 9032f7c0
      CodingCat authored
      https://spark-project.atlassian.net/browse/SPARK-1160
      
      reported by @mateiz: "It's redundant with collect() and the name doesn't make sense in Java, where we return a List (we can't return an array due to the way Java generics work). It's also missing in Python."
      
      In this patch, I deprecated the method and changed the source files using it by replacing toArray with collect() directly
      
      Author: CodingCat <zhunansjtu@gmail.com>
      
      Closes #105 from CodingCat/SPARK-1060 and squashes the following commits:
      
      286f163 [CodingCat] deprecate in JavaRDDLike
      ee17b4e [CodingCat] add message and since
      2ff7319 [CodingCat] deprecate toArray in RDD
      9032f7c0
    • Prashant Sharma's avatar
      SPARK-1162 Added top in python. · b8afe305
      Prashant Sharma authored
      Author: Prashant Sharma <prashant.s@imaginea.com>
      
      Closes #93 from ScrapCodes/SPARK-1162/pyspark-top-takeOrdered and squashes the following commits:
      
      ece1fa4 [Prashant Sharma] Added top in python.
      b8afe305
    • liguoqiang's avatar
      Fix #SPARK-1149 Bad partitioners can cause Spark to hang · 5d1ec64e
      liguoqiang authored
      Author: liguoqiang <liguoqiang@rd.tuan800.com>
      
      Closes #44 from witgo/SPARK-1149 and squashes the following commits:
      
      3dcdcaf [liguoqiang] Merge branch 'master' into SPARK-1149
      8425395 [liguoqiang] Merge remote-tracking branch 'upstream/master' into SPARK-1149
      3dad595 [liguoqiang] review comment
      e3e56aa [liguoqiang] Merge branch 'master' into SPARK-1149
      b0d5c07 [liguoqiang] review comment
      d0a6005 [liguoqiang] review comment
      3395ee7 [liguoqiang] Merge remote-tracking branch 'upstream/master' into SPARK-1149
      ac006a3 [liguoqiang] code Formatting
      3feb3a8 [liguoqiang] Merge branch 'master' into SPARK-1149
      adc443e [liguoqiang] partitions check  bugfix
      928e1e3 [liguoqiang] Added a unit test for PairRDDFunctions.lookup with bad partitioner
      db6ecc5 [liguoqiang] Merge branch 'master' into SPARK-1149
      1e3331e [liguoqiang] Merge branch 'master' into SPARK-1149
      3348619 [liguoqiang] Optimize performance for partitions check
      61e5a87 [liguoqiang] Merge branch 'master' into SPARK-1149
      e68210a [liguoqiang] add partition index check to submitJob
      3a65903 [liguoqiang] make the code more readable
      6bb725e [liguoqiang] fix #SPARK-1149 Bad partitioners can cause Spark to hang
      5d1ec64e
    • Thomas Graves's avatar
      [SPARK-1233] Fix running hadoop 0.23 due to java.lang.NoSuchFieldException: DEFAULT_M... · b5162f44
      Thomas Graves authored
      ...APREDUCE_APPLICATION_CLASSPATH
      
      Author: Thomas Graves <tgraves@apache.org>
      
      Closes #129 from tgravescs/SPARK-1233 and squashes the following commits:
      
      85ff5a6 [Thomas Graves] Fix running hadoop 0.23 due to java.lang.NoSuchFieldException: DEFAULT_MAPREDUCE_APPLICATION_CLASSPATH
      b5162f44
    • Thomas Graves's avatar
      [SPARK-1232] Fix the hadoop 0.23 yarn build · c8c59b32
      Thomas Graves authored
      Author: Thomas Graves <tgraves@apache.org>
      
      Closes #127 from tgravescs/SPARK-1232 and squashes the following commits:
      
      c05cfd4 [Thomas Graves] Fix the hadoop 0.23 yarn build
      c8c59b32
    • prabinb's avatar
      Spark-1163, Added missing Python RDD functions · af7f2f10
      prabinb authored
      Author: prabinb <prabin.banka@imaginea.com>
      
      Closes #92 from prabinb/python-api-rdd and squashes the following commits:
      
      51129ca [prabinb] Added missing Python RDD functions Added __repr__ function to StorageLevel class. Added doctest for RDD.getStorageLevel().
      af7f2f10
    • Sandy Ryza's avatar
      SPARK-1064 · 2409af9d
      Sandy Ryza authored
      This reopens PR 649 from incubator-spark against the new repo
      
      Author: Sandy Ryza <sandy@cloudera.com>
      
      Closes #102 from sryza/sandy-spark-1064 and squashes the following commits:
      
      270e490 [Sandy Ryza] Handle different application classpath variables in different versions
      88b04e0 [Sandy Ryza] SPARK-1064. Make it possible to run on YARN without bundling Hadoop jars in Spark assembly
      2409af9d
  9. Mar 11, 2014
    • Patrick Wendell's avatar
      SPARK-1167: Remove metrics-ganglia from default build due to LGPL issues... · 16788a65
      Patrick Wendell authored
      This patch removes Ganglia integration from the default build. It
      allows users willing to link against LGPL code to use Ganglia
      by adding build flags or linking against a new Spark artifact called
      spark-ganglia-lgpl.
      
      This brings Spark in line with the Apache policy on LGPL code
      enumerated here:
      
      https://www.apache.org/legal/3party.html#options-optional
      
      Author: Patrick Wendell <pwendell@gmail.com>
      
      Closes #108 from pwendell/ganglia and squashes the following commits:
      
      326712a [Patrick Wendell] Responding to review feedback
      5f28ee4 [Patrick Wendell] SPARK-1167: Remove metrics-ganglia from default build due to LGPL issues.
      16788a65
  10. Mar 10, 2014
    • Sandy Ryza's avatar
      SPARK-1211. In ApplicationMaster, set spark.master system property to "y... · 2a2c9645
      Sandy Ryza authored
      ...arn-cluster"
      
      Author: Sandy Ryza <sandy@cloudera.com>
      
      Closes #118 from sryza/sandy-spark-1211 and squashes the following commits:
      
      d4001c7 [Sandy Ryza] SPARK-1211. In ApplicationMaster, set spark.master system property to "yarn-cluster"
      2a2c9645
    • Patrick Wendell's avatar
      SPARK-1205: Clean up callSite/origin/generator. · 2a516170
      Patrick Wendell authored
      This patch removes the `generator` field and simplifies + documents
      the tracking of callsites.
      
      There are two places where we care about call sites, when a job is
      run and when an RDD is created. This patch retains both of those
      features but does a slight refactoring and renaming to make things
      less confusing.
      
      There was another feature of an rdd called the `generator` which was
      by default the user class that in which the RDD was created. This is
      used exclusively in the JobLogger. It been subsumed by the ability
      to name a job group. The job logger can later be refectored to
      read the job group directly (will require some work) but for now
      this just preserves the default logged value of the user class.
      I'm not sure any users ever used the ability to override this.
      
      Author: Patrick Wendell <pwendell@gmail.com>
      
      Closes #106 from pwendell/callsite and squashes the following commits:
      
      fc1d009 [Patrick Wendell] Compile fix
      e17fb76 [Patrick Wendell] Review feedback: callSite -> creationSite
      62e77ef [Patrick Wendell] Review feedback
      576e60b [Patrick Wendell] SPARK-1205: Clean up callSite/origin/generator.
      2a516170
    • Prashant Sharma's avatar
      SPARK-1168, Added foldByKey to pyspark. · a59419c2
      Prashant Sharma authored
      Author: Prashant Sharma <prashant.s@imaginea.com>
      
      Closes #115 from ScrapCodes/SPARK-1168/pyspark-foldByKey and squashes the following commits:
      
      db6f67e [Prashant Sharma] SPARK-1168, Added foldByKey to pyspark.
      a59419c2
    • jyotiska's avatar
      [SPARK-972] Added detailed callsite info for ValueError in context.py (resubmitted) · f5518989
      jyotiska authored
      Author: jyotiska <jyotiska123@gmail.com>
      
      Closes #34 from jyotiska/pyspark_code and squashes the following commits:
      
      c9439be [jyotiska] replaced dict with namedtuple
      a6bf4cd [jyotiska] added callsite info for context.py
      f5518989
    • Prabin Banka's avatar
      SPARK-977 Added Python RDD.zip function · e1e09e0e
      Prabin Banka authored
      was raised earlier as a part of  apache/incubator-spark#486
      
      Author: Prabin Banka <prabin.banka@imaginea.com>
      
      Closes #76 from prabinb/python-api-zip and squashes the following commits:
      
      b1a31a0 [Prabin Banka] Added Python RDD.zip function
      e1e09e0e
    • Chen Chao's avatar
      maintain arbitrary state data for each key · 5d98cfc1
      Chen Chao authored
      RT
      
      Author: Chen Chao <crazyjvm@gmail.com>
      
      Closes #114 from CrazyJvm/patch-1 and squashes the following commits:
      
      dcb0df5 [Chen Chao] maintain arbitrary state data for each key
      5d98cfc1
  11. Mar 09, 2014
    • Patrick Wendell's avatar
      SPARK-782 Clean up for ASM dependency. · b9be1609
      Patrick Wendell authored
      This makes two changes.
      
      1) Spark uses the shaded version of asm that is (conveniently) published
         with Kryo.
      2) Existing exclude rules around asm are updated to reflect the new groupId
         of `org.ow2.asm`. This made all of the old rules not work with newer Hadoop
         versions that pull in new asm versions.
      
      Author: Patrick Wendell <pwendell@gmail.com>
      
      Closes #100 from pwendell/asm and squashes the following commits:
      
      9235f3f [Patrick Wendell] SPARK-782 Clean up for ASM dependency.
      b9be1609
    • Patrick Wendell's avatar
      Fix markup errors introduced in #33 (SPARK-1189) · faf4cad1
      Patrick Wendell authored
      These were causing errors on the configuration page.
      
      Author: Patrick Wendell <pwendell@gmail.com>
      
      Closes #111 from pwendell/master and squashes the following commits:
      
      8467a86 [Patrick Wendell] Fix markup errors introduced in #33 (SPARK-1189)
      faf4cad1
    • Jiacheng Guo's avatar
      Add timeout for fetch file · f6f9d02e
      Jiacheng Guo authored
          Currently, when fetch a file, the connection's connect timeout
          and read timeout is based on the default jvm setting, in this change, I change it to
          use spark.worker.timeout. This can be usefull, when the
          connection status between worker is not perfect. And prevent
          prematurely remove task set.
      
      Author: Jiacheng Guo <guojc03@gmail.com>
      
      Closes #98 from guojc/master and squashes the following commits:
      
      abfe698 [Jiacheng Guo] add space according request
      2a37c34 [Jiacheng Guo] Add timeout for fetch file     Currently, when fetch a file, the connection's connect timeout     and read timeout is based on the default jvm setting, in this change, I change it to     use spark.worker.timeout. This can be usefull, when the     connection status between worker is not perfect. And prevent     prematurely remove task set.
      f6f9d02e
    • Aaron Davidson's avatar
      SPARK-929: Fully deprecate usage of SPARK_MEM · 52834d76
      Aaron Davidson authored
      (Continued from old repo, prior discussion at https://github.com/apache/incubator-spark/pull/615)
      
      This patch cements our deprecation of the SPARK_MEM environment variable by replacing it with three more specialized variables:
      SPARK_DAEMON_MEMORY, SPARK_EXECUTOR_MEMORY, and SPARK_DRIVER_MEMORY
      
      The creation of the latter two variables means that we can safely set driver/job memory without accidentally setting the executor memory. Neither is public.
      
      SPARK_EXECUTOR_MEMORY is only used by the Mesos scheduler (and set within SparkContext). The proper way of configuring executor memory is through the "spark.executor.memory" property.
      
      SPARK_DRIVER_MEMORY is the new way of specifying the amount of memory run by jobs launched by spark-class, without possibly affecting executor memory.
      
      Other memory considerations:
      - The repl's memory can be set through the "--drivermem" command-line option, which really just sets SPARK_DRIVER_MEMORY.
      - run-example doesn't use spark-class, so the only way to modify examples' memory is actually an unusual use of SPARK_JAVA_OPTS (which is normally overriden in all cases by spark-class).
      
      This patch also fixes a lurking bug where spark-shell misused spark-class (the first argument is supposed to be the main class name, not java options), as well as a bug in the Windows spark-class2.cmd. I have not yet tested this patch on either Windows or Mesos, however.
      
      Author: Aaron Davidson <aaron@databricks.com>
      
      Closes #99 from aarondav/sparkmem and squashes the following commits:
      
      9df4c68 [Aaron Davidson] SPARK-929: Fully deprecate usage of SPARK_MEM
      52834d76
  12. Mar 08, 2014
Loading