Ah.. never mind. I see this is defined in the hive trunk.

On Tue, Mar 10, 2015 at 2:33 AM, Vivek Shrivastava <[email protected]
> wrote:

> Hi,
>
> When I run the beeline command I get this error message. Do I have pass
> the value through command line? if so then what is the value?
>
> Thanks,
>
> Vivek
>
> 2015-03-10 06:18:30,157 ERROR [pool-7-thread-1]: thrift.ProcessFunction
> (ProcessFunction.java:process(41)) - Internal error processing OpenSession
>
> java.lang.NoSuchFieldError: HIVE_AUTHORIZATION_TASK_FACTORY
>
>         at
> org.apache.sentry.binding.hive.HiveAuthzBindingSessionHook.<clinit>(HiveAuthzBindingSessionHook.java:46)
>
>         at java.lang.Class.forName0(Native Method)
>
>         at java.lang.Class.forName(Class.java:274)
>
>         at
> org.apache.hadoop.hive.ql.hooks.HookUtils.getHooks(HookUtils.java:59)
>
>         at
> org.apache.hive.service.cli.session.SessionManager.executeSessionHooks(SessionManager.java:223)
>
>         at
> org.apache.hive.service.cli.session.SessionManager.openSession(SessionManager.java:136)
>
>         at
> org.apache.hive.service.cli.CLIService.openSession(CLIService.java:153)
>
>         at
> org.apache.hive.service.cli.thrift.ThriftCLIService.getSessionHandle(ThriftCLIService.java:268)
>
>         at
> org.apache.hive.service.cli.thrift.ThriftCLIService.OpenSession(ThriftCLIService.java:191)
>
>         at
> org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1253)
>
>         at
> org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1238)
>
>         at
> org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>
>         at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>
>         at
> org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBridge20S.java:628)
>
>         at
> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)
>
>         at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>
>         at java.lang.Thread.run(Thread.java:745)
>

Reply via email to