Using your command, I did get: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.5.5:single (test-jar-with-dependencies) on project spark-streaming-mqtt_2.10: Failed to create assembly: Error creating assembly archive test-jar-with-dependencies: Problem creating jar: jar:file:/home/hbase/spark-1.5.2/external/mqtt/target/spark-streaming-mqtt_2.10-1.5.2.jar!/org/apache/spark/streaming/mqtt/MQTTReceiver$$anon$1.class: JAR entry org/apache/spark/streaming/mqtt/MQTTReceiver$$anon$1.class not found in /home/hbase/spark-1.5.2/external/mqtt/target/spark-streaming-mqtt_2.10-1.5.2.jar -> [Help 1]
But the following command passed: build/mvn -DskipTests=true -Dhadoop.version=2.4.1 -P"hadoop-2.4,kinesis-asl,netlib-lgpl" package FYI On Wed, Oct 28, 2015 at 7:38 AM, Bob Corsaro <[email protected]> wrote: > Built from > http://mirror.olnevhost.net/pub/apache/spark/spark-1.5.1/spark-1.5.1.tgz using > the following command: > > build/mvn -DskipTests=true -Dhadoop.version=2.4.1 > -P"hadoop-2.4,kinesis-asl,netlib-lgpl" package install > > build/mvn is from the packaged source. > > Tried on a couple of ubuntu boxen and a gentoo box. > > On Wed, Oct 28, 2015 at 9:59 AM Ted Yu <[email protected]> wrote: > >> MQTTUtils.class is generated from >> external/mqtt/src/main/scala/org/apache/spark/streaming/mqtt/MQTTUtils.scala >> >> What command did you use to build ? >> Which release / branch were you building ? >> >> Thanks >> >> On Wed, Oct 28, 2015 at 6:19 AM, Bob Corsaro <[email protected]> wrote: >> >>> Has anyone successful built this? I'm trying to determine if there is a >>> defect in the source package or something strange about my environment. I >>> get a FileNotFound exception on MQTTUtils.class during the build of the >>> MQTT module. The only work around I've found is to remove the MQTT modules >>> from the pom.xml. >>> >> >>
