big-data-europe / docker-spark

Apache Spark docker image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spark-shell problem

Moh-BOB opened this issue · comments

Hi,

I've launched a Spark cluster using :
Docker-compose up

When all containers are started, I tried to enter the spark-shell using:
docker exec -t spark-master bash ./spark/bin/spark-shell

The shell started, by nothing happen when I type a command, for example:
Scala> :help

I wait for a long time, but nothing happen when I press Enter.
Is there something wrong ?

Thanks in advance.
Regards,

I solved my problem by entering spark-shell by using -it instead of -t :
docker exec -it spark-master bash ./spark/bin/spark-shell

Wish this could help someone one day.