java.lang.IllegalArgumentException: java.net.UnknownHostException: user 错误解决
在spark-shell环境运行官网实例,每次涉及action操作,总出现错误:java.lang.IllegalArgumentException: java.net.UnknownHostException: user有的说修改hosts、有的说将$HADOOP_HOME/etc/hadoop下面的hdfs-site.xml和core-site.xml拷贝到$SPA