在Ubuntu上使用Hadoop平台和Mapreduce框架出现的问题

choudhero 2010-02-04 08:41:01
通过ssh构建一个集群,出现客户端连接不上的情况,显示ipc.client:retrying to connect server
平时连接啊,传输文件啊,都没问题, 运行程序时,不停地retry
运行程序时机器间连接不上
有哪位大侠知道
...全文
1164 18 打赏 收藏 转发到动态 举报
写回复
用AI写文章
18 条回复
切换为时间正序
请发表友善的回复…
发表回复
RiverM 2011-07-13
  • 打赏
  • 举报
回复
三楼实际上没有说什么有价值的信息 人家配置的是standalone模式的 而且别人的给的回复是问他格式化hdfs没有
yangyi10 2011-05-06
  • 打赏
  • 举报
回复
ssh密钥登陆是否已配置
每台机器上jps一下 看看是否 namenode datanode jobtracker tasktracker都启动
查看启动日志
孤鸿掠影 2011-03-24
  • 打赏
  • 举报
回复
[Quote=引用 2 楼 sotom 的回复:]
Are you just trying to get this running for the first time?

To format a new distributed filesystem you can use:
$ bin/hadoop namenode -format

As it says in the docs:
*You need to do this the f……
[/Quote]

二楼很给力,学习一下。

t150ckh 2011-03-23
  • 打赏
  • 举报
回复
[Quote=引用 3 楼 sotom 的回复:]

说实话我也看不懂上边说的是什么。看能不能给你带来点什么思路。
[/Quote]

我也是,求高手。
涛侠 2011-03-23
  • 打赏
  • 举报
回复
ssh无密码访问没设置?
wangshisen66 2011-02-23
  • 打赏
  • 举报
回复
你应该关闭namenode和slave机器的防火墙。或者就是配置文件的地址没弄好,是不是填写的IP地址?如果是,请改为主机名称,另外,需要将slave机器的主机地址加到namenode的host中,如果是windows,请在namenode中使用ssh salve的名称,这样就会提示是否加入host,输入yes即可。。
aperson111 2011-01-10
  • 打赏
  • 举报
回复
我也出现这个问题了,除了namenode外,别的机器上的datanode起不来,都提示ipc.client:retrying to connect server这个错误,谁解决了不?帮忙告诉一下啊!
stoneallen 2011-01-06
  • 打赏
  • 举报
回复
配置问题吧,多尝试下
lvgeneral 2011-01-04
  • 打赏
  • 举报
回复
bcuo,中国知人好好努力。
gloomyfish 2010-10-18
  • 打赏
  • 举报
回复
估计是配置的问题
lvp1984 2010-10-17
  • 打赏
  • 举报
回复
jobtracker都启动了吗?
niulei257 2010-08-31
  • 打赏
  • 举报
回复
支持,我好好看看
sleepydog 2010-08-21
  • 打赏
  • 举报
回复
你只启动了HDFS没有启动mapreduce吧
earhole_xiuxiu 2010-02-07
  • 打赏
  • 举报
回复
支持
choudhero 2010-02-04
  • 打赏
  • 举报
回复
谢谢大家 我好好看看
sotom 2010-02-04
  • 打赏
  • 举报
回复
说实话我也看不懂上边说的是什么。看能不能给你带来点什么思路。
sotom 2010-02-04
  • 打赏
  • 举报
回复
Are you just trying to get this running for the first time?

To format a new distributed filesystem you can use:
$ bin/hadoop namenode -format

As it says in the docs:
*You need to do this the first time you set up a Hadoop installation.
Do notformat a running Hadoop filesystem, this will cause all your
data to be
erased. Before formatting, ensure that the dfs.name.dir directory exists. If
you just used the default, then mkdir -p /tmp/hadoop-username/dfs/name will
create the directory. To format the filesystem (which simply initializes the
directory specified by the dfs.name.dir variable).** *

On Thu, May 15, 2008 at 2:19 AM, shimon golan <sgolan@gmail.com> wrote:

> Thanks ,
>
> I did that but it didn't work ( I got the same message )
>
> my updated /etc/hosts file is
>
> 127.0.0.1 localhost mem
> 192.168.5.236 localhost mem
>
> I've also tried this :
>
> 192.168.5.236 localhost mem
> 127.0.0.1 localhost mem
>
> which gave the message
> Retrying connect to server: localhost/192.168.5.236:50000
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Wed, May 14, 2008 at 7:27 PM, Akshar <akshar.dave@gmail.com> wrote:
>
> > I suggest mapping localhost to actual IP in my /etc/hosts file and
> > running it again.
> >
> > Akshar
> >
> >
> >
> > On Wed, May 14, 2008 at 9:13 AM, Shimon <shimon@dpolls.com> wrote:
> >
> > > Hi all,
> > >
> > > I've set up a standalone hadoop server , and when I run
> > > bin/hadoop dfs namenode -format
> > >
> > > I get the following message ( repeating 10 times ) :
> > >
> > > ipc.Client: Retrying connect to server: localhost/127.0.0.1:50000
> > >
> > >
> > >
> > >
> > > My hadoop-site.xml file is as follows :
> > >
> > > <?xml version="1.0"?>
> > > <?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
> > >
> > >
> > >
> > > <configuration>
> > >
> > > <property>
> > > <name>fs.default.name</name>
> > > <value>localhost:50000</value>
> > > </property>
> > >
> > > <property>
> > > <name>mapred.job.tracker</name>
> > > <value>localhost:50001</value>
> > > </property>
> > >
> > >
> > > <property>
> > > <name>hadoop.tmp.dir</name>
> > > <value>/tmp/hadoop_storage</value>
> > > </property>
> > >
> > > <property>
> > > <name>dfs.replication</name>
> > > <value>1</value>
> > > </property>
> > >
> > >
> > > <property>
> > > <name>mapred.map.tasks.speculative.execution</name>
> > > <value>false</value>
> > > </property>
> > >
> > > <property>
> > > <name>mapred.reduce.tasks.speculative.execution</name>
> > > <value>false</value>
> > > </property>
> > >
> > > </configuration>
> > >
> > >
> > > Any happen would be appreciated.
> > >
> > > Thanks a lot ,
> > > Shimon
> > >
> >
>
luffyke 2010-02-04
  • 打赏
  • 举报
回复
服务开了没有,是什么集群
帮顶!!

23,404

社区成员

发帖
与我相关
我的任务
社区描述
Java 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧