hadoop job -list报错解决方法
来源:互联网 发布:dna计算机 知乎 编辑:程序博客网 时间:2024/06/01 16:18
错误信息
[root@single Desktop]# hadoop job -list
DEPRECATED: Use of this script to execute mapred command is deprecated.
Instead use the mapred command for it.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/cloud/hadoop-2.2.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/cloud/hadoop-2.2.0/share/hadoop/common/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
14/08/21 18:18:53 INFO Configuration.deprecation: session.id is deprecated. Instead, use dfs.metrics.session-id
14/08/21 18:18:53 INFO jvm.JvmMetrics: Initializing JVM Metrics with processName=JobTracker, sessionId=
Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.mapreduce.tools.CLI.listJobs(CLI.java:504)
at org.apache.hadoop.mapreduce.tools.CLI.run(CLI.java:312)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.mapred.JobClient.main(JobClient.java:1237)
修改mapred-site.xml文件,该配置的原因
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
重启集群可以了
[root@single Desktop]# hadoop job -list
DEPRECATED: Use of this script to execute mapred command is deprecated.
Instead use the mapred command for it.
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/cloud/hadoop-2.2.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/cloud/hadoop-2.2.0/share/hadoop/common/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
14/08/21 19:16:22 INFO client.RMProxy: Connecting to ResourceManager at /0.0.0.0:8032
Total jobs:0
JobId State StartTime UserName Queue PriorityUsedContainers RsvdContainersUsedMem RsvdMem NeededMem AM info
- hadoop job -list报错解决方法
- hadoop job报错is running beyond physical memory limits
- Hadoop运行job程序报错 exitCode=255
- 调用JOB执行外部脚本报错ORA-27369解决方法
- 关于hadoop job中job.setOutputFormatClass和FileOutputFormat.setOutputPath容易报错的问题
- hadoop fs -ls / 报错-----解决方法
- eclipse连接hadoop报错Unknown protocol to job tracker: org.apache.hadoop.hdfs.protocol.ClientProtocol
- hadoop执行job报错:Exception in createBlockOutputStream datanode:50010;Connection timed out:no futher...
- hive执行job的时候报错:hadoop.hive.ql.exec.tez.TezTask
- mapreduce.job运行报错
- Hadoop 输出目录 已经存在 报错 解决方法
- hadoop运行报错: java.lang.ClassNotFoundException解决方法
- 重启hadoop的namenode报错解决方法
- hadoop运行报错: java.lang.ClassNotFoundException解决方法
- Hadoop-2.2.0启动./start-dfs.sh报错解决方法
- List<List<E>> list = new ArrayList<ArrayList<E>>()报错的解决方法
- Job List
- Hadoop报错信息:Job not successful. Error: # of failed Map Tasks exceeded allowed limit. FailedCount: 4.
- 将char型数组转化为CSTring型字符串
- 连接(应该可以这么说吧)优先队列——POJ 1442
- AudioManager 的使用
- 标准源码下载
- OpenWRT添加模块<六>: 为现存的公有包添加新的私有文件
- hadoop job -list报错解决方法
- 企航网络手把手剖析软文营销发挥的作用?
- linux进程代码fork案例
- C结构体之位域(位段)
- uiview的裁剪
- 简单计算器算法 转
- 数据结构排序之直接选择排序
- C程序的实现
- Android 自定义Progressbar,任何图片都能当成progressbar转动起来