hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prem Yadav <ipremya...@gmail.com>
Subject Re: Strange issue with hive-0.10
Date Mon, 30 Jun 2014 00:33:50 GMT
bump


On Sun, Jun 29, 2014 at 12:48 PM, Prem Yadav <ipremyadav@gmail.com> wrote:

> Hi,
> we are using hive 0.10, the CDH version. CDH version is 4.4
>
> we have our table,  partitioned with dates. A partition for everyday.
>
> We are trying to use ODBC for connecting to hive. Our select queries work
> just fine. However, when we try to use any aggregate methods- ex: count,
> SUM etc: server throws an error as:
>
>
> ERROR org.apache.hadoop.hive.ql.Driver: FAILED: NullPointerException null
> java.lang.NullPointerException
>         at
> org.apache.hadoop.hive.ql.Driver.doAuthorization(Driver.java:603)
>         at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:513)
>         at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:349)
>         at
> org.apache.hadoop.hive.ql.Driver.compileAndRespond(Driver.java:355)
>         at
> org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:110)
>         at
> org.apache.hive.service.cli.operation.SQLOperation.prepare(SQLOperation.java:82)
>         at
> org.apache.hive.service.cli.operation.SQLOperation.run(SQLOperation.java:129)
>         at
> org.apache.hive.service.cli.session.HiveSessionImpl.executeStatement(HiveSessionImpl.java:209)
>         at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> org.apache.hive.service.cli.session.HiveSessionProxy$1.run(HiveSessionProxy.java:62)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:396)
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
>         at
> org.apache.hadoop.hive.shims.HadoopShimsSecure.doAs(HadoopShimsSecure.java:580)
>         at
> org.apache.hive.service.cli.session.HiveSessionProxy.invoke(HiveSessionProxy.java:57)
>         at $Proxy9.executeStatement(Unknown Source)
>         at
> org.apache.hive.service.cli.CLIService.executeStatement(CLIService.java:154)
>         at
> org.apache.hive.service.cli.thrift.ThriftCLIService.ExecuteStatement(ThriftCLIService.java:191)
>         at
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1373)
>         at
> org.apache.hive.service.cli.thrift.TCLIService$Processor$ExecuteStatement.getResult(TCLIService.java:1358)
>         at
> org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>         at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>         at
> org.apache.hive.service.cli.thrift.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:38)
>         at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>         at java.lang.Thread.run(Thread.java:662)
>
>
> Anyone else faced this?
>
> Any help appreciated.
>
> Thanks
>
>

Mime
View raw message