gpt4 book ai didi

hadoop - 如何使用hadoop-2.2在oozie中执行mapreduce程序

转载 作者:行者123 更新时间:2023-12-02 21:47:28 25 4
gpt4 key购买 nike

Ubuntu中的2.2.0和oozie-4.0.0。我无法在oozie中执行mapreduce程序。

我在oozie中使用jobtracker 8032的资源管理器端口号。

在安排一段时间后进入oozie进入运行状态并在 yarn 中运行时,我在hadoop日志中遇到了这样的错误(如下),仍然在oozie日志中运行

错误:

2014-05-30 10:38:14,322 INFO [RMCommunicator Allocator] org.apache.hadoop.mapreduce.v2.app.rm.RMContainerRequestor: getResources() for application_1401425739447_0003: ask=3 release= 0 newContainers=0 finishedContainers=0 resourcelimit=<memory:1024, vCores:-1> knownNMs=1
2014-05-30 10:38:17,296 INFO [Socket Reader #1 for port 47412] SecurityLogger.org.apache.hadoop.ipc.Server: Auth successful for job_1401425739447_0003 (auth:SIMPLE)
2014-05-30 10:38:17,316 INFO [IPC Server handler 0 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: JVM with ID : jvm_1401425739447_0003_m_000002 asked for a task
2014-05-30 10:38:17,316 INFO [IPC Server handler 0 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: JVM with ID: jvm_1401425739447_0003_m_000002 given task: attempt_1401425739447_0003_m_000000_0
2014-05-30 10:38:22,524 INFO [IPC Server handler 1 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Ping from attempt_1401425739447_0003_m_000000_0
2014-05-30 10:38:25,996 INFO [IPC Server handler 2 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Status update from attempt_1401425739447_0003_m_000000_0
2014-05-30 10:38:26,003 INFO [IPC Server handler 2 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Progress of TaskAttempt attempt_1401425739447_0003_m_000000_0 is : 1.0
2014-05-30 10:38:29,066 INFO [IPC Server handler 3 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Ping from attempt_1401425739447_0003_m_000000_0
2014-05-30 10:38:32,071 INFO [IPC Server handler 4 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Ping from attempt_1401425739447_0003_m_000000_0
2014-05-30 10:38:35,075 INFO [IPC Server handler 5 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Ping from attempt_1401425739447_0003_m_000000_0
2014-05-30 10:38:38,079 INFO [IPC Server handler 6 on 47412] org.apache.hadoop.mapred.TaskAttemptListenerImpl: Ping from attempt_1401425739447_0003_m_000000_0
this error continues...

我可以在oozie中运行java example(give in oozie)mapreduce程序。

如果我尝试运行pig,hive,sqoop或我自己的java mapreduce程序,则会收到上述错误,我不知道为什么会出现。我已经在oozie中给出了hadoop的配置路径,并且启动了我的工作历史服务器。

请帮帮我...

最佳答案

NodeManager和Resource Manager在同一系统中运行。所以我得到这个错误。我在第二个系统中启动了节点管理器,问题解决了。

关于hadoop - 如何使用hadoop-2.2在oozie中执行mapreduce程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23948319/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com