Ben Chuanlong Du's Blog

It is never too late to learn.

Spark Issue: RuntimeException: Could not find any configured addresses for URI

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Symptoms

Caused by: java.lang.RuntimeException: Could not find any configured addresses for URI hdfs://clustername-router/

Possible Causes

This is due to missing clustername-router settings in the property dfs.nameservices in …