[ 
https://issues.apache.org/jira/browse/HIVE-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12700994#action_12700994
 ] 

Neil Conway commented on HIVE-80:
---------------------------------

BTW, is there any documentation on how to regenerate the Thrift-generated 
source files? I made a trivial change to service/if/hive_service.thrift, and 
then reran

$ cd service
$ ant thriftif

However, the resulting Thrift-generated code fails to compile. The first few of 
the many compile errors are:

    [javac] Compiling 4 source files to 
/Users/neilconway/hive-trunk/build/service/classes
    [javac] 
/Users/neilconway/hive-trunk/service/src/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java:46:
 cannot find symbol
    [javac] symbol  : constructor 
Client(org.apache.thrift.protocol.TProtocol,org.apache.thrift.protocol.TProtocol)
    [javac] location: class 
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.Client
    [javac]       super(iprot, oprot);
    [javac]       ^
    [javac] 
/Users/neilconway/hive-trunk/service/src/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java:57:
 writeMessageBegin(com.facebook.thrift.protocol.TMessage) in 
com.facebook.thrift.protocol.TProtocol cannot be applied to 
(org.apache.thrift.protocol.TMessage)
    [javac]       oprot_.writeMessageBegin(new TMessage("compile", 
TMessageType.CALL, seqid_));
    [javac]             ^
    [javac] 
/Users/neilconway/hive-trunk/service/src/gen-javabean/org/apache/hadoop/hive/service/ThriftHive.java:60:
 write(org.apache.thrift.protocol.TProtocol) in 
org.apache.hadoop.hive.service.ThriftHive.compile_args cannot be applied to 
(com.facebook.thrift.protocol.TProtocol)
    [javac]       args.write(oprot_);
    [javac]           ^

So I'm guessing I need to be using an old version of Thrift? Any info on which 
version to use or which procedure to follow would be very helpful.

> Allow Hive Server to run multiple queries simulteneously
> --------------------------------------------------------
>
>                 Key: HIVE-80
>                 URL: https://issues.apache.org/jira/browse/HIVE-80
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Server Infrastructure
>            Reporter: Raghotham Murthy
>            Assignee: Neil Conway
>            Priority: Critical
>             Fix For: 0.4.0
>
>
> Can use one driver object per query.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to