You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by "zjw11763 (JIRA)" <ji...@apache.org> on 2016/09/26 12:18:20 UTC

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

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)

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

Posted by chenliang613 <ch...@gmail.com>.
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)





--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/jira-Created-CARBONDATA-275-org-apache-thrift-TBaseHelper-hashCode-int-can-t-find-this-function-tp1488p1513.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.

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

Posted by Zhangshunyu <zh...@126.com>.
Use thrift 0.93 can solve this problem.



--
View this message in context: http://apache-carbondata-mailing-list-archive.1130556.n5.nabble.com/jira-Created-CARBONDATA-275-org-apache-thrift-TBaseHelper-hashCode-int-can-t-find-this-function-tp1488p1530.html
Sent from the Apache CarbonData Mailing List archive mailing list archive at Nabble.com.