Skip to content

Commit bfe7885

Browse files
ueshinrxin
authored andcommitted
[SPARK-17985][CORE] Bump commons-lang3 version to 3.5.
## What changes were proposed in this pull request? `SerializationUtils.clone()` of commons-lang3 (<3.5) has a bug that breaks thread safety, which gets stack sometimes caused by race condition of initializing hash map. See https://issues.apache.org/jira/browse/LANG-1251. ## How was this patch tested? Existing tests. Author: Takuya UESHIN <[email protected]> Closes #15525 from ueshin/issues/SPARK-17985.
1 parent 4ef39c2 commit bfe7885

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

dev/deps/spark-deps-hadoop-2.2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ commons-digester-1.8.jar
3333
commons-httpclient-3.1.jar
3434
commons-io-2.4.jar
3535
commons-lang-2.6.jar
36-
commons-lang3-3.3.2.jar
36+
commons-lang3-3.5.jar
3737
commons-logging-1.1.3.jar
3838
commons-math-2.1.jar
3939
commons-math3-3.4.1.jar

dev/deps/spark-deps-hadoop-2.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ commons-digester-1.8.jar
3636
commons-httpclient-3.1.jar
3737
commons-io-2.4.jar
3838
commons-lang-2.6.jar
39-
commons-lang3-3.3.2.jar
39+
commons-lang3-3.5.jar
4040
commons-logging-1.1.3.jar
4141
commons-math3-3.4.1.jar
4242
commons-net-2.2.jar

dev/deps/spark-deps-hadoop-2.4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ commons-digester-1.8.jar
3636
commons-httpclient-3.1.jar
3737
commons-io-2.4.jar
3838
commons-lang-2.6.jar
39-
commons-lang3-3.3.2.jar
39+
commons-lang3-3.5.jar
4040
commons-logging-1.1.3.jar
4141
commons-math3-3.4.1.jar
4242
commons-net-2.2.jar

dev/deps/spark-deps-hadoop-2.6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ commons-digester-1.8.jar
4040
commons-httpclient-3.1.jar
4141
commons-io-2.4.jar
4242
commons-lang-2.6.jar
43-
commons-lang3-3.3.2.jar
43+
commons-lang3-3.5.jar
4444
commons-logging-1.1.3.jar
4545
commons-math3-3.4.1.jar
4646
commons-net-2.2.jar

dev/deps/spark-deps-hadoop-2.7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ commons-digester-1.8.jar
4040
commons-httpclient-3.1.jar
4141
commons-io-2.4.jar
4242
commons-lang-2.6.jar
43-
commons-lang3-3.3.2.jar
43+
commons-lang3-3.5.jar
4444
commons-logging-1.1.3.jar
4545
commons-math3-3.4.1.jar
4646
commons-net-2.2.jar

docs/streaming-flume-integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,11 +115,11 @@ Configuring Flume on the chosen machine requires the following two steps.
115115
artifactId = scala-library
116116
version = {{site.SCALA_VERSION}}
117117

118-
(iii) *Commons Lang 3 JAR*: Download the Commons Lang 3 JAR. It can be found with the following artifact detail (or, [direct link](http://search.maven.org/remotecontent?filepath=org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar)).
118+
(iii) *Commons Lang 3 JAR*: Download the Commons Lang 3 JAR. It can be found with the following artifact detail (or, [direct link](http://search.maven.org/remotecontent?filepath=org/apache/commons/commons-lang3/3.5/commons-lang3-3.5.jar)).
119119

120120
groupId = org.apache.commons
121121
artifactId = commons-lang3
122-
version = 3.3.2
122+
version = 3.5
123123

124124
2. **Configuration file**: On that machine, configure Flume agent to send data to an Avro sink by having the following in the configuration file.
125125

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
<!-- org.apache.commons/commons-lang/-->
169169
<commons-lang2.version>2.6</commons-lang2.version>
170170
<!-- org.apache.commons/commons-lang3/-->
171-
<commons-lang3.version>3.3.2</commons-lang3.version>
171+
<commons-lang3.version>3.5</commons-lang3.version>
172172
<datanucleus-core.version>3.2.10</datanucleus-core.version>
173173
<janino.version>3.0.0</janino.version>
174174
<jersey.version>2.22.2</jersey.version>

0 commit comments

Comments
 (0)