win10下安裝Hadoop3.0.0後Caused by: java.net.ConnectException: Connection refused: no further information

在使用hdfs的api設置路徑時必定要查看core-site.xml配置文件中的fs.defaultFS標籤中的寫法是否與你當前的html val path = "hdfs://localhost:9000/tmp/frf/pScheduleSparkSqls"中的主機名以及端口號是否一致,不然就會報錯 Caused by: java.net.ConnectException: Connectio
相關文章
相關標籤/搜索