phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Soldatov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2535) Create shaded clients (thin + thick)
Date Mon, 11 Apr 2016 19:34:25 GMT

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

Sergey Soldatov commented on PHOENIX-2535:
------------------------------------------

[~elserj] We used tephra as is (so we run co.cask.tephra.TransactionServiceMain without any
wrapper) and it uses  {{com.google.common}}
As for {{org/mortbay}} {{com/sun}} {{org/objectweb}} {{javax}} as well as {{org/eclipse/jetty}}
-  Query Server resolving jetty Handler through services, so it will fail of we shade jetty
and run it from sandbox (so, unshaded queryserver-runnable jar is used).   
pig/flume modules are used from outside and implements the public API and they supposed to
be used outside
what is the reason to shade hadoop and hbase if we build phoenix against the specific versions?



> Create shaded clients (thin + thick) 
> -------------------------------------
>
>                 Key: PHOENIX-2535
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2535
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Sergey Soldatov
>             Fix For: 4.8.0
>
>         Attachments: PHOENIX-2535-1.patch, PHOENIX-2535-2.patch, PHOENIX-2535-3.patch,
PHOENIX-2535-4.patch, PHOENIX-2535-5.patch
>
>
> Having shaded client artifacts helps greatly in minimizing the dependency conflicts at
the run time. We are seeing more of Phoenix JDBC client being used in Storm topologies and
other settings where guava versions become a problem. 
> I think we can do a parallel artifact for the thick client with shaded dependencies and
also using shaded hbase. For thin client, maybe shading should be the default since it is
new? 



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

Mime
View raw message