You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by va...@apache.org on 2018/02/06 18:46:55 UTC
spark git commit: [SPARK-23310][CORE][FOLLOWUP] Fix Java style check
issues.
Repository: spark
Updated Branches:
refs/heads/master 63c5bf13c -> 7db9979ba
[SPARK-23310][CORE][FOLLOWUP] Fix Java style check issues.
## What changes were proposed in this pull request?
This is a follow-up of #20492 which broke lint-java checks.
This pr fixes the lint-java issues.
```
[ERROR] src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java:[79] (sizes) LineLength: Line is longer than 100 characters (found 114).
```
## How was this patch tested?
Checked manually in my local environment.
Author: Takuya UESHIN <ue...@databricks.com>
Closes #20514 from ueshin/issues/SPARK-23310/fup1.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/7db9979b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/7db9979b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/7db9979b
Branch: refs/heads/master
Commit: 7db9979babe52d15828967c86eb77e3fb2791579
Parents: 63c5bf1
Author: Takuya UESHIN <ue...@databricks.com>
Authored: Tue Feb 6 10:46:48 2018 -0800
Committer: Marcelo Vanzin <va...@cloudera.com>
Committed: Tue Feb 6 10:46:48 2018 -0800
----------------------------------------------------------------------
.../util/collection/unsafe/sort/UnsafeSorterSpillReader.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/7db9979b/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java b/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java
index 71e7c7a..2c53c8d 100644
--- a/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java
+++ b/core/src/main/java/org/apache/spark/util/collection/unsafe/sort/UnsafeSorterSpillReader.java
@@ -76,8 +76,8 @@ public final class UnsafeSorterSpillReader extends UnsafeSorterIterator implemen
SparkEnv.get() == null ? 0.5 :
SparkEnv.get().conf().getDouble("spark.unsafe.sorter.spill.read.ahead.fraction", 0.5);
- // SPARK-23310: Disable read-ahead input stream, because it is causing lock contention and perf regression for
- // TPC-DS queries.
+ // SPARK-23310: Disable read-ahead input stream, because it is causing lock contention and perf
+ // regression for TPC-DS queries.
final boolean readAheadEnabled = SparkEnv.get() != null &&
SparkEnv.get().conf().getBoolean("spark.unsafe.sorter.spill.read.ahead.enabled", false);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org