Hi

That might not work, as it might need a later version of hadoop/yarn, if
not the one that comes with cdh5.2.  Hive 0.13 was built with Hadoop 2.3.0
Yarn.

Thanks
Szehon

On Wed, Nov 26, 2014 at 11:25 PM, Jander g <jande...@gmail.com> wrote:

> Hi, everybody
>
> We use Hadoop CDH4.6.0, now i try to upgrade only hive to
> 0.13.1-cdh5.2.0,something puzzles me:
>
> because it isn't compatible with protobuf 2.5.0, so i rebuild
> hive-0.13.1-cdh5.2.0 using protobuf 2.4.0a, then it is ok to run hive query
> and metastore.
>
> when i use hive server2 using beeline, it can't be connected, hive server
> log as follows:
>
> ERROR thrift.ProcessFunction (ProcessFunction.java:process(
> 41)) - Internal error processing OpenSession
> java.lang.IllegalAccessError: tried to access field
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.SchedulingPolicy.DEFAULT_POLICY
> from class
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationConfiguration
>         at
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.AllocationConfiguration.<init>(AllocationConfiguration.java:139)
>         at
> org.apache.hadoop.hive.shims.Hadoop23Shims.refreshDefaultQueue(Hadoop23Shims.java:303)
>         at
> org.apache.hive.service.cli.session.HiveSessionImpl.<init>(HiveSessionImpl.java:113)
>         at
> org.apache.hive.service.cli.session.HiveSessionImplwithUGI.<init>(HiveSessionImplwithUGI.java:48)
>         at
> org.apache.hive.service.cli.session.SessionManager.openSession(SessionManager.java:188)
>         at
> org.apache.hive.service.cli.CLIService.openSessionWithImpersonation(CLIService.java:164)
>         at
> org.apache.hive.service.cli.thrift.ThriftCLIService.getSessionHandle(ThriftCLIService.java:290)
>         at
> org.apache.hive.service.cli.thrift.ThriftCLIService.OpenSession(ThriftCLIService.java:209)
>         at
> org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1313)
>         at
> org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1298)
>         at
> org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>         at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>         at
> org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:55)
>         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)
>
> Any suggestion will be greate appreciated. Thank in advance.
>
>
> --
> Thanks,
> Jander
>

Reply via email to