Coder Social home page Coder Social logo

Comments (6)

omdv avatar omdv commented on August 16, 2024 1

@DSLituiev try --hadoop-major-version=2, it worked fine for me.

I don't know if file have been uploaded, but i noticed that the name changed to spark-1.6.2-bin-hadoop1-scala2.11.tgz on https://www.apache.org/dist/spark/spark-1.6.2/

from spark-ec2.

DSLituiev avatar DSLituiev commented on August 16, 2024

Seemingly there is no archive for spark-1.6.2-bin-hadoop1.tgz there.
Using --hadoop-major-version 2 leads to the following:

2016-07-28 04:53:42 (3.83 MB/s) - ‘spark-1.6.2-bin-hadoop2.4.tgz’ saved [273797124/273797124]

Unpacking Spark
[timing] spark init:  00h 01m 12s
Initializing ephemeral-hdfs
ERROR: Unknown Hadoop version
[timing] ephemeral-hdfs init:  00h 00m 00s
Initializing persistent-hdfs
ERROR: Unknown Hadoop version
[timing] persistent-hdfs init:  00h 00m 00s
Initializing mapreduce
ERROR: Unknown Hadoop version
mapreduce/init.sh: line 20: return: -1: invalid option
return: usage: return [n]
File or directory /root/mapreduce doesn't exist!
[timing] mapreduce init:  00h 00m 00s
Initializing spark-standalone

from spark-ec2.

shivaram avatar shivaram commented on August 16, 2024

Yeah it looks like that file is missing -- @JoshRosen can you help in uploading spark-1.6.2-bin-hadoop1.tgz to the S3 bucket spark-related-packages ?

from spark-ec2.

DSLituiev avatar DSLituiev commented on August 16, 2024

@omdv: As I mentioned above (assuming nothing changed in code or repositories):
Using --hadoop-major-version 2 leads to the following:

2016-07-28 04:53:42 (3.83 MB/s) - ‘spark-1.6.2-bin-hadoop2.4.tgz’ saved [273797124/273797124]

Unpacking Spark
[timing] spark init:  00h 01m 12s
Initializing ephemeral-hdfs
ERROR: Unknown Hadoop version
[timing] ephemeral-hdfs init:  00h 00m 00s
Initializing persistent-hdfs
ERROR: Unknown Hadoop version
[timing] persistent-hdfs init:  00h 00m 00s
Initializing mapreduce
ERROR: Unknown Hadoop version
mapreduce/init.sh: line 20: return: -1: invalid option
return: usage: return [n]
File or directory /root/mapreduce doesn't exist!
[timing] mapreduce init:  00h 00m 00s
Initializing spark-standalone

from spark-ec2.

omdv avatar omdv commented on August 16, 2024

@DSLituiev could you try it with = sign?

from spark-ec2.

DSLituiev avatar DSLituiev commented on August 16, 2024

@omdv: it works. Thank you!

from spark-ec2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.