{"action":"created","issue":{"url":"https://api.github.com/repos/ibm-et/spark-kernel/issues/70","labels_url":"https://api.github.com/repos/ibm-et/spark-kernel/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/ibm-et/spark-kernel/issues/70/comments","events_url":"https://api.github.com/repos/ibm-et/spark-kernel/issues/70/events","html_url":"https://github.com/ibm-et/spark-kernel/issues/70","id":56765911,"number":70,"title":"How to set Spark Master executor cores when starting spark-kernel","user":{"login":"Anne623","id":10845504,"avatar_url":"https://avatars.githubusercontent.com/u/10845504?v=3","gravatar_id":"","url":"https://api.github.com/users/Anne623","html_url":"https://github.com/Anne623","followers_url":"https://api.github.com/users/Anne623/followers","following_url":"https://api.github.com/users/Anne623/following{/other_user}","gists_url":"https://api.github.com/users/Anne623/gists{/gist_id}","starred_url":"https://api.github.com/users/Anne623/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anne623/subscriptions","organizations_url":"https://api.github.com/users/Anne623/orgs","repos_url":"https://api.github.com/users/Anne623/repos","events_url":"https://api.github.com/users/Anne623/events{/privacy}","received_events_url":"https://api.github.com/users/Anne623/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ibm-et/spark-kernel/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-06T03:33:35Z","updated_at":"2015-02-11T04:19:20Z","closed_at":"2015-02-11T04:19:20Z","body":"Hi ,All,  I starting spark-kernel with spark-master standalone model, Now the spark-kernel will use all of the cores. \r\n```shell\r\nanne:~ # /root/local/bin/sparkkernel --master=spark://xx.xxx.xxx.xxx:7077\r\n```\r\nthe logs below:\r\n```console\r\n15/02/06 11:55:59 [INFO] c.i.s.SparkKernel$$anon$1 - Constructing interpreter with arguments: \r\n15/02/06 11:56:00 [INFO] c.i.s.SparkKernel$$anon$1 - Using spark://xx.xxx.xxx.xxx:7077 as Spark Master\r\n```\r\nThe machine cores is 40.\r\n```console\r\nId\tAddress\tState\tCores\tMemory\r\nworker-20150204130337-anne18-60333\tanne:60333\tALIVE\t40 (40 Used)\t377.5 GB (512.0 MB Used)\r\n```\r\n\r\nwhile spark kenel use 40 \r\n```console\r\n\r\nID\tName\tCores\tMemory per Node\tSubmitted Time\tUser\tState\tDuration\r\napp-20150207032900-0009\tIBM Spark Kernel\t40\t512.0 MB\t2015/02/07 03:29:00\troot\tRUNNING\t0.4 s\r\n```\r\n\r\nI have set spark.cores.max in spark-defaults.conf, But it's not working , once i starting spark-kernel,other application has no resource to run."},"comment":{"url":"https://api.github.com/repos/ibm-et/spark-kernel/issues/comments/73832095","html_url":"https://github.com/ibm-et/spark-kernel/issues/70#issuecomment-73832095","issue_url":"https://api.github.com/repos/ibm-et/spark-kernel/issues/70","id":73832095,"user":{"login":"Anne623","id":10845504,"avatar_url":"https://avatars.githubusercontent.com/u/10845504?v=3","gravatar_id":"","url":"https://api.github.com/users/Anne623","html_url":"https://github.com/Anne623","followers_url":"https://api.github.com/users/Anne623/followers","following_url":"https://api.github.com/users/Anne623/following{/other_user}","gists_url":"https://api.github.com/users/Anne623/gists{/gist_id}","starred_url":"https://api.github.com/users/Anne623/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anne623/subscriptions","organizations_url":"https://api.github.com/users/Anne623/orgs","repos_url":"https://api.github.com/users/Anne623/repos","events_url":"https://api.github.com/users/Anne623/events{/privacy}","received_events_url":"https://api.github.com/users/Anne623/received_events","type":"User","site_admin":false},"created_at":"2015-02-11T04:19:20Z","updated_at":"2015-02-11T04:19:20Z","body":"Thank you, I checked, it's worked.   Anyway, the document is necessary."}}