You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/08/14 15:10:34 UTC
spark git commit: [WIP][MINOR][TYPO] Fix several trivival typos
Repository: spark
Updated Branches:
refs/heads/master 0ebf7c1bf -> 2a3d286f3
[WIP][MINOR][TYPO] Fix several trivival typos
## What changes were proposed in this pull request?
* Fixed one typo `"overriden"` as `"overridden"`, also make sure no other same typo.
* Fixed one typo `"lowcase"` as `"lowercase"`, also make sure no other same typo.
## How was this patch tested?
Since the change is very tiny, so I just make sure compilation is successful.
I am new to the spark community, please feel free to let me do other necessary steps.
Thanks in advance!
----
Updated: Found another typo `lowcase` later and fixed then in the same patch
Author: Zhenglai Zhang <zh...@hotmail.com>
Closes #14622 from zhenglaizhang/fixtypo.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/2a3d286f
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/2a3d286f
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/2a3d286f
Branch: refs/heads/master
Commit: 2a3d286f3421f6836b71afcbda3084222752e6b1
Parents: 0ebf7c1
Author: Zhenglai Zhang <zh...@hotmail.com>
Authored: Sun Aug 14 16:10:34 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Sun Aug 14 16:10:34 2016 +0100
----------------------------------------------------------------------
core/src/main/scala/org/apache/spark/SparkContext.scala | 2 +-
core/src/main/scala/org/apache/spark/util/Utils.scala | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/2a3d286f/core/src/main/scala/org/apache/spark/SparkContext.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/SparkContext.scala b/core/src/main/scala/org/apache/spark/SparkContext.scala
index 4f3bb1c..a6853fe 100644
--- a/core/src/main/scala/org/apache/spark/SparkContext.scala
+++ b/core/src/main/scala/org/apache/spark/SparkContext.scala
@@ -355,7 +355,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
* Valid log levels include: ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, WARN
*/
def setLogLevel(logLevel: String) {
- // let's allow lowcase or mixed case too
+ // let's allow lowercase or mixed case too
val upperCased = logLevel.toUpperCase(Locale.ENGLISH)
require(SparkContext.VALID_LOG_LEVELS.contains(upperCased),
s"Supplied level $logLevel did not match one of:" +
http://git-wip-us.apache.org/repos/asf/spark/blob/2a3d286f/core/src/main/scala/org/apache/spark/util/Utils.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/spark/util/Utils.scala b/core/src/main/scala/org/apache/spark/util/Utils.scala
index 6ab9e99..0ae44a2 100644
--- a/core/src/main/scala/org/apache/spark/util/Utils.scala
+++ b/core/src/main/scala/org/apache/spark/util/Utils.scala
@@ -82,7 +82,7 @@ private[spark] object Utils extends Logging {
/**
* The performance overhead of creating and logging strings for wide schemas can be large. To
- * limit the impact, we bound the number of fields to include by default. This can be overriden
+ * limit the impact, we bound the number of fields to include by default. This can be overridden
* by setting the 'spark.debug.maxToStringFields' conf in SparkEnv.
*/
val DEFAULT_MAX_TO_STRING_FIELDS = 25
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org