为了账号安全,请及时绑定邮箱和手机立即绑定

按照老师的步骤执行报错了

[leekin@localhost bin]$ ./hive

which: no hbase in (/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/bin:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.121.x86_64/jre/bin:/opt/hadoop-1.2.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/leekin/bin)

Exception in thread "main" java.lang.IllegalAccessError: tried to access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class org.slf4j.LoggerFactory

at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:60)

at org.apache.hadoop.hive.ql.session.SessionState.<clinit>(SessionState.java:105)

at org.apache.hadoop.hive.cli.CliDriver.<init>(CliDriver.java:107)

at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:641)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.hadoop.util.RunJar.main(RunJar.java:160)


正在回答

1 回答

文件没有执行权限么

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
走近大数据之Hive入门
  • 参与学习       54598    人
  • 解答问题       102    个

Hive是基于HDFS的数据仓库,教程将向大家介绍Hive的体系结构

进入课程

按照老师的步骤执行报错了

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信