You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Mukul Jain (JIRA)" <ji...@apache.org> on 2014/07/04 03:35:33 UTC

[jira] [Commented] (SPARK-1378) Build error: org.eclipse.paho:mqtt-client

    [ https://issues.apache.org/jira/browse/SPARK-1378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14052080#comment-14052080 ] 

Mukul Jain commented on SPARK-1378:
-----------------------------------

This seems like still an issue:
Downloading: https://repository.apache.org/content/repositories/releases/org/eclipse/paho/mqtt-client/0.4.0/mqtt-client-0.4.0.pom
Jul 3, 2014 6:22:27 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request: Connection timed out
Jul 3, 2014 6:22:27 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
It is failing to download.. I am running behind corporate firewall not sure if it has anything to do with that. I had my build stuck exactly like this earlier in the build process trying to download scala compiler jar file but after a few attempts it was able proceed/download the file. seems like repo issue.

> Build error: org.eclipse.paho:mqtt-client
> -----------------------------------------
>
>                 Key: SPARK-1378
>                 URL: https://issues.apache.org/jira/browse/SPARK-1378
>             Project: Spark
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 0.9.0
>            Reporter: Ken Williams
>
> Using Maven, I'm unable to build the 0.9.0 distribution I just downloaded. I attempt like so:
> {code}
> mvn -U -Pyarn -Dhadoop.version=2.2.0 -Dyarn.version=2.2.0 -DskipTests package
> {code}
> The Maven error is:
> {code}
> [ERROR] Failed to execute goal on project spark-examples_2.10: Could not resolve dependencies for project org.apache.spark:spark-examples_2.10:jar:0.9.0-incubating: Could not find artifact org.eclipse.paho:mqtt-client:jar:0.4.0 in nexus
> {code}
> My Maven version is 3.2.1, running on Java 1.7.0, using Scala 2.10.4.
> Is there an additional Maven repository I should add or something?
> If I go into the {{pom.xml}} and comment out the {{external/mqtt}} and {{examples}} modules, the build succeeds. I'm fine without the MQTT stuff, but I would really like to get the examples working because I haven't played with Spark before.



--
This message was sent by Atlassian JIRA
(v6.2#6252)