Skip to content
Snippets Groups Projects
  1. Dec 05, 2014
  2. Dec 04, 2014
    • Andrew Or's avatar
      fd852533
    • Andrew Or's avatar
      87437df0
    • Masayoshi TSUZUKI's avatar
      [SPARK-4464] Description about configuration options need to be modified in docs. · ca379039
      Masayoshi TSUZUKI authored
      Added description about -h and -host.
      Modified description about -i and -ip which are now deprecated.
      Added description about --properties-file.
      
      Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>
      
      Closes #3329 from tsudukim/feature/SPARK-4464 and squashes the following commits:
      
      6c07caf [Masayoshi TSUZUKI] [SPARK-4464] Description about configuration options need to be modified in docs.
      ca379039
    • Andy Konwinski's avatar
      Fix typo in Spark SQL docs. · 15cf3b01
      Andy Konwinski authored
      Author: Andy Konwinski <andykonwinski@gmail.com>
      
      Closes #3611 from andyk/patch-3 and squashes the following commits:
      
      7bab333 [Andy Konwinski] Fix typo in Spark SQL docs.
      15cf3b01
    • Masayoshi TSUZUKI's avatar
      [SPARK-4421] Wrong link in spark-standalone.html · ddfc09c3
      Masayoshi TSUZUKI authored
      Modified the link of building Spark.
      
      Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>
      
      Closes #3279 from tsudukim/feature/SPARK-4421 and squashes the following commits:
      
      56e31c1 [Masayoshi TSUZUKI] Modified the link of building Spark.
      ddfc09c3
    • Reynold Xin's avatar
      [SPARK-4397] Move object RDD to the front of RDD.scala. · ed92b47e
      Reynold Xin authored
      I ran into multiple cases that SBT/Scala compiler was confused by the implicits in continuous compilation mode. Adding explicit return types fixes the problem.
      
      Author: Reynold Xin <rxin@databricks.com>
      
      Closes #3580 from rxin/rdd-implicit and squashes the following commits:
      
      ee32fcd [Reynold Xin] Move object RDD to the end of the file.
      b8562c9 [Reynold Xin] Merge branch 'master' of github.com:apache/spark into rdd-implicit
      d4e9f85 [Reynold Xin] Code review.
      a836a37 [Reynold Xin] Move object RDD to the front of RDD.scala.
      ed92b47e
    • lewuathe's avatar
      [SPARK-4652][DOCS] Add docs about spark-git-repo option · ab8177da
      lewuathe authored
      There might be some cases when WIPS spark version need to be run
      on EC2 cluster. In order to setup this type of cluster more easily,
      add --spark-git-repo option description to ec2 documentation.
      
      Author: lewuathe <lewuathe@me.com>
      Author: Josh Rosen <joshrosen@databricks.com>
      
      Closes #3513 from Lewuathe/doc-for-development-spark-cluster and squashes the following commits:
      
      6dae8ee [lewuathe] Wrap consistent with other descriptions
      cfaf9be [lewuathe] Add docs about spark-git-repo option
      
      (Editing / cleanup by Josh Rosen)
      ab8177da
    • Saldanha's avatar
      [SPARK-4459] Change groupBy type parameter from K to U · 743a889d
      Saldanha authored
      Please see https://issues.apache.org/jira/browse/SPARK-4459
      
      Author: Saldanha <saldaal1@phusca-l24858.wlan.na.novartis.net>
      
      Closes #3327 from alokito/master and squashes the following commits:
      
      54b1095 [Saldanha] [SPARK-4459] changed type parameter for keyBy from K to U
      d5f73c3 [Saldanha] [SPARK-4459] added keyBy test
      316ad77 [Saldanha] SPARK-4459 changed type parameter for groupBy from K to U.
      62ddd4b [Saldanha] SPARK-4459 added failing unit test
      743a889d
    • alexdebrie's avatar
      [SPARK-4745] Fix get_existing_cluster() function with multiple security groups · 794f3aec
      alexdebrie authored
      The current get_existing_cluster() function would only find an instance belonged to a cluster if the instance's security groups == cluster_name + "-master" (or "-slaves"). This fix allows for multiple security groups by checking if the cluster_name + "-master" security group is in the list of groups for a particular instance.
      
      Author: alexdebrie <alexdebrie1@gmail.com>
      
      Closes #3596 from alexdebrie/master and squashes the following commits:
      
      9d51232 [alexdebrie] Fix get_existing_cluster() function with multiple security groups
      794f3aec
    • Patrick Wendell's avatar
      [HOTFIX] Fixing two issues with the release script. · 8dae26f8
      Patrick Wendell authored
      1. The version replacement was still producing some false changes.
      2. Uploads to the staging repo specifically.
      
      Author: Patrick Wendell <pwendell@gmail.com>
      
      Closes #3608 from pwendell/release-script and squashes the following commits:
      
      3c63294 [Patrick Wendell] Fixing two issues with the release script:
      8dae26f8
    • WangTaoTheTonic's avatar
      [SPARK-4253] Ignore spark.driver.host in yarn-cluster and standalone-cluster modes · 8106b1e3
      WangTaoTheTonic authored
      In yarn-cluster and standalone-cluster modes, we don't know where driver will run until it is launched.  If the `spark.driver.host` property is set on the submitting machine and propagated to the driver through SparkConf then this will lead to errors when the driver launches.
      
      This patch fixes this issue by dropping the `spark.driver.host` property in SparkSubmit when running in a cluster deploy mode.
      
      Author: WangTaoTheTonic <barneystinson@aliyun.com>
      Author: WangTao <barneystinson@aliyun.com>
      
      Closes #3112 from WangTaoTheTonic/SPARK4253 and squashes the following commits:
      
      ed1a25c [WangTaoTheTonic] revert unrelated formatting issue
      02c4e49 [WangTao] add comment
      32a3f3f [WangTaoTheTonic] ingore it in SparkSubmit instead of SparkContext
      667cf24 [WangTaoTheTonic] document fix
      ff8d5f7 [WangTaoTheTonic] also ignore it in standalone cluster mode
      2286e6b [WangTao] ignore spark.driver.host in yarn-cluster mode
      8106b1e3
    • Cheng Lian's avatar
      [SPARK-4683][SQL] Add a beeline.cmd to run on Windows · 28c7acac
      Cheng Lian authored
      Tested locally with a Win7 VM. Connected to a Spark SQL Thrift server instance running on Mac OS X with the following command line:
      
      ```
      bin\beeline.cmd -u jdbc:hive2://10.0.2.2:10000 -n lian
      ```
      
      <!-- Reviewable:start -->
      [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/apache/spark/3599)
      <!-- Reviewable:end -->
      
      Author: Cheng Lian <lian@databricks.com>
      
      Closes #3599 from liancheng/beeline.cmd and squashes the following commits:
      
      79092e7 [Cheng Lian] Windows script for BeeLine
      28c7acac
    • Xiangrui Meng's avatar
      [FIX][DOC] Fix broken links in ml-guide.md · 7e758d70
      Xiangrui Meng authored
      and some minor changes in ScalaDoc.
      
      Author: Xiangrui Meng <meng@databricks.com>
      
      Closes #3601 from mengxr/SPARK-4575-fix and squashes the following commits:
      
      c559768 [Xiangrui Meng] minor code update
      ce94da8 [Xiangrui Meng] Java Bean -> JavaBean
      0b5c182 [Xiangrui Meng] fix links in ml-guide
      7e758d70
    • Joseph K. Bradley's avatar
      [SPARK-4575] [mllib] [docs] spark.ml pipelines doc + bug fixes · 469a6e5f
      Joseph K. Bradley authored
      Documentation:
      * Added ml-guide.md, linked from mllib-guide.md
      * Updated mllib-guide.md with small section pointing to ml-guide.md
      
      Examples:
      * CrossValidatorExample
      * SimpleParamsExample
      * (I copied these + the SimpleTextClassificationPipeline example into the ml-guide.md)
      
      Bug fixes:
      * PipelineModel: did not use ParamMaps correctly
      * UnaryTransformer: issues with TypeTag serialization (Thanks to mengxr for that fix!)
      
      CC: mengxr shivaram  etrain  Documentation for Pipelines: I know the docs are not complete, but the goal is to have enough to let interested people get started using spark.ml and to add more docs once the package is more established/complete.
      
      Author: Joseph K. Bradley <joseph@databricks.com>
      Author: jkbradley <joseph.kurata.bradley@gmail.com>
      Author: Xiangrui Meng <meng@databricks.com>
      
      Closes #3588 from jkbradley/ml-package-docs and squashes the following commits:
      
      d393b5c [Joseph K. Bradley] fixed bug in Pipeline (typo from last commit).  updated examples for CV and Params for spark.ml
      c38469c [Joseph K. Bradley] Updated ml-guide with CV examples
      99f88c2 [Joseph K. Bradley] Fixed bug in PipelineModel.transform* with usage of params.  Updated CrossValidatorExample to use more training examples so it is less likely to get a 0-size fold.
      ea34dc6 [jkbradley] Merge pull request #4 from mengxr/ml-package-docs
      3b83ec0 [Xiangrui Meng] replace TypeTag with explicit datatype
      41ad9b1 [Joseph K. Bradley] Added examples for spark.ml: SimpleParamsExample + Java version, CrossValidatorExample + Java version.  CrossValidatorExample not working yet.  Added programming guide for spark.ml, but need to add CrossValidatorExample to it once CrossValidatorExample works.
      469a6e5f
    • Joseph K. Bradley's avatar
      [docs] Fix outdated comment in tuning guide · 529439bd
      Joseph K. Bradley authored
      When you use the SPARK_JAVA_OPTS env variable, Spark complains:
      
      ```
      SPARK_JAVA_OPTS was detected (set to ' -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps ').
      This is deprecated in Spark 1.0+.
      
      Please instead use:
       - ./spark-submit with conf/spark-defaults.conf to set defaults for an application
       - ./spark-submit with --driver-java-options to set -X options for a driver
       - spark.executor.extraJavaOptions to set -X options for executors
       - SPARK_DAEMON_JAVA_OPTS to set java options for standalone daemons (master or worker)
      ```
      
      This updates the docs to redirect the user to the relevant part of the configuration docs.
      
      CC: mengxr  but please CC someone else as needed
      
      Author: Joseph K. Bradley <joseph@databricks.com>
      
      Closes #3592 from jkbradley/tuning-doc and squashes the following commits:
      
      0760ce1 [Joseph K. Bradley] fixed outdated comment in tuning guide
      529439bd
    • Aaron Davidson's avatar
      [SQL] Minor: Avoid calling Seq#size in a loop · c6c7165e
      Aaron Davidson authored
      Just found this instance while doing some jstack-based profiling of a Spark SQL job. It is very unlikely that this is causing much of a perf issue anywhere, but it is unnecessarily suboptimal.
      
      Author: Aaron Davidson <aaron@databricks.com>
      
      Closes #3593 from aarondav/seq-opt and squashes the following commits:
      
      962cdfc [Aaron Davidson] [SQL] Minor: Avoid calling Seq#size in a loop
      c6c7165e
    • lewuathe's avatar
      [SPARK-4685] Include all spark.ml and spark.mllib packages in JavaDoc's MLlib group · 20bfea4a
      lewuathe authored
      This is #3554 from Lewuathe except that I put both `spark.ml` and `spark.mllib` in the group 'MLlib`.
      
      Closes #3554
      
      jkbradley
      
      Author: lewuathe <lewuathe@me.com>
      Author: Xiangrui Meng <meng@databricks.com>
      
      Closes #3598 from mengxr/Lewuathe-modify-javadoc-setting and squashes the following commits:
      
      184609a [Xiangrui Meng] merge spark.ml and spark.mllib into the same group in javadoc
      f7535e6 [lewuathe] [SPARK-4685] Update JavaDoc settings to include spark.ml and all spark.mllib subpackages in the right sections
      20bfea4a
    • Reynold Xin's avatar
      [SPARK-4719][API] Consolidate various narrow dep RDD classes with MapPartitionsRDD · c3ad4860
      Reynold Xin authored
      MappedRDD, MappedValuesRDD, FlatMappedValuesRDD, FilteredRDD, GlommedRDD, FlatMappedRDD are not necessary. They can be implemented trivially using MapPartitionsRDD.
      
      Author: Reynold Xin <rxin@databricks.com>
      
      Closes #3578 from rxin/SPARK-4719 and squashes the following commits:
      
      eed9853 [Reynold Xin] Preserve partitioning for filter.
      eb1a89b [Reynold Xin] [SPARK-4719][API] Consolidate various narrow dep RDD classes with MapPartitionsRDD.
      c3ad4860
    • Jacky Li's avatar
      [SQL] remove unnecessary import · ed88db4c
      Jacky Li authored
      Author: Jacky Li <jacky.likun@huawei.com>
      
      Closes #3585 from jackylk/remove and squashes the following commits:
      
      045423d [Jacky Li] remove unnecessary import
      ed88db4c
    • Patrick Wendell's avatar
      MAINTENANCE: Automated closing of pull requests. · 3cdae038
      Patrick Wendell authored
      This commit exists to close the following pull requests on Github:
      
      Closes #1875 (close requested by 'marmbrus')
      Closes #3566 (close requested by 'andrewor14')
      Closes #3487 (close requested by 'pwendell')
      3cdae038
  3. Dec 03, 2014
    • Andrew Or's avatar
      [Release] Correctly translate contributors name in release notes · a4dfb4ef
      Andrew Or authored
      This commit involves three main changes:
      
      (1) It separates the translation of contributor names from the
      generation of the contributors list. This is largely motivated
      by the Github API limit; even if we exceed this limit, we should
      at least be able to proceed manually as before. This is why the
      translation logic is abstracted into its own script
      translate-contributors.py.
      
      (2) When we look for candidate replacements for invalid author
      names, we should look for the assignees of the associated JIRAs
      too. As a result, the intermediate file must keep track of these.
      
      (3) This provides an interactive mode with which the user can
      sit at the terminal and manually pick the candidate replacement
      that he/she thinks makes the most sense. As before, there is a
      non-interactive mode that picks the first candidate that the
      script considers "valid."
      
      TODO: We should have a known_contributors file that stores
      known mappings so we don't have to go through all of this
      translation every time. This is also valuable because some
      contributors simply cannot be automatically translated.
      a4dfb4ef
    • Joseph K. Bradley's avatar
      [SPARK-4580] [SPARK-4610] [mllib] [docs] Documentation for tree ensembles + DecisionTree API fix · 657a8883
      Joseph K. Bradley authored
      Major changes:
      * Added programming guide sections for tree ensembles
      * Added examples for tree ensembles
      * Updated DecisionTree programming guide with more info on parameters
      * **API change**: Standardized the tree parameter for the number of classes (for classification)
      
      Minor changes:
      * Updated decision tree documentation
      * Updated existing tree and tree ensemble examples
       * Use train/test split, and compute test error instead of training error.
       * Fixed decision_tree_runner.py to actually use the number of classes it computes from data. (small bug fix)
      
      Note: I know this is a lot of lines, but most is covered by:
      * Programming guide sections for gradient boosting and random forests.  (The changes are probably best viewed by generating the docs locally.)
      * New examples (which were copied from the programming guide)
      * The "numClasses" renaming
      
      I have run all examples and relevant unit tests.
      
      CC: mengxr manishamde codedeft
      
      Author: Joseph K. Bradley <joseph@databricks.com>
      Author: Joseph K. Bradley <joseph.kurata.bradley@gmail.com>
      
      Closes #3461 from jkbradley/ensemble-docs and squashes the following commits:
      
      70a75f3 [Joseph K. Bradley] updated forest vs boosting comparison
      d1de753 [Joseph K. Bradley] Added note about toString and toDebugString for DecisionTree to migration guide
      8e87f8f [Joseph K. Bradley] Combined GBT and RandomForest guides into one ensembles guide
      6fab846 [Joseph K. Bradley] small fixes based on review
      b9f8576 [Joseph K. Bradley] updated decision tree doc
      375204c [Joseph K. Bradley] fixed python style
      2b60b6e [Joseph K. Bradley] merged Java RandomForest examples into 1 file.  added header.  Fixed small bug in same example in the programming guide.
      706d332 [Joseph K. Bradley] updated python DT runner to print full model if it is small
      c76c823 [Joseph K. Bradley] added migration guide for mllib
      abe5ed7 [Joseph K. Bradley] added examples for random forest in Java and Python to examples folder
      07fc11d [Joseph K. Bradley] Renamed numClassesForClassification to numClasses everywhere in trees and ensembles. This is a breaking API change, but it was necessary to correct an API inconsistency in Spark 1.1 (where Python DecisionTree used numClasses but Scala used numClassesForClassification).
      cdfdfbc [Joseph K. Bradley] added examples for GBT
      6372a2b [Joseph K. Bradley] updated decision tree examples to use random split.  tested all of them.
      ad3e695 [Joseph K. Bradley] added gbt and random forest to programming guide.  still need to update their examples
      657a8883
    • Joseph K. Bradley's avatar
      [SPARK-4711] [mllib] [docs] Programming guide advice on choosing optimizer · 27ab0b8a
      Joseph K. Bradley authored
      I have heard requests for the docs to include advice about choosing an optimization method. The programming guide could include a brief statement about this (so the user does not have to read the whole optimization section).
      
      CC: mengxr
      
      Author: Joseph K. Bradley <joseph@databricks.com>
      
      Closes #3569 from jkbradley/lr-doc and squashes the following commits:
      
      654aeb5 [Joseph K. Bradley] updated section header for mllib-optimization
      5035ad0 [Joseph K. Bradley] updated based on review
      94f6dec [Joseph K. Bradley] Updated linear methods and optimization docs with quick advice on choosing an optimization method
      27ab0b8a
    • Reynold Xin's avatar
      [SPARK-4085] Propagate FetchFailedException when Spark fails to read local shuffle file. · 1826372d
      Reynold Xin authored
      cc aarondav kayousterhout pwendell
      
      This should go into 1.2?
      
      Author: Reynold Xin <rxin@databricks.com>
      
      Closes #3579 from rxin/SPARK-4085 and squashes the following commits:
      
      255b4fd [Reynold Xin] Updated test.
      f9814d9 [Reynold Xin] Code review feedback.
      2afaf35 [Reynold Xin] [SPARK-4085] Propagate FetchFailedException when Spark fails to read local shuffle file.
      1826372d
    • Mark Hamstra's avatar
      [SPARK-4498][core] Don't transition ExecutorInfo to RUNNING until Driver adds Executor · 96b27855
      Mark Hamstra authored
      The ExecutorInfo only reaches the RUNNING state if the Driver is alive to send the ExecutorStateChanged message to master.  Else, appInfo.resetRetryCount() is never called and failing Executors will eventually exceed ApplicationState.MAX_NUM_RETRY, resulting in the application being removed from the master's accounting.
      
      JoshRosen
      
      Author: Mark Hamstra <markhamstra@gmail.com>
      
      Closes #3550 from markhamstra/SPARK-4498 and squashes the following commits:
      
      8f543b1 [Mark Hamstra] Don't transition ExecutorInfo to RUNNING until Executor is added by Driver
      96b27855
    • Michael Armbrust's avatar
      [SPARK-4552][SQL] Avoid exception when reading empty parquet data through Hive · 513ef82e
      Michael Armbrust authored
      This is a very small fix that catches one specific exception and returns an empty table.  #3441 will address this in a more principled way.
      
      Author: Michael Armbrust <michael@databricks.com>
      
      Closes #3586 from marmbrus/fixEmptyParquet and squashes the following commits:
      
      2781d9f [Michael Armbrust] Handle empty lists for newParquet
      04dd376 [Michael Armbrust] Avoid exception when reading empty parquet data through Hive
      513ef82e
    • Andrew Or's avatar
      [HOT FIX] [YARN] Check whether `/lib` exists before listing its files · 90ec643e
      Andrew Or authored
      This is caused by a975dc32
      
      Author: Andrew Or <andrew@databricks.com>
      
      Closes #3589 from andrewor14/yarn-hot-fix and squashes the following commits:
      
      a4fad5f [Andrew Or] Check whether lib directory exists before listing its files
      90ec643e
    • Masayoshi TSUZUKI's avatar
      [SPARK-4642] Add description about spark.yarn.queue to running-on-YARN document. · 692f4937
      Masayoshi TSUZUKI authored
      Added descriptions about these parameters.
      - spark.yarn.queue
      
      Modified description about the defalut value of this parameter.
      - spark.yarn.submit.file.replication
      
      Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>
      
      Closes #3500 from tsudukim/feature/SPARK-4642 and squashes the following commits:
      
      ce99655 [Masayoshi TSUZUKI] better gramatically.
      21cf624 [Masayoshi TSUZUKI] Removed intentionally undocumented properties.
      88cac9b [Masayoshi TSUZUKI] [SPARK-4642] Documents about running-on-YARN needs update
      692f4937
    • zsxwing's avatar
      [SPARK-4715][Core] Make sure tryToAcquire won't return a negative value · edd3cd47
      zsxwing authored
      ShuffleMemoryManager.tryToAcquire may return a negative value. The unit test demonstrates this bug. It will output `0 did not equal -200 granted is negative`.
      
      Author: zsxwing <zsxwing@gmail.com>
      
      Closes #3575 from zsxwing/SPARK-4715 and squashes the following commits:
      
      a193ae6 [zsxwing] Make sure tryToAcquire won't return a negative value
      edd3cd47
    • Masayoshi TSUZUKI's avatar
      [SPARK-4701] Typo in sbt/sbt · 96786e3e
      Masayoshi TSUZUKI authored
      Modified typo.
      
      Author: Masayoshi TSUZUKI <tsudukim@oss.nttdata.co.jp>
      
      Closes #3560 from tsudukim/feature/SPARK-4701 and squashes the following commits:
      
      ed2a3f1 [Masayoshi TSUZUKI] Another whitespace position error.
      1af3a35 [Masayoshi TSUZUKI] [SPARK-4701] Typo in sbt/sbt
      96786e3e
    • Jim Lim's avatar
      SPARK-2624 add datanucleus jars to the container in yarn-cluster · a975dc32
      Jim Lim authored
      If `spark-submit` finds the datanucleus jars, it adds them to the driver's classpath, but does not add it to the container.
      
      This patch modifies the yarn deployment class to copy all `datanucleus-*` jars found in `[spark-home]/libs` to the container.
      
      Author: Jim Lim <jim@quixey.com>
      
      Closes #3238 from jimjh/SPARK-2624 and squashes the following commits:
      
      3633071 [Jim Lim] SPARK-2624 update documentation and comments
      fe95125 [Jim Lim] SPARK-2624 keep java imports together
      6c31fe0 [Jim Lim] SPARK-2624 update documentation
      6690fbf [Jim Lim] SPARK-2624 add tests
      d28d8e9 [Jim Lim] SPARK-2624 add spark.yarn.datanucleus.dir option
      84e6cba [Jim Lim] SPARK-2624 add datanucleus jars to the container in yarn-cluster
      a975dc32
    • DB Tsai's avatar
      [SPARK-4717][MLlib] Optimize BLAS library to avoid de-reference multiple times in loop · d0054298
      DB Tsai authored
      Have a local reference to `values` and `indices` array in the `Vector` object
      so JVM can locate the value with one operation call. See `SPARK-4581`
      for similar optimization, and the bytecode analysis.
      
      Author: DB Tsai <dbtsai@alpinenow.com>
      
      Closes #3577 from dbtsai/blasopt and squashes the following commits:
      
      62d38c4 [DB Tsai] formating
      0316cef [DB Tsai] first commit
      d0054298
    • DB Tsai's avatar
      [SPARK-4708][MLLib] Make k-mean runs two/three times faster with dense/sparse sample · 7fc49ed9
      DB Tsai authored
      Note that the usage of `breezeSquaredDistance` in
      `org.apache.spark.mllib.util.MLUtils.fastSquaredDistance`
      is in the critical path, and `breezeSquaredDistance` is slow.
      We should replace it with our own implementation.
      
      Here is the benchmark against mnist8m dataset.
      
      Before
      DenseVector: 70.04secs
      SparseVector: 59.05secs
      
      With this PR
      DenseVector: 30.58secs
      SparseVector: 21.14secs
      
      Author: DB Tsai <dbtsai@alpinenow.com>
      
      Closes #3565 from dbtsai/kmean and squashes the following commits:
      
      08bc068 [DB Tsai] restyle
      de24662 [DB Tsai] address feedback
      b185a77 [DB Tsai] cleanup
      4554ddd [DB Tsai] first commit
      7fc49ed9
    • Joseph K. Bradley's avatar
      [SPARK-4710] [mllib] Eliminate MLlib compilation warnings · 4ac21511
      Joseph K. Bradley authored
      Renamed StreamingKMeans to StreamingKMeansExample to avoid warning about name conflict with StreamingKMeans class.
      
      Added import to DecisionTreeRunner to eliminate warning.
      
      CC: mengxr
      
      Author: Joseph K. Bradley <joseph@databricks.com>
      
      Closes #3568 from jkbradley/ml-compilation-warnings and squashes the following commits:
      
      64d6bc4 [Joseph K. Bradley] Updated DecisionTreeRunner.scala and StreamingKMeans.scala to eliminate compilation warnings, including renaming StreamingKMeans to StreamingKMeansExample.
      4ac21511
    • zsxwing's avatar
      [SPARK-4397][Core] Change the 'since' value of '@deprecated' to '1.3.0' · 8af551f7
      zsxwing authored
      As #3262 wasn't merged to branch 1.2, the `since` value of `deprecated` should be '1.3.0'.
      
      Author: zsxwing <zsxwing@gmail.com>
      
      Closes #3573 from zsxwing/SPARK-4397-version and squashes the following commits:
      
      1daa03c [zsxwing] Change the 'since' value to '1.3.0'
      8af551f7
    • JerryLead's avatar
      [SPARK-4672][Core]Checkpoint() should clear f to shorten the serialization chain · 77be8b98
      JerryLead authored
      The related JIRA is https://issues.apache.org/jira/browse/SPARK-4672
      
      The f closure of `PartitionsRDD(ZippedPartitionsRDD2)` contains a `$outer` that references EdgeRDD/VertexRDD, which causes task's serialization chain become very long in iterative GraphX applications. As a result, StackOverflow error will occur. If we set "f = null" in `clearDependencies()`, checkpoint() can cut off the long serialization chain. More details and explanation can be found in the JIRA.
      
      Author: JerryLead <JerryLead@163.com>
      Author: Lijie Xu <csxulijie@gmail.com>
      
      Closes #3545 from JerryLead/my_core and squashes the following commits:
      
      f7faea5 [JerryLead] checkpoint() should clear the f to avoid StackOverflow error
      c0169da [JerryLead] Merge branch 'master' of https://github.com/apache/spark
      52799e3 [Lijie Xu] Merge pull request #1 from apache/master
      77be8b98
  4. Dec 02, 2014
Loading