按照老师的步骤执行报错了
[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)