You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spark.apache.org by qingyang li <li...@gmail.com> on 2014/03/17 10:23:52 UTC
java.lang.IllegalAccessError: tried to access field
org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator.conf from class org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator
dear community, i have used such command to build shark0.9:
export SHARK_HADOOP_VERSION=2.2.0
sbt/sbt package
but when i run bin/shark, I got this error:
Exception in thread "main" java.lang.IllegalAccessError: tried to access
field org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator.conf
from class org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator
at
org.apache.hadoop.hive.ql.security.ProxyUserAuthenticator.setConf(ProxyUserAuthenticator.java:40)
at
org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)
at
org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
at
org.apache.hadoop.hive.ql.metadata.HiveUtils.getAuthenticator(HiveUtils.java:365)
at
org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:270)
at shark.SharkCliDriver$.main(SharkCliDriver.scala:128)
at shark.SharkCliDriver.main(SharkCliDriver.scala)
it seems conf is one private variable,
do any one know how to resovle this problem ?