Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive >> mail # user >> is that possible to use Hive 0.11 with libthrift 0.7


Copy link to this message
-
Re: is that possible to use Hive 0.11 with libthrift 0.7
Thanks, Edward. it is a big upgrade for other component. I guess I have to
got with class loader for each class for now.

Johnny
On Thu, Oct 10, 2013 at 12:19 PM, Edward Capriolo <[EMAIL PROTECTED]>wrote:

> You are kinda screwed. Thrift is wire-compatible in many cases but not API
> compatible. You can not have two applications build off two versions of
> thrift in the same classpath without something like OSGI. To insulate the
> class loaders from each other.
>
> Your best bet is upgrading "other component" to thrift 9
>
>
> On Thu, Oct 10, 2013 at 3:09 PM, Zhang Xiaoyu <[EMAIL PROTECTED]>wrote:
>
>> Hi, all,
>> I am writing a piece of code talking to Hive 0.11 Hive Server 2. The JDBC
>> code depends on libthrift 0.9. However one component which depends on
>> libthrift 0.7 and not binary compatible with libthrift 0.9.
>>
>> When I downgrade to 0.7, I got below NoClassDefFoundError:
>> org/apache/thrift/scheme/StandardScheme.
>>
>> Any idea how to make HS2 working with thrift 0.7? Thanks.
>>
>> Johnny
>>
>
>