You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Billy(Yiming) Liu (JIRA)" <ji...@apache.org> on 2016/07/16 16:56:20 UTC

[jira] [Updated] (KYLIN-1898) Upgrade to Avatica 1.8 or higher

     [ https://issues.apache.org/jira/browse/KYLIN-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Billy(Yiming) Liu updated KYLIN-1898:
-------------------------------------
    Attachment: KYLIN-1898.patch

The patch upgrades the Calcite-core and Calcite-linq4j to 1.8. Since the hive 0.14 still depends on org.apache.calcite:calcite-avatica, not latest org.apache.calcite.avatica:avatica, I have left a workaround for this case. 

            <!-- Workaround for hive 0.14 avatica dependency -->
            <dependency>
                <groupId>org.apache.calcite</groupId>
                <artifactId>calcite-avatica</artifactId>
                <version>1.6.0</version>
                <exclusions>
                    <exclusion>
                        <groupId>com.google.protobuf</groupId>
                        <artifactId>protobuf-java</artifactId>
                    </exclusion>
                </exclusions>
            </dependency>

> Upgrade to Avatica 1.8 or higher
> --------------------------------
>
>                 Key: KYLIN-1898
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1898
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Julian Hyde
>         Attachments: KYLIN-1898.patch
>
>
> A [stackoverflow question|http://stackoverflow.com/questions/38369871/how-to-install-two-different-version-of-a-specific-package-in-maven] reports problems when mixing Avatica 1.6 (used by Kylin) and Avatica 1.8 (used by some unspecified other database). It appears that 1.6 and 1.8 are not compatible, probably due to CALCITE-836 or CALCITE-1213. The solution is for Kylin to upgrade to 1.8 or higher.



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