{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/dcos-spark/issues/34","repository_url":"https://api.github.com/repos/mesosphere/dcos-spark","labels_url":"https://api.github.com/repos/mesosphere/dcos-spark/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/dcos-spark/issues/34/comments","events_url":"https://api.github.com/repos/mesosphere/dcos-spark/issues/34/events","html_url":"https://github.com/mesosphere/dcos-spark/issues/34","id":163356309,"number":34,"title":"Unable to submit spark jobs","user":{"login":"ahmed-menshawy","id":17878652,"avatar_url":"https://avatars.githubusercontent.com/u/17878652?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmed-menshawy","html_url":"https://github.com/ahmed-menshawy","followers_url":"https://api.github.com/users/ahmed-menshawy/followers","following_url":"https://api.github.com/users/ahmed-menshawy/following{/other_user}","gists_url":"https://api.github.com/users/ahmed-menshawy/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmed-menshawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmed-menshawy/subscriptions","organizations_url":"https://api.github.com/users/ahmed-menshawy/orgs","repos_url":"https://api.github.com/users/ahmed-menshawy/repos","events_url":"https://api.github.com/users/ahmed-menshawy/events{/privacy}","received_events_url":"https://api.github.com/users/ahmed-menshawy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-01T09:30:45Z","updated_at":"2016-07-01T17:11:04Z","closed_at":null,"body":"**After installing spark from DC/OS CLI, I am not able to submit the simpe Pi example.**\r\n\r\n**I used this command to submit the Pi task:**\r\n\r\n`dcos spark run --submit-args=\"--class org.apache.spark.examples.SparkPi https://downloads.mesosphere.com.s3.amazonaws.com/assets/spark/spark-examples_2.10-1.4.0-SNAPSHOT.jar 30\"`\r\n\r\n**But it gives me the following error:**\r\n\r\n```\r\nSpark distribution spark-1.6.1-2 not found locally.\r\nIt looks like this is your first time running Spark!\r\nDownloading https://downloads.mesosphere.com/spark/assets/spark-1.6.1-2.tgz...\r\nERROR:dcos.http:HTTP SSL Error\r\nTraceback (most recent call last):\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos/http.py\", line 96, in _request\r\n    **kwargs)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/requests/api.py\", line 57, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/requests/sessions.py\", line 475, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/requests/sessions.py\", line 585, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/requests/adapters.py\", line 477, in send\r\n    raise SSLError(e, request=request)\r\nSSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure\r\nTraceback (most recent call last):\r\n  File \"/home/user/.dcos/subcommands/spark/env/bin/dcos-spark\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos_spark/cli.py\", line 102, in main\r\n    return run_spark_job(args)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos_spark/cli.py\", line 44, in run_spark_job\r\n    args['--verbose'])\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos_spark/spark_submit.py\", line 167, in submit_job\r\n    response = run(dispatcher, args, verbose, props)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos_spark/spark_submit.py\", line 281, in run\r\n    command = _get_command(dispatcher, args)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos_spark/spark_submit.py\", line 349, in _get_command\r\n    submit_file = spark_file(os.path.join('bin', spark_executable))\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos_spark/spark_submit.py\", line 129, in spark_file\r\n    return os.path.join(spark_dist(), path)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos_spark/spark_submit.py\", line 102, in spark_dist\r\n    resp = http.request('GET', spark_uri, stream=True)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos/http.py\", line 222, in request\r\n    verify=verify, **kwargs)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos/util.py\", line 524, in timer\r\n    return fn(*args, **kwargs)\r\n  File \"/home/user/.dcos/subcommands/spark/env/local/lib/python2.7/site-packages/dcos/http.py\", line 104, in _request\r\n    raise DCOSException(msg)\r\ndcos.errors.DCOSException: An SSL error occurred. To configure your SSL settings, please run: `dcos config set core.ssl_verify <value>`\r\n<value>: Whether to verify SSL certs for HTTPS or path to certs\r\n```\r\n\r\n**P.S. the value of \"core.ssl_verify\" is false**"},"comment":{"url":"https://api.github.com/repos/mesosphere/dcos-spark/issues/comments/229999862","html_url":"https://github.com/mesosphere/dcos-spark/issues/34#issuecomment-229999862","issue_url":"https://api.github.com/repos/mesosphere/dcos-spark/issues/34","id":229999862,"user":{"login":"ahmed-menshawy","id":17878652,"avatar_url":"https://avatars.githubusercontent.com/u/17878652?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmed-menshawy","html_url":"https://github.com/ahmed-menshawy","followers_url":"https://api.github.com/users/ahmed-menshawy/followers","following_url":"https://api.github.com/users/ahmed-menshawy/following{/other_user}","gists_url":"https://api.github.com/users/ahmed-menshawy/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmed-menshawy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmed-menshawy/subscriptions","organizations_url":"https://api.github.com/users/ahmed-menshawy/orgs","repos_url":"https://api.github.com/users/ahmed-menshawy/repos","events_url":"https://api.github.com/users/ahmed-menshawy/events{/privacy}","received_events_url":"https://api.github.com/users/ahmed-menshawy/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T17:11:04Z","updated_at":"2016-07-01T17:11:04Z","body":"Thanks @mgummelt  for replying\r\n\r\n- The output for` dcos spark --version` is `dcos-spark version 0.5.17`\r\n- The output for  `dcos --version `\r\n```\r\ndcoscli.version=0.4.6\r\ndcos.version=1.7-open\r\ndcos.commit=14509fe1e7899f439527fb39867194c7a425c771\r\ndcos.bootstrap-id=3a2b7e03c45cd615da8dfb1b103943894652cd71\r\n```\r\n"}}
{"actor":{"display_login":"ahmed-menshawy"}}