[jira] [Created] (CARBONDATA-275) org.apache.thrift.TBaseHelper.hashCode(int) can't find this function

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-275) org.apache.thrift.TBaseHelper.hashCode(int) can't find this function

Akash R Nilugal (Jira)
zjw11763 created CARBONDATA-275:
-----------------------------------

             Summary: org.apache.thrift.TBaseHelper.hashCode(int) can't find this function
                 Key: CARBONDATA-275
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-275
             Project: CarbonData
          Issue Type: Bug
            Reporter: zjw11763






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (CARBONDATA-275) org.apache.thrift.TBaseHelper.hashCode(int) can't find this function

Liang Chen
Administrator
Hi

Have you installed Apache Thrift 0.9.3(https://thrift.apache.org/download)? and make sure thrift is added to system path.

Regards
Liang

JIRA jira@apache.org wrote
zjw11763 created CARBONDATA-275:
-----------------------------------

             Summary: org.apache.thrift.TBaseHelper.hashCode(int) can't find this function
                 Key: CARBONDATA-275
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-275
             Project: CarbonData
          Issue Type: Bug
            Reporter: zjw11763

there is method,for example:
@Override
public int hashCode()
{ int hashCode = 1; hashCode = hashCode * 8191 + min_surrogate_key; hashCode = hashCode * 8191 + max_surrogate_key; hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(start_offset); hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(end_offset); hashCode = hashCode * 8191 + chunk_count; hashCode = hashCode * 8191 + ((isSetSegment_id()) ? 131071 : 524287); if (isSetSegment_id()) hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(segment_id); return hashCode; }
but can't find function org.apache.thrift.TBaseHelper.hashCode(segment_id)
there is no funciotn called hashCode has paramater

--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
Reply | Threaded
Open this post in threaded view
|

Re: [jira] [Created] (CARBONDATA-275) org.apache.thrift.TBaseHelper.hashCode(int) can't find this function

Zhangshunyu
In reply to this post by Akash R Nilugal (Jira)
Use thrift 0.93 can solve this problem.
My English name is Sunday