gpt4 book ai didi

hadoop - 在 Hadoop 上运行 Hive 查询时如何停止特定作业?

转载 作者:可可西里 更新时间:2023-11-01 14:17:44 26 4
gpt4 key购买 nike

场景:

When I run enter the query on Hive CLI, I get the errors as below:

查询:

**$ bin/hive -e "insert overwrite table pokes select a.* from invites a where a.ds='2008-08-15';"** 

错误是这样的:

Total MapReduce jobs = 1 Launching Job 1 out of 1 Number of reduce tasks is set to 0 since there's no reduce operator Starting Job = job_201111291547_0013, Tracking URL = http://localhost:50030/jobdetails.jsp?jobid=job_201111291547_0013 Kill Command = C:\cygwin\home\Bhavesh.Shah\hadoop-0.20.2/bin/hadoop job -Dmapred.job.tracker=localhost:9101 -kill job_201111291547_0013 2011-12-01 14:00:52,380 Stage-1 map = 0%, reduce = 0% 2011-12-01 14:01:19,518 Stage-1 map = 100%, reduce = 100% Ended Job = job_201111291547_0013 with errors FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.MapRedTask

问题:

所以我的问题是如何停止工作?在这种情况下,工作是:job_201111291547_0013请帮助我,以便我可以删除这些错误并尝试下一步。谢谢。

最佳答案

您可以通过运行 hadoop job -kill <job_id> 来停止作业.

关于hadoop - 在 Hadoop 上运行 Hive 查询时如何停止特定作业?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8351976/

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