Errors while running hadoop

前端 未结 4 2048
甜味超标
甜味超标 2021-02-09 06:59
haduser@user-laptop:/usr/local/hadoop$ bin/hadoop dfs -copyFromLocal /tmp/input 
/user/haduser/input

11/12/14 14:21:00 INFO ipc.Client: Retrying connect to server: loca         


        
4条回答
  •  你的背包
    2021-02-09 07:38

    Try to do ssh to your local system using the IP, in this case:

    $ ssh 127.0.0.1

    Once you are able to do the ssh successfully. Run the below command to know the list of open ports

    ~$ lsof -i

    look for a listening connector with name: localhost:< PORTNAME > (LISTEN)

    copy this < PORTNAME > and replace the existing value of port number in tag of fs.default.name property in your core-site.xml in the hadoop conf folder

    save the core-site.xml, this should resolve the issue.

提交回复
热议问题