You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "MinJi Kim (JIRA)" <ji...@apache.org> on 2016/09/06 21:53:22 UTC

[jira] [Commented] (CALCITE-1110) remove or relocate shaded jackson in Avatica

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

MinJi Kim commented on CALCITE-1110:
------------------------------------

I am curious about what is being considered to resolve this issue.  I am having similar issue with jackson/fasterxml that is being used in Drill.  I have shaded the jackson packages in Avatica in my local build to move forward with what I am working on, so if it would help to upload this patch to start a discussion, I am more than happy to do so.  Thanks!

> remove or relocate shaded jackson in Avatica
> --------------------------------------------
>
>                 Key: CALCITE-1110
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1110
>             Project: Calcite
>          Issue Type: Improvement
>          Components: avatica
>    Affects Versions: 1.6.0, 1.5.0
>            Reporter: Kai Gülzau
>            Assignee: Josh Elser
>            Priority: Critical
>             Fix For: avatica-1.9.0
>
>
> The avatica jar includes a shaded version of jackson under the original package path.
> This shaded version interferes with other jackson versions in the classpath.
> Currently this prevents us from using jackson functionality which is only implemented in newer versions.
> https://mail-archives.apache.org/mod_mbox/calcite-dev/201602.mbox/%3C977C7450-18F4-48E2-A970-69B7E3E1BD2C%40apache.org%3E
> {quote}
> Is it reasonable to have a maven profile that uses jackson as “provided”[1] rather than shading? This would not be the default — the default would be continue to use a shaded version of jackson (relocated to org.apache.calcite.jackson, as Josh suggests) — but folks looking to embed calcite/avatica in a container might appreciate a lighter weight option.
> {quote}



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