hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikhail Antonov <olorinb...@gmail.com>
Subject Re: Need help with Installation hive 0.11
Date Fri, 04 Oct 2013 18:36:06 GMT
Looks like you have StorageDelegationAuthorizationProvider enabled in
hive-site.xml (like below), but hcatalog isn't installed somehow?

<property>
  <name>hive.security.authorization.manager</name>
  <value>org.apache.hcatalog.security.StorageDelegationAuthorizationProvider</value>
  <description>the hive client authorization manager class name.
  The user defined authorization class should implement interface
org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider.
  HCatalog uses a model, where authorization checks are delegated to
the storage layer (hdfs, hbase, ...).
  </description>
</property>



2013/10/4 Baahu <bahubali@gmail.com>

> Hi,
> Have installed Hive 0.11 in centos.I see the below error when I execute
> hive.Can you please help me resolving this.
>
> [root@centosvm bin]# hive
> 13/10/04 09:05:35 WARN conf.HiveConf: DEPRECATED: Configuration property
> hive.metastore.local no longer has any effect. Make sure to provide a valid
> value for hive.metastore.uris if you are connecting to a remote metastore.
>
> Logging initialized using configuration in
> jar:file:/opt/hive-0.11.0-bin/lib/hive-common-0.11.0.jar!/hive-log4j.properties
> Hive history
> file=/tmp/root/hive_job_log_root_8553@centosvm_201310040905_1657489660.txt
> Exception in thread "main" java.lang.RuntimeException:
> org.apache.hadoop.hive.ql.metadata.HiveException:
> java.lang.ClassNotFoundException:
> org.apache.hcatalog.security.StorageDelegationAuthorizationProvider
>         at
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:278)
>         at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:670)
>         at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:614)
>         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)
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException:
> java.lang.ClassNotFoundException:
> org.apache.hcatalog.security.StorageDelegationAuthorizationProvider
>         at
> org.apache.hadoop.hive.ql.metadata.HiveUtils.getAuthorizeProviderManager(HiveUtils.java:342)
>         at
> org.apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:272)
>         ... 7 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hcatalog.security.StorageDelegationAuthorizationProvider
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:270)
>         at
> org.apache.hadoop.hive.ql.metadata.HiveUtils.getAuthorizeProviderManager(HiveUtils.java:335)
>         ... 8 more
>
> Thanks.
>
>


-- 
Thanks,
Michael Antonov

Mime
View raw message