spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guoqiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-3122) hadoop-yarn dependencies cannot be resolved
Date Tue, 19 Aug 2014 15:27:19 GMT

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

Guoqiang Li commented on SPARK-3122:
------------------------------------

It is not necessary.
Only need to these:
{code:xml}
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-client</artifactId>
        <version>2.4.0</version>
      </dependency>
      <dependency>
        <groupId>org.apache.hadoop</groupId>
        <artifactId>hadoop-client</artifactId>
        <version>2.4.0 </version>
      </dependency>
{code}
Refer to these:
http://spark.apache.org/docs/latest/running-on-yarn.html
http://spark.apache.org/docs/latest/submitting-applications.html
https://github.com/apache/spark/blob/master/README.md#a-note-about-hadoop-versions

> hadoop-yarn dependencies cannot be resolved
> -------------------------------------------
>
>                 Key: SPARK-3122
>                 URL: https://issues.apache.org/jira/browse/SPARK-3122
>             Project: Spark
>          Issue Type: Bug
>          Components: YARN
>    Affects Versions: 1.0.0, 1.0.2
>         Environment: spark 1.0.1 + YARN + hadoop 2.4.0 cluster on linux machines
> client on windows 7
> maven 3.0.4
> maven repository http://repo1.maven.org/maven2/org/apache/hadoop/
>            Reporter: Ran Levi
>              Labels: build, easyfix, hadoop, maven
>
> When adding spark-yarn_2.10:1.0.2 dependency to java project, other hadoop-yarn-XXX dependencies
are needed. Those dependencies are downloaded using version 1.0.4 which does not exist, resulting
in build error.
> Version 1.0.4 is taken from hadoop.version variable in spark-parent-1.0.2.pom.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message