Return-Path: X-Original-To: apmail-hive-user-archive@www.apache.org Delivered-To: apmail-hive-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 413D5FED0 for ; Sat, 5 Oct 2013 07:47:41 +0000 (UTC) Received: (qmail 75272 invoked by uid 500); 5 Oct 2013 07:47:37 -0000 Delivered-To: apmail-hive-user-archive@hive.apache.org Received: (qmail 75176 invoked by uid 500); 5 Oct 2013 07:47:30 -0000 Mailing-List: contact user-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hive.apache.org Delivered-To: mailing list user@hive.apache.org Received: (qmail 75168 invoked by uid 99); 5 Oct 2013 07:47:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Oct 2013 07:47:28 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of leftyleverenz@gmail.com designates 209.85.214.48 as permitted sender) Received: from [209.85.214.48] (HELO mail-bk0-f48.google.com) (209.85.214.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Oct 2013 07:47:23 +0000 Received: by mail-bk0-f48.google.com with SMTP id my13so1878697bkb.35 for ; Sat, 05 Oct 2013 00:47:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=uWYD34s2mlShn8QIZaTiyPehxE8vvQi2ODWcYQHROks=; b=UY4woHoNe2IZ3WOElsJiXT8d06+5LUQaPPtb5jY4SKAQoTDarIRDDNODvDVn6qyw3x uyFPeO4axC2MXl0W06oo/lyLlq0r/UD1qLm8vN/jb5G2yipAl6meDHTe2XYdxjdSvaiC 0AkdDdUtN6jJwdLhsrKqa0NiBbWS+CskR39pQOSwFOgmigW2ZnwK/B9qAKnqF0k3fo2l CCYGAA/bygMQiQ/yGfucCaPY5Skpt0zaqelJYBAe0tUB64HlDXfCn+4WuHlPCXuVbkyg py+l3h8kraNdEL3m7xVi+fs/dIv5jWxl2RjTeQf5ooYHuppibHPo9tXBRYTs5bIM8rC/ qe4A== MIME-Version: 1.0 X-Received: by 10.205.10.132 with SMTP id pa4mr16527205bkb.15.1380959221843; Sat, 05 Oct 2013 00:47:01 -0700 (PDT) Received: by 10.204.172.7 with HTTP; Sat, 5 Oct 2013 00:47:01 -0700 (PDT) In-Reply-To: References: Date: Sat, 5 Oct 2013 00:47:01 -0700 Message-ID: Subject: Re: Need help with Installation hive 0.11 From: Lefty Leverenz To: user@hive.apache.org Content-Type: multipart/alternative; boundary=20cf30223b13de388404e7f99fa9 X-Virus-Checked: Checked by ClamAV on apache.org --20cf30223b13de388404e7f99fa9 Content-Type: text/plain; charset=ISO-8859-1 Do you have any suggestions for improving the Hive wiki instructions? -- Lefty On Fri, Oct 4, 2013 at 7:30 PM, Baahu wrote: > Apache hive. > On Oct 5, 2013 1:06 AM, "Mikhail Antonov" wrote: > >> Are you using apache hive or one from cloudera/Horton works? >> >> On Oct 4, 2013, at 11:52, Baahu wrote: >> >> Hi Mikhail, >> I followed the steps mentioned in the Apache hive website, found the >> instructions not so helpful... Is there any good link which provides proper >> installation steps. >> >> Thanks >> On Oct 5, 2013 12:07 AM, "Mikhail Antonov" wrote: >> >>> Looks like you have StorageDelegationAuthorizationProvider enabled in >>> hive-site.xml (like below), but hcatalog isn't installed somehow? >>> >>> >>> hive.security.authorization.manager >>> org.apache.hcatalog.security.StorageDelegationAuthorizationProvider >>> 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, ...). >>> >>> >>> >>> >>> >>> 2013/10/4 Baahu >>> >>>> 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 >>> >> --20cf30223b13de388404e7f99fa9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Do you have any suggestions for improving the Hive wiki in= structions?

-- Lefty


On Fri, Oct 4, 2013 at 7:30 PM, Baahu <bahubali@gmail.com> wrote:

Apache hive.

On Oct 5, 2013 1:06 AM, "Mikhail Antonov&qu= ot; <olorinban= t@gmail.com> wrote:
Are you using apache hive or one from cloudera/Horto= n works?

On Oct 4, 2013, at 11:52, Baahu <bahubali@gmail.com> wrote:

Hi Mikhail,
I followed the steps mentioned in the Apache hive website, found the instru= ctions not so helpful... Is there any good link which provides proper insta= llation steps.

Thanks

On Oct 5, 2013 12:07 AM, "Mikhail Antonov&q= uot; <olorinba= nt@gmail.com> wrote:
Looks like you have=A0StorageDelegationAuthorizationProvider 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.StorageDelegationAuthorizationP=
rovider</value>
  <description>the hive client authorization manager class name.
  The user defined authorization class should implement interface org.apach=
e.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider.
  HCatalog uses a model, where authorization checks are delegated to the st=
orage layer (hdfs, hbase, ...).
  </description>
</property>


2013/10/4 Baahu <bahubali@gmail.com><= br>
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.metast= ore.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-bi= n/lib/hive-common-0.11.0.jar!/hive-log4j.properties
Hive history file=3D= /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: o= rg.apache.hcatalog.security.StorageDelegationAuthorizationProvider
=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.ql.session.SessionState.sta= rt(SessionState.java:278)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver= .java:670)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.cli.CliDriver= .main(CliDriver.java:614)
=A0=A0=A0=A0=A0=A0=A0 at sun.reflect.NativeMet= hodAccessorImpl.invoke0(Native Method)
=A0=A0=A0=A0=A0=A0=A0 at sun.reflect.NativeMethodAccessorImpl.invoke(Native= MethodAccessorImpl.java:57)
=A0=A0=A0=A0=A0=A0=A0 at sun.reflect.Delegat= ingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
=A0= =A0=A0=A0=A0=A0=A0 at java.lang.reflect.Method.invoke(Method.java:606)
=A0=A0=A0=A0=A0=A0=A0 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.StorageDelegationAuth= orizationProvider
=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.ql.metadata.HiveUtils.getAu= thorizeProviderManager(HiveUtils.java:342)
=A0=A0=A0=A0=A0=A0=A0 at org.= apache.hadoop.hive.ql.session.SessionState.start(SessionState.java:272)
= =A0=A0=A0=A0=A0=A0=A0 ... 7 more
Caused by: java.lang.ClassNotFoundExcep= tion: org.apache.hcatalog.security.StorageDelegationAuthorizationProvider =A0=A0=A0=A0=A0=A0=A0 at java.net.URLClassLoader$1.run(URLClassLoader.java:= 366)
=A0=A0=A0=A0=A0=A0=A0 at java.net.URLClassLoader$1.run(URLClassLoad= er.java:355)
=A0=A0=A0=A0=A0=A0=A0 at java.security.AccessController.doP= rivileged(Native Method)
=A0=A0=A0=A0=A0=A0=A0 at java.net.URLClassLoade= r.findClass(URLClassLoader.java:354)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.ClassLoader.loadClass(ClassLoader.java:4= 24)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.ClassLoader.loadClass(ClassLoader= .java:357)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Class.forName0(Native Meth= od)
=A0=A0=A0=A0=A0=A0=A0 at java.lang.Class.forName(Class.java:270)
=A0=A0=A0=A0=A0=A0=A0 at org.apache.hadoop.hive.ql.metadata.HiveUtils.getAu= thorizeProviderManager(HiveUtils.java:335)
=A0=A0=A0=A0=A0=A0=A0 ... 8 m= ore

Thanks.




--
Thanks,
M= ichael Antonov

--20cf30223b13de388404e7f99fa9--