{"action":"created","issue":{"url":"https://api.github.com/repos/RedisLabs/spark-redis/issues/24","repository_url":"https://api.github.com/repos/RedisLabs/spark-redis","labels_url":"https://api.github.com/repos/RedisLabs/spark-redis/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/RedisLabs/spark-redis/issues/24/comments","events_url":"https://api.github.com/repos/RedisLabs/spark-redis/issues/24/events","html_url":"https://github.com/RedisLabs/spark-redis/issues/24","id":145833595,"number":24,"title":"Running the spark cluster with yarn","user":{"login":"ScottWang","id":219479,"avatar_url":"https://avatars.githubusercontent.com/u/219479?v=3","gravatar_id":"","url":"https://api.github.com/users/ScottWang","html_url":"https://github.com/ScottWang","followers_url":"https://api.github.com/users/ScottWang/followers","following_url":"https://api.github.com/users/ScottWang/following{/other_user}","gists_url":"https://api.github.com/users/ScottWang/gists{/gist_id}","starred_url":"https://api.github.com/users/ScottWang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ScottWang/subscriptions","organizations_url":"https://api.github.com/users/ScottWang/orgs","repos_url":"https://api.github.com/users/ScottWang/repos","events_url":"https://api.github.com/users/ScottWang/events{/privacy}","received_events_url":"https://api.github.com/users/ScottWang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-04-04T23:35:49Z","updated_at":"2016-04-06T18:16:08Z","closed_at":null,"body":"My code:\r\n\r\n        val sc = new SparkContext(new SparkConf()\r\n            .setMaster(sparkMode)\r\n            .setAppName(\"recommendation\")\r\n            .set(\"redis.host\", redisHost)\r\n            .set(\"redis.port\", redisPort)\r\n            .set(\"redis.auth\", redisPassword))\r\n\r\nwhere sparkMode = 'yarn-cluster'\r\n\r\nI am getting the following error:\r\n\r\ndiagnostics: User class threw exception: redis.clients.jedis.exceptions.JedisDataException: ERR unknown command 'CLUSTER'"},"comment":{"url":"https://api.github.com/repos/RedisLabs/spark-redis/issues/comments/206500342","html_url":"https://github.com/RedisLabs/spark-redis/issues/24#issuecomment-206500342","issue_url":"https://api.github.com/repos/RedisLabs/spark-redis/issues/24","id":206500342,"user":{"login":"sunheehnus","id":2889804,"avatar_url":"https://avatars.githubusercontent.com/u/2889804?v=3","gravatar_id":"","url":"https://api.github.com/users/sunheehnus","html_url":"https://github.com/sunheehnus","followers_url":"https://api.github.com/users/sunheehnus/followers","following_url":"https://api.github.com/users/sunheehnus/following{/other_user}","gists_url":"https://api.github.com/users/sunheehnus/gists{/gist_id}","starred_url":"https://api.github.com/users/sunheehnus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunheehnus/subscriptions","organizations_url":"https://api.github.com/users/sunheehnus/orgs","repos_url":"https://api.github.com/users/sunheehnus/repos","events_url":"https://api.github.com/users/sunheehnus/events{/privacy}","received_events_url":"https://api.github.com/users/sunheehnus/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T18:16:08Z","updated_at":"2016-04-06T18:16:08Z","body":"Hello @ScottWang , I have wrote some new changes to fix this in the branch `issue24`, could you please try it again? Thanks very much :+1: \r\n\r\n***** \r\n**hints**\r\n```\r\ngit fetch origin\r\ngit checkout origin/issue24\r\n```\r\nto apply the new changes."}}