Skip to content

Commit bb52630

Browse files
authored
Merge branch 'master' into SPARK-23939
2 parents 1cbaf0c + 80784a1 commit bb52630

File tree

231 files changed

+5082
-1178
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

231 files changed

+5082
-1178
lines changed

NOTICE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,27 @@ Copyright 2014 and onwards The Apache Software Foundation.
44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).
66

7+
8+
Export Control Notice
9+
---------------------
10+
11+
This distribution includes cryptographic software. The country in which you currently reside may have
12+
restrictions on the import, possession, use, and/or re-export to another country, of encryption software.
13+
BEFORE using any encryption software, please check your country's laws, regulations and policies concerning
14+
the import, possession, or use, and re-export of encryption software, to see if this is permitted. See
15+
<http://www.wassenaar.org/> for more information.
16+
17+
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this
18+
software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software
19+
using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache
20+
Software Foundation distribution makes it eligible for export under the License Exception ENC Technology
21+
Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for
22+
both object code and source code.
23+
24+
The following provides more details on the included cryptographic software:
25+
26+
This software uses Apache Commons Crypto (https://commons.apache.org/proper/commons-crypto/) to
27+
support authentication, and encryption and decryption of data sent across the network between
28+
services.
29+
30+
This software includes Bouncy Castle (http://bouncycastle.org/) to support the jets3t library.

NOTICE-binary

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,31 @@ This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).
66

77

8+
Export Control Notice
9+
---------------------
10+
11+
This distribution includes cryptographic software. The country in which you currently reside may have
12+
restrictions on the import, possession, use, and/or re-export to another country, of encryption software.
13+
BEFORE using any encryption software, please check your country's laws, regulations and policies concerning
14+
the import, possession, or use, and re-export of encryption software, to see if this is permitted. See
15+
<http://www.wassenaar.org/> for more information.
16+
17+
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this
18+
software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software
19+
using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache
20+
Software Foundation distribution makes it eligible for export under the License Exception ENC Technology
21+
Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for
22+
both object code and source code.
23+
24+
The following provides more details on the included cryptographic software:
25+
26+
This software uses Apache Commons Crypto (https://commons.apache.org/proper/commons-crypto/) to
27+
support authentication, and encryption and decryption of data sent across the network between
28+
services.
29+
30+
This software includes Bouncy Castle (http://bouncycastle.org/) to support the jets3t library.
31+
32+
833
// ------------------------------------------------------------------
934
// NOTICE file corresponding to the section 4d of The Apache License,
1035
// Version 2.0, in this case for
@@ -451,7 +476,7 @@ which has the following notices:
451476
PureJavaCrc32C from apache-hadoop-common http://hadoop.apache.org/
452477
(Apache 2.0 license)
453478

454-
This library containd statically linked libstdc++. This inclusion is allowed by
479+
This library contains statically linked libstdc++. This inclusion is allowed by
455480
"GCC RUntime Library Exception"
456481
http://gcc.gnu.org/onlinedocs/libstdc++/manual/license.html
457482

@@ -1167,4 +1192,4 @@ Apache Solr (http://lucene.apache.org/solr/)
11671192
Copyright 2014 The Apache Software Foundation
11681193

11691194
Apache Mahout (http://mahout.apache.org/)
1170-
Copyright 2014 The Apache Software Foundation
1195+
Copyright 2014 The Apache Software Foundation

R/pkg/R/DataFrame.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ setMethod("cache",
588588
#' \url{http://spark.apache.org/docs/latest/rdd-programming-guide.html#rdd-persistence}.
589589
#'
590590
#' @param x the SparkDataFrame to persist.
591-
#' @param newLevel storage level chosen for the persistance. See available options in
591+
#' @param newLevel storage level chosen for the persistence. See available options in
592592
#' the description.
593593
#'
594594
#' @family SparkDataFrame functions

R/pkg/R/SQLContext.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ setMethod("toDF", signature(x = "RDD"),
351351
read.json.default <- function(path, ...) {
352352
sparkSession <- getSparkSession()
353353
options <- varargsToStrEnv(...)
354-
# Allow the user to have a more flexible definiton of the text file path
354+
# Allow the user to have a more flexible definition of the text file path
355355
paths <- as.list(suppressWarnings(normalizePath(path)))
356356
read <- callJMethod(sparkSession, "read")
357357
read <- callJMethod(read, "options", options)
@@ -421,7 +421,7 @@ jsonRDD <- function(sqlContext, rdd, schema = NULL, samplingRatio = 1.0) {
421421
read.orc <- function(path, ...) {
422422
sparkSession <- getSparkSession()
423423
options <- varargsToStrEnv(...)
424-
# Allow the user to have a more flexible definiton of the ORC file path
424+
# Allow the user to have a more flexible definition of the ORC file path
425425
path <- suppressWarnings(normalizePath(path))
426426
read <- callJMethod(sparkSession, "read")
427427
read <- callJMethod(read, "options", options)
@@ -442,7 +442,7 @@ read.orc <- function(path, ...) {
442442
read.parquet.default <- function(path, ...) {
443443
sparkSession <- getSparkSession()
444444
options <- varargsToStrEnv(...)
445-
# Allow the user to have a more flexible definiton of the Parquet file path
445+
# Allow the user to have a more flexible definition of the Parquet file path
446446
paths <- as.list(suppressWarnings(normalizePath(path)))
447447
read <- callJMethod(sparkSession, "read")
448448
read <- callJMethod(read, "options", options)
@@ -492,7 +492,7 @@ parquetFile <- function(x, ...) {
492492
read.text.default <- function(path, ...) {
493493
sparkSession <- getSparkSession()
494494
options <- varargsToStrEnv(...)
495-
# Allow the user to have a more flexible definiton of the text file path
495+
# Allow the user to have a more flexible definition of the text file path
496496
paths <- as.list(suppressWarnings(normalizePath(path)))
497497
read <- callJMethod(sparkSession, "read")
498498
read <- callJMethod(read, "options", options)

R/pkg/R/context.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ getMinPartitions <- function(sc, minPartitions) {
4343
#' lines <- textFile(sc, "myfile.txt")
4444
#'}
4545
textFile <- function(sc, path, minPartitions = NULL) {
46-
# Allow the user to have a more flexible definiton of the text file path
46+
# Allow the user to have a more flexible definition of the text file path
4747
path <- suppressWarnings(normalizePath(path))
4848
# Convert a string vector of paths to a string containing comma separated paths
4949
path <- paste(path, collapse = ",")
@@ -71,7 +71,7 @@ textFile <- function(sc, path, minPartitions = NULL) {
7171
#' rdd <- objectFile(sc, "myfile")
7272
#'}
7373
objectFile <- function(sc, path, minPartitions = NULL) {
74-
# Allow the user to have a more flexible definiton of the text file path
74+
# Allow the user to have a more flexible definition of the text file path
7575
path <- suppressWarnings(normalizePath(path))
7676
# Convert a string vector of paths to a string containing comma separated paths
7777
path <- paste(path, collapse = ",")

R/pkg/R/streaming.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ setMethod("isActive",
163163
#'
164164
#' @param x a StreamingQuery.
165165
#' @param timeout time to wait in milliseconds, if omitted, wait indefinitely until \code{stopQuery}
166-
#' is called or an error has occured.
166+
#' is called or an error has occurred.
167167
#' @return TRUE if query has terminated within the timeout period; nothing if timeout is not
168168
#' specified.
169169
#' @rdname awaitTermination

R/pkg/inst/worker/worker.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ compute <- function(mode, partition, serializer, deserializer, key,
6262
# Transform the result data.frame back to a list of rows
6363
output <- split(output, seq(nrow(output)))
6464
} else {
65-
# Serialize the ouput to a byte array
65+
# Serialize the output to a byte array
6666
stopifnot(serializer == "byte")
6767
}
6868
} else {

R/pkg/tests/fulltests/test_utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ test_that("cleanClosure on R functions", {
103103
expect_true("l" %in% ls(env))
104104
expect_true("f" %in% ls(env))
105105
expect_equal(get("l", envir = env, inherits = FALSE), l)
106-
# "y" should be in the environemnt of g.
106+
# "y" should be in the environment of g.
107107
newG <- get("g", envir = env, inherits = FALSE)
108108
env <- environment(newG)
109109
expect_equal(length(ls(env)), 1)

common/kvstore/src/test/java/org/apache/spark/util/kvstore/InMemoryStoreSuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public void testObjectWriteReadDelete() throws Exception {
3535

3636
try {
3737
store.read(CustomType1.class, t.key);
38-
fail("Expected exception for non-existant object.");
38+
fail("Expected exception for non-existent object.");
3939
} catch (NoSuchElementException nsee) {
4040
// Expected.
4141
}

common/kvstore/src/test/java/org/apache/spark/util/kvstore/LevelDBSuite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void testObjectWriteReadDelete() throws Exception {
8080

8181
try {
8282
db.read(CustomType1.class, t.key);
83-
fail("Expected exception for non-existant object.");
83+
fail("Expected exception for non-existent object.");
8484
} catch (NoSuchElementException nsee) {
8585
// Expected.
8686
}

0 commit comments

Comments
 (0)