ml.dmlc.mxnet.MXNetError: [16:16:57] include/mxnet/kvstore.h:161: compile with USE_DIST_KVSTORE=1 to init parameter server's environment

GitHub | tylorhxw | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    compile with USE_DIST_KVSTORE=1 but not work

    GitHub | 9 months ago | tylorhxw
    ml.dmlc.mxnet.MXNetError: [16:16:57] include/mxnet/kvstore.h:161: compile with USE_DIST_KVSTORE=1 to init parameter server's environment

    Root Cause Analysis

    1. ml.dmlc.mxnet.MXNetError

      [16:16:57] include/mxnet/kvstore.h:161: compile with USE_DIST_KVSTORE=1 to init parameter server's environment

      at ml.dmlc.mxnet.Base$.checkCall()
    2. ml.dmlc.mxnet
      MXNet$$anonfun$1.apply
      1. ml.dmlc.mxnet.Base$.checkCall(Base.scala:110)
      2. ml.dmlc.mxnet.KVStoreServer$.init(KVStoreServer.scala:53)
      3. ml.dmlc.mxnet.spark.MXNet$$anonfun$1.apply(MXNet.scala:134)
      4. ml.dmlc.mxnet.spark.MXNet$$anonfun$1.apply(MXNet.scala:116)
      4 frames
    3. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$20.apply(RDD.scala:710)
      2. org.apache.spark.rdd.RDD$$anonfun$mapPartitions$1$$anonfun$apply$20.apply(RDD.scala:710)
      3. org.apache.spark.rdd.MapPartitionsRDD.compute(MapPartitionsRDD.scala:38)
      4. org.apache.spark.rdd.RDD.computeOrReadCheckpoint(RDD.scala:306)
      5. org.apache.spark.CacheManager.getOrCompute(CacheManager.scala:69)
      6. org.apache.spark.rdd.RDD.iterator(RDD.scala:268)
      7. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
      8. org.apache.spark.scheduler.Task.run(Task.scala:89)
      9. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
      9 frames
    4. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames