spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashish Soni <asoni.le...@gmail.com>
Subject Re: Spark-Submit / Spark-Shell Error Standalone cluster
Date Sun, 28 Jun 2015 14:40:56 GMT
my spark home is as below
/usr/hdp/2.2.6.0-2800/spark
and when i go inside bin and execute the command in different way it works
see below i.e ./spark-shell works but *spark-shell* does not work ...


[image: Inline image 1]


[image: Inline image 2]

On Sun, Jun 28, 2015 at 8:53 AM, Tomas Hudik <xhudik@gmail.com> wrote:

> /usr/bin/ - looks like strange directory. Did you copy some files to
> /usr/bin yourself?
> If you download (possible compile) spark - it will never be placed into
> /usr/bin
>
> On Sun, Jun 28, 2015 at 9:19 AM, Wojciech Pituła <w.pitula@gmail.com>
> wrote:
>
>> I assume that /usr/bin/load-spark-env.sh exists. Have you got the rights
>> to execute it?
>>
>> niedz., 28.06.2015 o 04:53 użytkownik Ashish Soni <asoni.learn@gmail.com>
>> napisał:
>>
>>> Not sure what is the issue but when i run the spark-submit or
>>> spark-shell i am getting below error
>>>
>>> /usr/bin/spark-class: line 24: /usr/bin/load-spark-env.sh: No such file
>>> or directory
>>>
>>> Can some one please help
>>>
>>> Thanks,
>>>
>>
>

Mime
View raw message