关于使用start-dfs.sh和map降低任务的core-ste.xml文件条目-hadoop

发布于 2025-02-08 22:03:45 字数 233 浏览 2 评论 0原文

是大数据模块的新手,并在Ubuntu上正在运行Hadoop。

  1. 对于地图减少作业,以下条目需要抑制core-site.xml

    fs.default.name HDFS:// Localhost:8020
  2. start-dfs.sh不会在上述条目中执行。

如果允许多个Core Site.xml文件或条目,请协助并进行更新?

Am new to big data modules and am running hadoop on ubuntu.

  1. for map reduce jobs, the below entry from core-site.xml needs to be suppressed

    fs.default.name
    hdfs://localhost:8020

  2. start-dfs.sh does not execute with the above entry suppressed.

kindly assist and do update if multiple core-site.xml files or entries are permitted?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

菩提树下叶撕阳。 2025-02-15 22:03:45

fs.defaultfs是不推荐使用的fs.default.name的首选属性。其中之一是必需的,不能“压制”它们。

如果您在XML中定义了多个匹配属性,则只会使用一个。

无论如何,您都不能在同一Hadoop配置目录中具有多个具有相同名称的文件。这包括“ core-site.xml”

fs.defaultFS is the preferred property over the deprecated fs.default.name . One of them is required, and they cannot be "suppressed".

If you define multiple matching properties in the XML, only one will be used.

You can't have multiple files with the same name in the same hadoop config directory, anyway. This includes "core-site.xml"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文