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 <edlinuxg...@gmail.com>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 <zhangxiaoyu...@gmail.com>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 >> > >