Spark - failed on connection exception: java.net.ConnectException - localhost

前端 未结 2 1061
半阙折子戏
半阙折子戏 2021-01-05 13:33

I am running hadoop and spark in a single machine (Ubuntu 14.04). JPS command gives me below output

hduser@ubuntu:~$ jps
4370 HRegionServer
6568 Jps
5555 Run         


        
2条回答
  •  孤城傲影
    2021-01-05 13:50

    Sorry... actually namenode is running in a different port which I found from core-site.xml. It works for me after using the port 54310.

    
      fs.default.name
      hdfs://localhost:54310
      The name of the default file system.  A URI whose
      scheme and authority determine the FileSystem implementation.  The
      uri's scheme determines the config property (fs.SCHEME.impl) naming
      the FileSystem implementation class.  The uri's authority is used to
      determine the host, port, etc. for a filesystem.
    
    
    

    Could someone please tell me what does 3079 means here, which is the output of JPS command.

提交回复
热议问题