Open lbustelo opened 10 years ago
@lbustelo how do you run your jar, on the master when you log into using ssh?
I've since gotten past this issue, and to be honest… I've lost track of how I've fixed certain things. Documentation is very specific around using the Spark Shell and there is not much around running driver programs directly on the host machine. I'm using these scripts as my dev setup and I'm building and executing within the Vagrant host. The recipe right now to get working is:
In summary, I think that my setup is not that uncommon but the README is lacking some details.
I have a Vagrant setup running the docker scripts using docker 0.9. I also have a simple maven project that tries to replicate your Shell example. I keep getting failures on the submission.
Java Main is:
When running the test with "README.md", I see an error that its cannot find "/vagrant/README.md". In that case I don't understand why Spark things that the file is relative to the vagrant vm and not the docker containers. When I use the hdfs url, then I just get a lot of these:
I've tried several things: