为什么我敲入 hadoop fs -ls 会出现 ls: unknown host: imooc

来源:3-5 HDFS使用

huangleisir

2015-07-19 16:24


ls: unknown host: imooc


写回答 关注

3回答

  • Kit_Ren
    2015-07-27 11:40:52

    同学你好,可以将在etc/hosts文件里加把imooc加进去,即加入“127.0.0.1  imooc",或者在hadoop的xml配置文件中将imooc替换为你的主机名即可

    慕斯卡115...

    回复 value everything:这个问题最后是怎么解决的啊 我也遇到了

    2017-05-26 11:40:33

    共 2 条回复 >

  • Maxoi
    2015-11-21 14:34:59

    我输完

     hadoop fs -ls / 

    提示的是

    15/10/14 09:47:03 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

    15/10/14 09:47:04 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)

    15/10/14 09:47:05 INFO ipc.Client: Retrying connect to server: localhost/127.0.0.1:9000. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)


    如果不CTRL+C就会一直跳

    图拉

    你解决了吗

    2016-04-24 14:47:23

    共 3 条回复 >

  • 慕尼黑6781522
    2015-10-29 11:02:50

    我也遇到这个问题了,怎么解决

认识Hadoop--基础篇

Hadoop入门视频教程,大数据人才的入门首选

138835 学习 · 348 问题

查看课程

相似问题