我正在尝试在虚拟机VM(RHEL 6.5,8GB RAM,100GB HDD)中的伪分布式群集上运行一个示例MR作业,但是在提交作业之后它只停留在那里。
INFO:mapreduce.Job:正在运行的职位:job_1437483993_001
应用程序跟踪网址(http://localhost:8088/cluster/applicationID)会显示如下结果:
用户:root
姓名:grep-search
应用程序类型:mapreduce
状态:已接受
FinalStatus:未定义
我尝试过:
jps
显示所有服务都正常运行。但没有运气。请指导我。
编辑: 这是日志:
[root@master ~]# hadoop jar /usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar grep /user/pradeep output23 'dfs[a-z.]+'
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
16/04/27 10:21:09 INFO client.RMProxy: Connecting to ResourceManager at /127.0.0.1:8032
16/04/27 10:21:09 WARN mapreduce.JobResourceUploader: No job jar file set. User classes may not be found. See Job or Job#setJar(String).
16/04/27 10:21:09 INFO input.FileInputFormat: Total input paths to process : 4
16/04/27 10:21:10 INFO mapreduce.JobSubmitter: number of splits:4
16/04/27 10:21:11 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1461732411884_0001
16/04/27 10:21:11 INFO mapred.YARNRunner: Job jar is not present. Not adding any jar to the list of resources.
16/04/27 10:21:11 INFO impl.YarnClientImpl: Submitted application application_1461732411884_0001
16/04/27 10:21:11 INFO mapreduce.Job: The url to track the job: http://localhost:8088/proxy/application_1461732411884_0001/
16/04/27 10:21:11 INFO mapreduce.Job: Running job: job_1461732411884_0001
答案 0 :(得分:0)
还有一些其他问题,而不是基础设施。请在地图缩小代码中粘贴您尝试执行的操作。