Closed Lobo2008 closed 2 years ago
Did you add spark conf like following to tell RSS client in your spark application to connect to your RSS server? like following:
spark.shuffle.rss.serviceRegistry.type=standalone
spark.shuffle.rss.serviceRegistry.server=server1:12222
spark.shuffle.rss.dataCenter=dc1
Did you add spark conf like following to tell RSS client in your spark application to connect to your RSS server? like following:
spark.shuffle.rss.serviceRegistry.type=standalone spark.shuffle.rss.serviceRegistry.server=server1:12222 spark.shuffle.rss.dataCenter=dc1
Thank you!I forgot to change the server1 to my IP.
About the two puzzles I have mentioned above,(If any one needs) I found that the STANDALONE means RSS's standalone not spark's standalone.
Closing this. Feel free to create a new issue if needed
Hi, I would like to test JavaWordCount using Uber Remote Shuffle Service, I followed https://github.com/uber/RemoteShuffleService README to:
then Exception returned:Failed to get all RSS servers
My puzzles are:
enviroment: all of our spark applications are running on YARN
command to submit: $SPARK_HOME/bin/spark-submit \ --class org.apache.spark.examples.JavaWordCount \ --conf spark.speculation=false \ --jars/remote-shuffle-service-0.0.9-client.jar \
--conf spark.driver.extraClassPath=remote-shuffle-service-0.0.9-client.jar \
--conf spark.executor.extraClassPath=remote-shuffle-service-0.0.9-client.jar \
--conf spark.shuffle.service.enabled=false \
--conf spark.dynamicAllocation.enabled=false \
$SPARK_HOME/examples/jars/spark-examples_2.11-2.4.5.jar \
hdfs:///datas.txt
part of Exceptions: Exception in thread "main" com.uber.rss.exceptions.RssException: Failed to get all RSS servers at com.uber.rss.metadata.ServiceRegistryUtils.getReachableServers(ServiceRegistryUtils.java:82) at org.apache.spark.shuffle.RssShuffleManager$$anonfun$8.apply(RssShuffleManager.scala:396) at org.apache.spark.shuffle.RssShuffleManager$$anonfun$8.apply(RssShuffleManager.scala:395) at org.apache.spark.shuffle.RssServiceRegistry$.executeWithServiceRegistry(RssServiceRegistry.scala:80) at org.apache.spark.shuffle.RssShuffleManager.getRssServers(RssShuffleManager.scala:395) at org.apache.spark.shuffle.RssShuffleManager.registerShuffle(RssShuffleManager.scala:109) at org.apache.spark.ShuffleDependency.(Dependency.scala:93)
at org.apache.spark.rdd.ShuffledRDD.getDependencies(ShuffledRDD.scala:87)
at org.apache.spark.rdd.RDD$$anonfun$dependencies$2.apply(RDD.scala:256)
at org.apache.spark.rdd.RDD$$anonfun$dependencies$2.apply(RDD.scala:252)
at scala.Option.getOrElse(Option.scala:121)