首页 \ 问答 \ Hadoop INFO ipc.Client:重试连接到服务器localhost / 127.0.0.1:9000(Hadoop INFO ipc.Client: Retrying connect to server localhost/127.0.0.1:9000)

Hadoop INFO ipc.Client:重试连接到服务器localhost / 127.0.0.1:9000(Hadoop INFO ipc.Client: Retrying connect to server localhost/127.0.0.1:9000)

我阅读了有关Hadoop的HDFS配置问题的其他帖子。 但是,它们都没有帮助。 所以,我发布了我的问题。 我按照教程了解了hadoop v1.2.1。 当我运行hadoop fs -ls命令时,我遇到了这个错误:

16/08/29 15:20:35 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)

我的core-site.xml文件是:

<configuration>
<property>
  <name>fs.default.name</name>
    <value>hdfs://localhost:9000</value>
</property>

<property>
  <name>hadoop.tmp.dir</name>
    <value>/mnt/miczfs/hadoop/tmp/${user.name}</value>
</property>
</configuration>

另外,我的hdfs-site.xml文件如下:

<configuration>
<property>
 <name>dfs.replication</name>
 <value>1</value>
    </property>
<property>
   <name>dfs.name.dir</name>
    <value>/mnt/miczfs/hadoop/hdfs/${user.name}/namenode</value>
</property>
 <property>
    <name>dfs.secondary.http.address</name>
    <value>localhost:0</value>
 </property>
<property>
  <name>dfs.data.dir</name>
    <value>/mnt/miczfs/hadoop/hdfs/${user.name}/datanode</value>
</property>
<property>
   <name>dfs.datanode.address</name>
   <value>localhost:0</value>
</property>
<property>
   <name>dfs.datanode.http.address</name>
   <value>localhost:0</value>
</property>
<property>
   <name>dfs.datanode.ipc.address</name>
   <value>localhost:0</value>
</property>
</configuration>

和/ etc / hosts是这样的:

127.0.0.1   localhost localhost.localdomain localhost4  localhost4.localdomain4
::1         localhost localhost.localdomain localhost6    localhost6.localdomain6
 172.31.1.1      micrasrelmond.local micrasrelmond #Generated-by-micctrl
 172.31.1.1      mic0.local mic0 #Generated-by-micctrl

如果有可能,请帮助我。 谢谢


I read other posts about the HDFS configuration problem with Hadoop. However, none of them was helpful. So, I post my question. I followed this tutorial for hadoop v1.2.1. When I am running hadoop fs -ls command I've got this error:

16/08/29 15:20:35 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)

My core-site.xml file is:

<configuration>
<property>
  <name>fs.default.name</name>
    <value>hdfs://localhost:9000</value>
</property>

<property>
  <name>hadoop.tmp.dir</name>
    <value>/mnt/miczfs/hadoop/tmp/${user.name}</value>
</property>
</configuration>

Also, my hdfs-site.xml file is as follow:

<configuration>
<property>
 <name>dfs.replication</name>
 <value>1</value>
    </property>
<property>
   <name>dfs.name.dir</name>
    <value>/mnt/miczfs/hadoop/hdfs/${user.name}/namenode</value>
</property>
 <property>
    <name>dfs.secondary.http.address</name>
    <value>localhost:0</value>
 </property>
<property>
  <name>dfs.data.dir</name>
    <value>/mnt/miczfs/hadoop/hdfs/${user.name}/datanode</value>
</property>
<property>
   <name>dfs.datanode.address</name>
   <value>localhost:0</value>
</property>
<property>
   <name>dfs.datanode.http.address</name>
   <value>localhost:0</value>
</property>
<property>
   <name>dfs.datanode.ipc.address</name>
   <value>localhost:0</value>
</property>
</configuration>

and the /etc/hosts is this:

127.0.0.1   localhost localhost.localdomain localhost4  localhost4.localdomain4
::1         localhost localhost.localdomain localhost6    localhost6.localdomain6
 172.31.1.1      micrasrelmond.local micrasrelmond #Generated-by-micctrl
 172.31.1.1      mic0.local mic0 #Generated-by-micctrl

If it is possible, please help me. Thanks


原文:
更新时间:2022-04-08 12:04

最满意答案

您可以创建一个新包,将.dcp添加到其requires子句,向其添加一个新单元并在uses子句中使用代码完成 - 它将显示所有必需包中的所有可用单元。 如果.dcp是唯一必需的包,并且您将其设置为按范围排序(右键单击下拉列表),则.dcp中的单位应位于顶部。

我不确定这是否适用于Delphi 7。 它适用于Delphi 2007。


You could create a new package, add your .dcp to its requires clause, add a new unit to it and use code completion in the uses clause - it will show you all available units in all required packages. If your .dcp is the only required package and you set it to display sorted by scope (right-click in the dropdown) then the units from your .dcp should be on top.

I'm not sure if this works in Delphi 7 already. It works in Delphi 2007.

相关问答

更多

相关文章

更多

最新问答

更多
  • 获取MVC 4使用的DisplayMode后缀(Get the DisplayMode Suffix being used by MVC 4)
  • 如何通过引用返回对象?(How is returning an object by reference possible?)
  • 矩阵如何存储在内存中?(How are matrices stored in memory?)
  • 每个请求的Java新会话?(Java New Session For Each Request?)
  • css:浮动div中重叠的标题h1(css: overlapping headlines h1 in floated divs)
  • 无论图像如何,Caffe预测同一类(Caffe predicts same class regardless of image)
  • xcode语法颜色编码解释?(xcode syntax color coding explained?)
  • 在Access 2010 Runtime中使用Office 2000校对工具(Use Office 2000 proofing tools in Access 2010 Runtime)
  • 从单独的Web主机将图像传输到服务器上(Getting images onto server from separate web host)
  • 从旧版本复制文件并保留它们(旧/新版本)(Copy a file from old revision and keep both of them (old / new revision))
  • 西安哪有PLC可控制编程的培训
  • 在Entity Framework中选择基类(Select base class in Entity Framework)
  • 在Android中出现错误“数据集和渲染器应该不为null,并且应该具有相同数量的系列”(Error “Dataset and renderer should be not null and should have the same number of series” in Android)
  • 电脑二级VF有什么用
  • Datamapper Ruby如何添加Hook方法(Datamapper Ruby How to add Hook Method)
  • 金华英语角.
  • 手机软件如何制作
  • 用于Android webview中图像保存的上下文菜单(Context Menu for Image Saving in an Android webview)
  • 注意:未定义的偏移量:PHP(Notice: Undefined offset: PHP)
  • 如何读R中的大数据集[复制](How to read large dataset in R [duplicate])
  • Unity 5 Heighmap与地形宽度/地形长度的分辨率关系?(Unity 5 Heighmap Resolution relationship to terrain width / terrain length?)
  • 如何通知PipedOutputStream线程写入最后一个字节的PipedInputStream线程?(How to notify PipedInputStream thread that PipedOutputStream thread has written last byte?)
  • python的访问器方法有哪些
  • DeviceNetworkInformation:哪个是哪个?(DeviceNetworkInformation: Which is which?)
  • 在Ruby中对组合进行排序(Sorting a combination in Ruby)
  • 网站开发的流程?
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 条带格式类型格式模式编号无法正常工作(Stripes format type format pattern number not working properly)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。