{"action":"created","issue":{"url":"https://api.github.com/repos/sequenceiq/docker-spark/issues/40","labels_url":"https://api.github.com/repos/sequenceiq/docker-spark/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/sequenceiq/docker-spark/issues/40/comments","events_url":"https://api.github.com/repos/sequenceiq/docker-spark/issues/40/events","html_url":"https://github.com/sequenceiq/docker-spark/issues/40","id":120202835,"number":40,"title":"Cannot start spark","user":{"login":"danrope","id":10655422,"avatar_url":"https://avatars.githubusercontent.com/u/10655422?v=3","gravatar_id":"","url":"https://api.github.com/users/danrope","html_url":"https://github.com/danrope","followers_url":"https://api.github.com/users/danrope/followers","following_url":"https://api.github.com/users/danrope/following{/other_user}","gists_url":"https://api.github.com/users/danrope/gists{/gist_id}","starred_url":"https://api.github.com/users/danrope/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danrope/subscriptions","organizations_url":"https://api.github.com/users/danrope/orgs","repos_url":"https://api.github.com/users/danrope/repos","events_url":"https://api.github.com/users/danrope/events{/privacy}","received_events_url":"https://api.github.com/users/danrope/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-03T15:52:53Z","updated_at":"2015-12-16T06:11:20Z","closed_at":null,"body":"Hello,\r\n\r\nI am able to successfully pull/run the container and I can confirm hadoop is indeed working.  However, any attempt to start spark (spark-shell or other) results in a hang and I cannot find logs that have any information indicating what might be going wrong.  Unsure if any of the below helps:\r\n* I have created a 4GB VM and am using it\r\n* My physical machine is Win7\r\n* I am using DockerToolbox-1.9.1b\r\n* /etc/hosts has 'sandbox' resolving to the IP of the 4 GB VM\r\n\r\nIn another experiment, I tried running start-all.sh and saw the following exception in the log:\r\n\r\nException in thread \"main\" java.lang.ClassFormatError: org.apache.spark.launcher\r\n.Main (unrecognized class file version)\r\nat java.lang.VMClassLoader.defineClass(libgcj.so.10)\r\nat java.lang.ClassLoader.defineClass(libgcj.so.10)\r\nat java.security.SecureClassLoader.defineClass(libgcj.so.10)\r\nat java.net.URLClassLoader.findClass(libgcj.so.10)\r\nat java.lang.ClassLoader.loadClass(libgcj.so.10)\r\nat java.lang.ClassLoader.loadClass(libgcj.so.10)\r\nat gnu.java.lang.MainThread.run(libgcj.so.10) \r\n\r\nThis made me think it might be using the wrong JVM (perhaps above is GNU java 1.5?).  But the hadoop process is indeed using Java 1.7.\r\n\r\nAny help or advice on where to see what might be going wrong much appreciated!\r\nThanks.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/sequenceiq/docker-spark/issues/comments/165010171","html_url":"https://github.com/sequenceiq/docker-spark/issues/40#issuecomment-165010171","issue_url":"https://api.github.com/repos/sequenceiq/docker-spark/issues/40","id":165010171,"user":{"login":"robinloxley1","id":2861171,"avatar_url":"https://avatars.githubusercontent.com/u/2861171?v=3","gravatar_id":"","url":"https://api.github.com/users/robinloxley1","html_url":"https://github.com/robinloxley1","followers_url":"https://api.github.com/users/robinloxley1/followers","following_url":"https://api.github.com/users/robinloxley1/following{/other_user}","gists_url":"https://api.github.com/users/robinloxley1/gists{/gist_id}","starred_url":"https://api.github.com/users/robinloxley1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinloxley1/subscriptions","organizations_url":"https://api.github.com/users/robinloxley1/orgs","repos_url":"https://api.github.com/users/robinloxley1/repos","events_url":"https://api.github.com/users/robinloxley1/events{/privacy}","received_events_url":"https://api.github.com/users/robinloxley1/received_events","type":"User","site_admin":false},"created_at":"2015-12-16T06:11:20Z","updated_at":"2015-12-16T06:11:20Z","body":"try to remove docker images and pull again.\r\n\r\ndocker rmi -f <image name>"}}