You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flume.apache.org by "Javi Roman (JIRA)" <ji...@apache.org> on 2015/01/04 08:51:34 UTC

[jira] [Commented] (FLUME-2531) Upgrade Thrift to 0.9.1

    [ https://issues.apache.org/jira/browse/FLUME-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263781#comment-14263781 ] 

Javi Roman commented on FLUME-2531:
-----------------------------------

The error persists in the last commit in trunk:

commit 199684b62ec983b8f922b1d6d706479032a18e64

      <properties>
        <hadoop.version>${hadoop2.version}</hadoop.version>
        <hbase.version>0.94.2</hbase.version>
        <hadoop.common.artifact.id>hadoop-common</hadoop.common.artifact.id>
      -  <thrift.version>0.8.0</thrift.version>
     +  <thrift.version>0.9.1</thrift.version>
      </properties>

$ mvn -DskipTests -Dhadoop.profile=2 clean package
...
flume/flume-ng-sdk/src/main/java/org/apache/flume/thrift/ThriftSourceProtocol.java:[231,28] error: getEmptyArgsInstance() in append cannot override getEmptyArgsInstance() in ProcessFunction
...

Any hints?

> Upgrade Thrift to 0.9.1
> -----------------------
>
>                 Key: FLUME-2531
>                 URL: https://issues.apache.org/jira/browse/FLUME-2531
>             Project: Flume
>          Issue Type: Improvement
>            Reporter: Santiago M. Mola
>
> Thrift 0.9+ is needed for some sinks (e.g. Cassandra) but just upgrading the dependency version breaks compilation and backwards compatibility with the Hadoop 1 profile.
> It would be great to find a way to update it while preserving compatibility.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)