Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
Description
The kudu-flume-sink depends on a different guava version than flume itself and in its current state it does not work with flume.
Dependencies should be shaded and relocated
currently the class extracted from the jar file does not use the shaded guava:
javap -c org.apache.kudu.flume.sink.KuduSink |grep google 21: invokestatic #8 // Method com/google/common/base/Preconditions.checkState:(ZLjava/lang/Object;)V 18: invokestatic #49 // Method com/google/common/base/Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; 40: invokestatic #49 // Method com/google/common/base/Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; 139: invokevirtual #73 // Method org/apache/flume/Context.getSubProperties:(Ljava/lang/String;)Lcom/google/common/collect/ImmutableMap;