{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/2642","repository_url":"https://api.github.com/repos/dmlc/mxnet","labels_url":"https://api.github.com/repos/dmlc/mxnet/issues/2642/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/mxnet/issues/2642/comments","events_url":"https://api.github.com/repos/dmlc/mxnet/issues/2642/events","html_url":"https://github.com/dmlc/mxnet/issues/2642","id":164253977,"number":2642,"title":"compile with USE_DIST_KVSTORE=1  but not work","user":{"login":"tylorhxw","id":4352216,"avatar_url":"https://avatars.githubusercontent.com/u/4352216?v=3","gravatar_id":"","url":"https://api.github.com/users/tylorhxw","html_url":"https://github.com/tylorhxw","followers_url":"https://api.github.com/users/tylorhxw/followers","following_url":"https://api.github.com/users/tylorhxw/following{/other_user}","gists_url":"https://api.github.com/users/tylorhxw/gists{/gist_id}","starred_url":"https://api.github.com/users/tylorhxw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylorhxw/subscriptions","organizations_url":"https://api.github.com/users/tylorhxw/orgs","repos_url":"https://api.github.com/users/tylorhxw/repos","events_url":"https://api.github.com/users/tylorhxw/events{/privacy}","received_events_url":"https://api.github.com/users/tylorhxw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-07T08:18:59Z","updated_at":"2016-07-19T15:42:03Z","closed_at":null,"body":"I compiled mxnet on centos6.4 ,before make i set USE_DIST_KVSTORE=1 ,after execute \"make scalapkg\"  i submit the example jar with command\r\n \"$SPARK_HOME/bin/spark-submit --master local --conf spark.dynamicAllocation.enabled=false --conf spark.speculation=false --class ml.dmlc.mxnet.spark.example.ClassificationExample --name mxnet --driver-memory 1g --executor-memory 1g --num-executors 2 --executor-cores 1 --jars mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.10-linux-x86_64-cpu-0.1.2-SNAPSHOT.jar,mxnet/scala-package/spark/target/classes/lib/args4j2.0.29.jar,mxnet/scala-package/spark/target/classes/lib/scala-library-2.10.4.jar,scala-package/spark/target/mxnet-spark_2.10-0.1.2-SNAPSHOT.jar mxnet/scala-package/spark/target/mxnet-spark_2.10-0.1.2-SNAPSHOT.jar --input mxnet/input --jars mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.10-linux-x86_64-cpu-0.1.2-SNAPSHOT.jar  --num-server 1 --num-worker 1 --java /usr/java/default/bin/java --model mlp --cpus 0,1 --num-epoch 5\"\r\n\r\nafter a few minutes i got an error message:\r\n\r\n16/07/07 16:16:57 ERROR executor.Executor: Exception in task 0.0 in stage 1.0 (TID 1)\r\nml.dmlc.mxnet.MXNetError: [16:16:57] include/mxnet/kvstore.h:161: compile with USE_DIST_KVSTORE=1 to init parameter server's environment\r\n\tat ml.dmlc.mxnet.Base$.checkCall(Base.scala:110)\r\n\tat ml.dmlc.mxnet.KVStoreServer$.init(KVStoreServer.scala:53)\r\n\tat ml.dmlc.mxnet.spark.MXNet$$anonfun$1.apply(MXNet.scala:134)\r\n\tat ml.dmlc.mxnet.spark.MXNet$$anonfun$1.apply(MXNet.scala:116)\r\n\tat org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$20.apply(RDD.scala:710)\r\n\tat org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$20.apply(RDD.scala:710)\r\n\tat org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)\r\n\tat org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)\r\n\tat org.apache.spark.CacheManager.getOrCompute(CacheManager.scala:69)\r\n\tat org.apache.spark.rdd.RDD.iterator(RDD.scala:268)\r\n\tat org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)\r\n\tat org.apache.spark.scheduler.Task.run(Task.scala:89)\r\n\tat org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n\r\nThis confused me ,could somebody help me ?\r\n"},"comment":{"url":"https://api.github.com/repos/dmlc/mxnet/issues/comments/233674370","html_url":"https://github.com/dmlc/mxnet/issues/2642#issuecomment-233674370","issue_url":"https://api.github.com/repos/dmlc/mxnet/issues/2642","id":233674370,"user":{"login":"javelinjs","id":631860,"avatar_url":"https://avatars.githubusercontent.com/u/631860?v=3","gravatar_id":"","url":"https://api.github.com/users/javelinjs","html_url":"https://github.com/javelinjs","followers_url":"https://api.github.com/users/javelinjs/followers","following_url":"https://api.github.com/users/javelinjs/following{/other_user}","gists_url":"https://api.github.com/users/javelinjs/gists{/gist_id}","starred_url":"https://api.github.com/users/javelinjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javelinjs/subscriptions","organizations_url":"https://api.github.com/users/javelinjs/orgs","repos_url":"https://api.github.com/users/javelinjs/repos","events_url":"https://api.github.com/users/javelinjs/events{/privacy}","received_events_url":"https://api.github.com/users/javelinjs/received_events","type":"User","site_admin":false},"created_at":"2016-07-19T15:42:03Z","updated_at":"2016-07-19T15:42:03Z","body":"Are you using the same jar on worker nodes?"}}
{"actor":{"display_login":"javelinjs"}}