The problem is the same as described here Error when starting spark-shell local on Mac
... but I have failed to find a solution. I also used to get the malformed URI err
OK, I seem to be able to get around it by passing configuration directly --conf spark.driver.host=localhost
So I run:
./bin/spark-shell --conf spark.driver.host=localhost
Still if there is a better solution, please let me know.
Jacek Laskowski confirmed this is probably the only available solution for now.