Errors while running hadoop

前端 未结 4 2107
甜味超标
甜味超标 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:57

    I had similar issues - Actually Hadoop was binding to IPv6. Then I Added - "export HADOOP_OPTS=-Djava.net.preferIPv4Stack=true " to $HADOOP_HOME/conf/hadoop-env.sh

    Hadoop was binding to IPv6 even when I had disabled IPv6 on my system. Once I added it to env, started working fine.

    Hope this helps someone.

提交回复
热议问题