Skip to content

Commit

Permalink
[paypal#247] [spark] Bump Spark Version to 2.4.7 | Bump Spark Version…
Browse files Browse the repository at this point in the history
… to 2.4.7 along with other stack to align with gcp_dataproc_1.5.x
  • Loading branch information
Dee-Pac committed Nov 8, 2020
1 parent 219fc00 commit 3b25dcb
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ under the License.
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>gimel-aerospike-3.14</artifactId>
<artifactId>gimel-aerospike</artifactId>
<version>2.4.7-SNAPSHOT</version>

<dependencies>
Expand Down Expand Up @@ -58,7 +58,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.0.0</version>
<version>${maven.shade.plugin.version}</version>
<configuration>
<relocations>
<relocation>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ object AerospikeUtilities {
val aerospikeSet = conf.aerospikeSet
val aerospikeRowKey = conf.aerospikeRowKey
// For each partition of Dataframe, aerospike client is created and is used to write data to aerospike
dataFrame.foreachPartition { partition =>
dataFrame.foreachPartition { partition: Iterator[Row] =>
val client = AerospikeAdminClient.createClientConnection(aerospikeHosts, aerospikePort.toInt)
partition.foreach { row =>
val bins = columns.map(eachCol => new Bin(eachCol.toString, row.getAs(eachCol).toString)).toArray
Expand Down
2 changes: 1 addition & 1 deletion gimel-dataapi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ under the License.
<module>gimel-connectors/gimel-jdbc</module>
<module>gimel-connectors/gimel-cassandra</module>
<module>gimel-connectors/gimel-hbase</module>
<module>gimel-connectors/gimel-aerospike-3.14</module>
<module>gimel-connectors/gimel-aerospike</module>
<module>gimel-connectors/gimel-druid-0.82</module>
<module>gimel-core</module>
<module>gimel-sql</module>
Expand Down

0 comments on commit 3b25dcb

Please sign in to comment.