Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
729b318
[SPARK-29087][CORE][STREAMING] Use DelegatingServletContextHandler to…
dongjoon-hyun Sep 15, 2019
1b7afc0
[SPARK-28471][SQL][DOC][FOLLOWUP] Fix year patterns in the comments o…
MaxGekk Sep 15, 2019
61e5aeb
[SPARK-29046][SQL] Fix NPE in SQLConf.get when active SparkContext is…
HeartSaVioR Sep 15, 2019
b91648c
[SPARK-28856][FOLLOW-UP][SQL][TEST] Add the `namespaces` keyword to T…
hoffmann99 Sep 15, 2019
7d4eb38
[SPARK-29052][DOCS][ML][PYTHON][CORE][R][SQL][SS] Create a Migration …
HyukjinKwon Sep 15, 2019
1b99d0c
[SPARK-29069][SQL] ResolveInsertInto should not do table lookup
cloud-fan Sep 16, 2019
471a3ef
[SPARK-28932][BUILD][FOLLOWUP] Switch to scala-library compile depend…
dongjoon-hyun Sep 16, 2019
6297287
[SPARK-29061][SQL] Prints bytecode statistics in debugCodegen
maropu Sep 16, 2019
67751e2
[SPARK-29072][CORE] Put back usage of TimeTrackingOutputStream for Un…
mccheah Sep 16, 2019
5881871
[SPARK-26929][SQL] fix table owner use user instead of principal when…
hddong Sep 16, 2019
88c8d5e
[SPARK-23539][SS][FOLLOWUP][TESTS] Add UT to ensure existing query do…
HeartSaVioR Sep 16, 2019
95073fb
[SPARK-29008][SQL] Define an individual method for each common subexp…
maropu Sep 17, 2019
dffd92e
[SPARK-29100][SQL] Fix compilation error in codegen with switch from …
viirya Sep 17, 2019
4d27a25
[SPARK-22797][ML][PYTHON] Bucketizer support multi-column
zhengruifeng Sep 17, 2019
c862835
[SPARK-28996][SQL][TESTS] Add tests regarding username of HiveClient
HeartSaVioR Sep 17, 2019
db996cc
[SPARK-29074][SQL] Optimize `date_format` for foldable `fmt`
MaxGekk Sep 17, 2019
79b10a1
[SPARK-28929][CORE] Spark Logging level should be INFO instead of DEB…
iRakson Sep 17, 2019
104b9b6
[SPARK-28483][FOLLOW-UP] Fix flaky test in BarrierTaskContextSuite
WeichenXu123 Sep 17, 2019
34915b2
[SPARK-29104][CORE][TESTS] Fix PipedRDDSuite to use `eventually` to c…
dongjoon-hyun Sep 17, 2019
3fc52b5
[SPARK-28950][SQL] Refine the code of DELETE
Sep 17, 2019
c6ca661
[SPARK-28814][SQL][DOC] Document SET/RESET in SQL Reference
sharangk Sep 17, 2019
dd32476
[SPARK-28792][SQL][DOC] Document CREATE DATABASE statement in SQL Ref…
sharangk Sep 17, 2019
02db706
[SPARK-29115][SQL][TEST] Add benchmarks for make_date() and make_time…
MaxGekk Sep 17, 2019
71e7516
[SPARK-29027][TESTS] KafkaDelegationTokenSuite fix when loopback cano…
gaborgsomogyi Sep 17, 2019
197732e
[SPARK-29125][INFRA] Add Hadoop 2.7 combination to GitHub Action
dongjoon-hyun Sep 17, 2019
05988b2
[SPARK-27463][PYTHON] Support Dataframe Cogroup via Pandas UDFs
d80tb7 Sep 18, 2019
3ece8ee
[SPARK-29124][CORE] Use MurmurHash3 `bytesHash(data, seed)` instead o…
dongjoon-hyun Sep 18, 2019
4559a82
[SPARK-28930][SQL] Last Access Time value shall display 'UNKNOWN' in …
sujith71955 Sep 18, 2019
eef5e6d
[SPARK-29113][DOC] Fix some annotation errors and remove meaningless …
turboFei Sep 18, 2019
0b6775e
[SPARK-29112][YARN] Expose more details when ApplicationMaster report…
LantaoJin Sep 18, 2019
3da2786
[SPARK-29096][SQL] The exact math method should be called only when t…
gengliangwang Sep 18, 2019
b48ef7a
[SPARK-28799][DOC] Documentation for Truncate command
PavithraRamachandran Sep 18, 2019
600a2a4
[SPARK-28972][DOCS] Updating unit description in configurations, to m…
PavithraRamachandran Sep 18, 2019
12e1583
[SPARK-28927][ML] Rethrow block mismatch exception in ALS when input …
viirya Sep 18, 2019
c2734ab
[SPARK-29012][SQL] Support special timestamp values
MaxGekk Sep 18, 2019
203bf9e
[SPARK-19926][PYSPARK] make captured exception from JVM side user fri…
advancedxy Sep 18, 2019
376e17c
[SPARK-29101][SQL] Fix count API for csv file when DROPMALFORMED mode…
sandeep-katta Sep 18, 2019
d74fc6b
[SPARK-29118][ML] Avoid redundant computation in transform of GMM & GLR
zhengruifeng Sep 18, 2019
276aaaa
[SPARK-29105][CORE] Keep driver log file size up to date in HDFS
Sep 18, 2019
ee94b5d
[SPARK-29030][SQL] Simplify lookupV2Relation
jzhuge Sep 18, 2019
dfb0a8b
[SPARK-28208][BUILD][SQL] Upgrade to ORC 1.5.6 including closing the …
omalley Sep 18, 2019
cd48177
[SPARK-28091][CORE] Extend Spark metrics system with user-defined met…
LucaCanali Sep 18, 2019
b4b2e95
[MINOR][SS][DOCS] Adapt multiple watermark policy comment to the reality
bartosz25 Sep 18, 2019
db9e0fd
[SPARK-22796][PYTHON][ML] Add multiple columns support to PySpark Qua…
huaxingao Sep 18, 2019
f32f16f
[SPARK-29082][CORE] Skip delegation token generation if no credential…
Sep 18, 2019
8c3f27c
[SPARK-28683][BUILD] Upgrade Scala to 2.12.10
wangyum Sep 18, 2019
a6a663c
[SPARK-29141][SQL][TEST] Use SqlBasedBenchmark in SQL benchmarks
MaxGekk Sep 19, 2019
b917a65
[SPARK-28989][SQL] Add a SQLConf `spark.sql.ansi.enabled`
gengliangwang Sep 19, 2019
3bf43fb
[SPARK-29159][BUILD] Increase ReservedCodeCacheSize to 1G
dongjoon-hyun Sep 19, 2019
e97b55d
[SPARK-28985][PYTHON][ML] Add common classes (JavaPredictor/JavaClass…
huaxingao Sep 19, 2019
c5d8a51
[MINOR][BUILD] Fix about 15 misc build warnings
srowen Sep 19, 2019
eee2e02
[SPARK-29165][SQL][TEST] Set log level of log generated code as ERROR…
HeartSaVioR Sep 19, 2019
d3eb4c9
[SPARK-28822][DOC][SQL] Document USE DATABASE in SQL Reference
shivusondur Sep 19, 2019
2c775f4
[SPARK-28612][SQL] Add DataFrameWriterV2 API
rdblue Sep 19, 2019
5b47841
[SPARK-28208][SQL][FOLLOWUP] Use `tryWithResource` pattern
dongjoon-hyun Sep 19, 2019
76ebf22
Revert "[SPARK-29082][CORE] Skip delegation token generation if no cr…
dongjoon-hyun Sep 20, 2019
bd05339
[SPARK-29158][SQL] Expose SerializableConfiguration for DataSource V2…
holdenk Sep 20, 2019
5e92301
[SPARK-29161][CORE][SQL][STREAMING] Unify default wait time for waitU…
HeartSaVioR Sep 20, 2019
ec8a1a8
[SPARK-29122][SQL] Propagate all the SQL conf to executors in SQLQuer…
maropu Sep 20, 2019
eb7ee68
[SPARK-29062][SQL] Add V1_BATCH_WRITE to the TableCapabilityChecks
brkyvz Sep 20, 2019
a23ad25
[SPARK-29158][SQL][FOLLOW-UP] Create an actual test case under `src/t…
HyukjinKwon Sep 20, 2019
9e234a5
[MINOR][INFRA] Use java-version instead of version for GitHub Action
wangyum Sep 20, 2019
27d0c3f
[SPARK-29139][CORE][TESTS] Increase timeout to wait for executor(s) t…
HeartSaVioR Sep 20, 2019
42050c3
[SPARK-27659][PYTHON] Allow PySpark to prefetch during toLocalIterator
holdenk Sep 20, 2019
4080c4b
[SPARK-28937][SPARK-28936][KUBERNETES] Reduce test flakyness
holdenk Sep 20, 2019
8c8016a
[SPARK-21045][PYTHON] Allow non-ascii string as an exception message …
advancedxy Sep 20, 2019
abc88de
[SPARK-29063][SQL] Modify fillValue approach to support joined dataframe
xuanyuanking Sep 20, 2019
4a89fa1
[SPARK-29196][DOCS] Add JDK11 support to the document
dongjoon-hyun Sep 20, 2019
c764dd6
[SPARK-29144][ML] Binarizer handle sparse vectors incorrectly with ne…
zhengruifeng Sep 21, 2019
ff3a737
[SPARK-29192][TESTS] Extend BenchmarkBase to write JDK9+ results sepa…
dongjoon-hyun Sep 21, 2019
252b6cf
[SPARK-29187][SQL] Return null from `date_part()` for the null `field`
MaxGekk Sep 21, 2019
a9ae262
[SPARK-28772][BUILD][MLLIB] Update breeze to 1.0
srowen Sep 21, 2019
f7cc695
[SPARK-29140][SQL] Handle parameters having "array" of javaType prope…
HeartSaVioR Sep 21, 2019
076186e
[SPARK-19147][CORE] Gracefully handle error in task after executor is…
Sep 21, 2019
93ac4e1
[SPARK-29053][WEBUI] Sort does not work on some columns
amanomer Sep 21, 2019
81b6f11
[SPARK-29160][CORE] Use UTF-8 explicitly for reading/writing event lo…
HeartSaVioR Sep 21, 2019
3e26492
[SPARK-29199][INFRA] Add linters and license/dependency checkers to G…
dongjoon-hyun Sep 21, 2019
c7c6b64
[SPARK-29121][ML][MLLIB] Support for dot product operation on Vector(s)
phpisciuneri Sep 21, 2019
3be5741
[SPARK-29190][SQL] Optimize `extract`/`date_part` for the millisecond…
MaxGekk Sep 22, 2019
89bad26
[SPARK-29200][SQL] Optimize `extract`/`date_part` for epoch
MaxGekk Sep 22, 2019
e2c4787
[CORE][MINOR] Correct a log message in DAGScheduler
Sep 22, 2019
051e691
[SPARK-28141][SQL] Support special date values
MaxGekk Sep 22, 2019
a838dbd
[SPARK-27463][PYTHON][FOLLOW-UP] Run the tests of Cogrouped pandas UDF
HyukjinKwon Sep 22, 2019
fe4bee8
[SPARK-29162][SQL] Simplify NOT(IsNull(x)) and NOT(IsNotNull(x))
AngersZhuuuu Sep 22, 2019
76bc9db
[SPARK-29191][TESTS][SQL] Add tag ExtendedSQLTest for SQLQueryTestSuite
dongjoon-hyun Sep 22, 2019
51d3509
[SPARK-28599][SQL] Fix `Execution Time` and `Duration` column sorting…
wangyum Sep 22, 2019
7a2ea58
[SPARK-29084][SQL][TESTS] Check method bytecode size in BenchmarkQuer…
maropu Sep 22, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
38 changes: 34 additions & 4 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,46 @@ jobs:
strategy:
matrix:
java: [ '1.8', '11' ]
name: Build Spark with JDK ${{ matrix.java }}
hadoop: [ 'hadoop-2.7', 'hadoop-3.2' ]
exclude:
- java: '11'
hadoop: 'hadoop-2.7'
name: Build Spark with JDK ${{ matrix.java }} and ${{ matrix.hadoop }}

steps:
- uses: actions/checkout@master
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
version: ${{ matrix.java }}
java-version: ${{ matrix.java }}
- name: Build with Maven
run: |
export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=512m -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
export MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=1g -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN"
export MAVEN_CLI_OPTS="--no-transfer-progress"
./build/mvn $MAVEN_CLI_OPTS -DskipTests -Pyarn -Pmesos -Pkubernetes -Phive -Phive-thriftserver -Phadoop-3.2 -Phadoop-cloud -Djava.version=${{ matrix.java }} package
./build/mvn $MAVEN_CLI_OPTS -DskipTests -Pyarn -Pmesos -Pkubernetes -Phive -Phive-thriftserver -P${{ matrix.hadoop }} -Phadoop-cloud -Djava.version=${{ matrix.java }} package


lint:
runs-on: ubuntu-latest
name: Linters
steps:
- uses: actions/checkout@master
- uses: actions/setup-java@v1
with:
java-version: '11'
- uses: actions/setup-python@v1
with:
python-version: '3.x'
architecture: 'x64'
- name: Scala
run: ./dev/lint-scala
- name: Java
run: ./dev/lint-java
- name: Python
run: |
pip install flake8 sphinx numpy
./dev/lint-python
- name: License
run: ./dev/check-license
- name: Dependencies
run: ./dev/test-dependencies.sh
15 changes: 8 additions & 7 deletions LICENSE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,8 @@ org.codehaus.janino:commons-compiler
org.codehaus.janino:janino
jline:jline
org.jodd:jodd-core
com.github.wendykierp:JTransforms
pl.edu.icm:JLargeArrays


BSD 3-Clause
Expand Down Expand Up @@ -433,8 +435,12 @@ is distributed under the 3-Clause BSD license.
MIT License
-----------

org.spire-math:spire-macros_2.12
org.spire-math:spire_2.12
org.typelevel:spire_2.12
org.typelevel:spire-macros_2.12
org.typelevel:spire-platform_2.12
org.typelevel:spire-util_2.12
org.typelevel:algebra_2.12:jar
org.typelevel:cats-kernel_2.12
org.typelevel:machinist_2.12
net.razorvine:pyrolite
org.slf4j:jcl-over-slf4j
Expand Down Expand Up @@ -496,11 +502,6 @@ Eclipse Public License (EPL) 2.0
jakarta.annotation:jakarta-annotation-api https://projects.eclipse.org/projects/ee4j.ca
jakarta.ws.rs:jakarta.ws.rs-api https://github.com/eclipse-ee4j/jaxrs-api

Mozilla Public License (MPL) 1.1
--------------------------------

com.github.rwl:jtransforms https://sourceforge.net/projects/jtransforms/


Python Software Foundation License
----------------------------------
Expand Down
6 changes: 6 additions & 0 deletions R/pkg/R/mllib_recommendation.R
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ setClass("ALSModel", representation(jobj = "jobj"))
#' statsS <- summary(modelS)
#' }
#' @note spark.als since 2.1.0
#' @note the input rating dataframe to the ALS implementation should be deterministic.
#' Nondeterministic data can cause failure during fitting ALS model. For example,
#' an order-sensitive operation like sampling after a repartition makes dataframe output
#' nondeterministic, like \code{sample(repartition(df, 2L), FALSE, 0.5, 1618L)}.
#' Checkpointing sampled dataframe or adding a sort before sampling can help make the
#' dataframe deterministic.
setMethod("spark.als", signature(data = "SparkDataFrame"),
function(data, ratingCol = "rating", userCol = "user", itemCol = "item",
rank = 10, regParam = 0.1, maxIter = 10, nonnegative = FALSE,
Expand Down
2 changes: 1 addition & 1 deletion build/mvn
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ _DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Preserve the calling directory
_CALLING_DIR="$(pwd)"
# Options used during compilation
_COMPILE_JVM_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=512m"
_COMPILE_JVM_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=1g"

# Installs any application tarball given a URL, the expected tarball name,
# and, optionally, a checkable binary path to determine if the binary has
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private static <T> Predicate<? super T> getPredicate(

return (value) -> set.contains(indexValueForEntity(getter, value));
} else {
HashSet<Comparable> set = new HashSet<>(values.size());
HashSet<Comparable<?>> set = new HashSet<>(values.size());
for (Object key : values) {
set.add(asKey(key));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ interface Accessor {

Object get(Object instance) throws ReflectiveOperationException;

Class getType();
Class<?> getType();
}

private class FieldAccessor implements Accessor {
Expand All @@ -141,7 +141,7 @@ public Object get(Object instance) throws ReflectiveOperationException {
}

@Override
public Class getType() {
public Class<?> getType() {
return field.getType();
}
}
Expand All @@ -160,7 +160,7 @@ public Object get(Object instance) throws ReflectiveOperationException {
}

@Override
public Class getType() {
public Class<?> getType() {
return method.getReturnType();
}
}
Expand Down
13 changes: 6 additions & 7 deletions common/network-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
</properties>

<dependencies>
<!-- SPARK-28932 This is required in JDK11 -->
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
</dependency>

<!-- Core dependencies -->
<dependency>
<groupId>io.netty</groupId>
Expand Down Expand Up @@ -87,13 +93,6 @@
</dependency>

<!-- Test dependencies -->
<!-- SPARK-28932 This is required in JDK11 -->
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,9 +293,8 @@ public void close() {
}
connectionPool.clear();

if (workerGroup != null) {
if (workerGroup != null && !workerGroup.isShuttingDown()) {
workerGroup.shutdownGracefully();
workerGroup = null;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -217,4 +217,11 @@ public Iterable<Map.Entry<String, String>> getAll() {
assertFalse(c1.isActive());
}
}

@Test(expected = IOException.class)
public void closeFactoryBeforeCreateClient() throws IOException, InterruptedException {
TransportClientFactory factory = context.createClientFactory();
factory.close();
factory.createClient(TestUtils.getLocalHost(), server1.getPort());
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package org.apache.spark.tags;

import org.scalatest.TagAnnotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@TagAnnotation
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD, ElementType.TYPE})
public @interface ExtendedSQLTest { }
40 changes: 40 additions & 0 deletions core/benchmarks/CoalescedRDDBenchmark-jdk11-results.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
================================================================================================
Coalesced RDD , large scale
================================================================================================

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Coalesced RDD: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
Coalesce Num Partitions: 100 Num Hosts: 1 455 623 151 0.2 4547.4 1.0X
Coalesce Num Partitions: 100 Num Hosts: 5 340 409 65 0.3 3397.1 1.3X
Coalesce Num Partitions: 100 Num Hosts: 10 292 363 95 0.3 2923.3 1.6X
Coalesce Num Partitions: 100 Num Hosts: 20 307 320 11 0.3 3069.8 1.5X
Coalesce Num Partitions: 100 Num Hosts: 40 333 368 55 0.3 3329.1 1.4X
Coalesce Num Partitions: 100 Num Hosts: 80 286 338 63 0.3 2862.5 1.6X
Coalesce Num Partitions: 500 Num Hosts: 1 769 837 59 0.1 7693.5 0.6X
Coalesce Num Partitions: 500 Num Hosts: 5 427 461 31 0.2 4268.5 1.1X
Coalesce Num Partitions: 500 Num Hosts: 10 372 389 27 0.3 3722.2 1.2X
Coalesce Num Partitions: 500 Num Hosts: 20 347 365 31 0.3 3468.5 1.3X
Coalesce Num Partitions: 500 Num Hosts: 40 335 336 1 0.3 3347.3 1.4X
Coalesce Num Partitions: 500 Num Hosts: 80 329 360 49 0.3 3294.5 1.4X
Coalesce Num Partitions: 1000 Num Hosts: 1 1254 1292 47 0.1 12538.6 0.4X
Coalesce Num Partitions: 1000 Num Hosts: 5 518 553 47 0.2 5177.0 0.9X
Coalesce Num Partitions: 1000 Num Hosts: 10 394 432 42 0.3 3937.3 1.2X
Coalesce Num Partitions: 1000 Num Hosts: 20 341 381 44 0.3 3414.4 1.3X
Coalesce Num Partitions: 1000 Num Hosts: 40 313 358 48 0.3 3134.9 1.5X
Coalesce Num Partitions: 1000 Num Hosts: 80 335 360 38 0.3 3347.0 1.4X
Coalesce Num Partitions: 5000 Num Hosts: 1 3937 4066 156 0.0 39375.0 0.1X
Coalesce Num Partitions: 5000 Num Hosts: 5 1413 1453 40 0.1 14133.4 0.3X
Coalesce Num Partitions: 5000 Num Hosts: 10 826 861 49 0.1 8255.2 0.6X
Coalesce Num Partitions: 5000 Num Hosts: 20 542 609 58 0.2 5423.3 0.8X
Coalesce Num Partitions: 5000 Num Hosts: 40 410 470 64 0.2 4101.0 1.1X
Coalesce Num Partitions: 5000 Num Hosts: 80 352 427 69 0.3 3515.3 1.3X
Coalesce Num Partitions: 10000 Num Hosts: 1 7101 7151 54 0.0 71007.4 0.1X
Coalesce Num Partitions: 10000 Num Hosts: 5 2540 2582 59 0.0 25396.2 0.2X
Coalesce Num Partitions: 10000 Num Hosts: 10 1378 1432 48 0.1 13781.4 0.3X
Coalesce Num Partitions: 10000 Num Hosts: 20 829 867 66 0.1 8286.8 0.5X
Coalesce Num Partitions: 10000 Num Hosts: 40 573 630 49 0.2 5730.2 0.8X
Coalesce Num Partitions: 10000 Num Hosts: 80 438 449 9 0.2 4382.5 1.0X


28 changes: 28 additions & 0 deletions core/benchmarks/KryoBenchmark-jdk11-results.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
================================================================================================
Benchmark Kryo Unsafe vs safe Serialization
================================================================================================

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Benchmark Kryo Unsafe vs safe Serialization: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
basicTypes: Int with unsafe:true 324 329 2 3.1 324.0 1.0X
basicTypes: Long with unsafe:true 353 355 1 2.8 353.0 0.9X
basicTypes: Float with unsafe:true 336 338 1 3.0 336.4 1.0X
basicTypes: Double with unsafe:true 347 347 1 2.9 346.5 0.9X
Array: Int with unsafe:true 4 4 0 265.4 3.8 86.0X
Array: Long with unsafe:true 6 7 0 157.3 6.4 51.0X
Array: Float with unsafe:true 4 4 0 268.8 3.7 87.1X
Array: Double with unsafe:true 6 7 0 157.5 6.3 51.0X
Map of string->Double with unsafe:true 52 52 1 19.3 51.8 6.3X
basicTypes: Int with unsafe:false 357 358 1 2.8 357.2 0.9X
basicTypes: Long with unsafe:false 387 388 0 2.6 387.4 0.8X
basicTypes: Float with unsafe:false 356 357 1 2.8 356.0 0.9X
basicTypes: Double with unsafe:false 371 372 1 2.7 371.0 0.9X
Array: Int with unsafe:false 24 24 0 41.3 24.2 13.4X
Array: Long with unsafe:false 37 38 0 26.8 37.4 8.7X
Array: Float with unsafe:false 11 11 0 94.9 10.5 30.8X
Array: Double with unsafe:false 18 18 0 55.2 18.1 17.9X
Map of string->Double with unsafe:false 55 55 0 18.2 55.1 5.9X


12 changes: 12 additions & 0 deletions core/benchmarks/KryoSerializerBenchmark-jdk11-results.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
================================================================================================
Benchmark KryoPool vs old"pool of 1" implementation
================================================================================================

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Benchmark KryoPool vs old"pool of 1" implementation: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
KryoPool:true 6524 9149 NaN 0.0 13047076.5 1.0X
KryoPool:false 12855 16469 663 0.0 25709170.6 0.5X


40 changes: 40 additions & 0 deletions core/benchmarks/PropertiesCloneBenchmark-jdk11-results.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
================================================================================================
Properties Cloning
================================================================================================

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Empty Properties: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
SerializationUtils.clone 0 0 0 0.1 13755.0 1.0X
Utils.cloneProperties 0 0 0 3.5 285.0 48.3X

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
System Properties: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
SerializationUtils.clone 0 0 0 0.0 191892.0 1.0X
Utils.cloneProperties 0 0 0 0.2 6027.0 31.8X

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Small Properties: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
SerializationUtils.clone 1 1 0 0.0 721334.0 1.0X
Utils.cloneProperties 0 0 0 0.2 5237.0 137.7X

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Medium Properties: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
SerializationUtils.clone 3 3 0 0.0 3006554.0 1.0X
Utils.cloneProperties 0 0 0 0.0 27042.0 111.2X

OpenJDK 64-Bit Server VM 11.0.4+11-LTS on Linux 3.10.0-862.3.2.el7.x86_64
Intel(R) Xeon(R) CPU E5-2670 v2 @ 2.50GHz
Large Properties: Best Time(ms) Avg Time(ms) Stdev(ms) Rate(M/s) Per Row(ns) Relative
------------------------------------------------------------------------------------------------------------------------
SerializationUtils.clone 6 6 0 0.0 5864452.0 1.0X
Utils.cloneProperties 0 0 0 0.0 53760.0 109.1X


Loading