From 81e3bfc16c6cfbf2f9f2c6c32ed651b8450795ba Mon Sep 17 00:00:00 2001 From: Brian O'Neill Date: Thu, 12 May 2016 20:10:33 +0100 Subject: [SPARK-14421] Upgrades protobuf dependency to 2.6.1 for the new version of KCL, and… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## What changes were proposed in this pull request? When running with Kinesis Consumer Library (KCL), against a stream that contains aggregated data, the KCL needs access to protobuf to de-aggregate the records. Without this patch, that results in the following error message: ``` Caused by: java.lang.ClassNotFoundException: com.google.protobuf.ProtocolStringList ``` This PR upgrades the protobuf dependency within the kinesis-asl-assembly, and relocates that package (as not to conflict with Spark's use of 2.5.0), which fixes the above CNFE. ## How was this patch tested? Used kinesis word count example against a stream containing aggregated data. See: SPARK-14421 Author: Brian O'Neill Closes #13054 from boneill42/protobuf-relocation-for-kcl. --- external/kinesis-asl-assembly/pom.xml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'external/kinesis-asl-assembly/pom.xml') diff --git a/external/kinesis-asl-assembly/pom.xml b/external/kinesis-asl-assembly/pom.xml index e057b78abd..6fb88ebae5 100644 --- a/external/kinesis-asl-assembly/pom.xml +++ b/external/kinesis-asl-assembly/pom.xml @@ -63,7 +63,12 @@ com.google.protobuf protobuf-java - provided + 2.6.1 + org.glassfish.jersey.core @@ -147,6 +152,15 @@ *:* + + + com.google.protobuf + kinesis.protobuf + + com.google.protobuf.** + + + *:* -- cgit v1.2.3