我试图在我的单集群设置中运行Pig或Hive中的HelloWorld编程。我的所有应用程序都挂了。这包括我在猪身上的字数。我的Hive命令也挂起:
SELECT COUNT(*) FROM u_data;
My Hive logs stops as follows: set mapreduce.job.reduces=<number>
Starting Job = job_1433035285759_0006, Tracking URL = http://der-Inspiron-3521:8088/proxy/application_1433035285759_0006/
Kill Command = /home/der/utility/hadoop-2.7.0/bin/hadoop job -kill job_1433035285759_0006
我按照链接。该应用程序显示
status = undefined
这是我的map-reduce配置文件:
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
<property>
<property>
<name>mapreduce.jobhistory.address</name>
<value>localhost:10020</value>
<description>Host and port for Job History Server (default 0.0.0.0:10020)</description>
</property>
<name>mapreduce.jobtracker.http.address</name>
<value>localhost:50030</value>
<description>The host and port that the MapReduce job tracker runs
at. If "local", then jobs are run in-process as a single map
and reduce task.
</description>
</property>
</configuration>
我的hadoop服务器是2.7.0版。 我试过hadoop服务器2.6.0,但我还有其他问题。
我的猪脚本在MapReduce启动阶段挂起:
2015-05-30 19:34:59,641 [main] INFO org.apache.pig.backend.hadoop.executionengine.
mapReduceLayer.MapReduceLauncher -
detailed locations: M: lines[1,8],words[-1,-1],
wordcount[4,12],grouped[3,10] C: wordcount[4,12],grouped[3,10] R: wordcount[4,12]
2015-05-30 19:34:59,666 [main]
INFO org.apache.pig.backend.
hadoop.executionengine.mapReduceLayer
MapReduceLauncher - 0% complete
2015-05-30 19:34:59,666 [main] INFO org.apache.pig.backend.hadoop.executionengine.
mapReduceLayer.MapReduceLauncher -
Running jobs are [job_1433039621140_0001]