[jira] [Commented] (HIVE-5733) Publish hive-exec artifact without all the dependencies

2015-05-12 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on HIVE-5733:
---

bq. what problems did you see with this patch? 
I think the problem was - "removing shaded dependencies from hive-exec caused 
failures in other modules, as other modules are expecting all dependencies come 
with hive-exec". Other solution we did on our end is to make protobuf version 
provided and not bundle with hive-exec jar.

> Publish hive-exec artifact without all the dependencies
> ---
>
> Key: HIVE-5733
> URL: https://issues.apache.org/jira/browse/HIVE-5733
> Project: Hive
>  Issue Type: Bug
>Affects Versions: 0.12.0
>Reporter: Jarek Jarcec Cecho
>Assignee: Amareshwari Sriramadasu
> Attachments: HIVE-5733.1.patch
>
>
> Currently the artifact {{hive-exec}} that is available in 
> [maven|http://search.maven.org/remotecontent?filepath=org/apache/hive/hive-exec/0.12.0/hive-exec-0.12.0.jar]
>  is shading all the dependencies (= the jar contains all Hive's 
> dependencies). As other projects that are depending on Hive might be use 
> slightly different version of the dependencies, it can easily happens that 
> Hive's shaded version will be used instead which leads to very time consuming 
> debugging of what is happening (for example SQOOP-1198).
> Would it be feasible publish {{hive-exec}} jar that will be build without 
> shading any dependency? For example 
> [avro-tools|http://search.maven.org/#artifactdetails%7Corg.apache.avro%7Cavro-tools%7C1.7.5%7Cjar]
>  is having classifier "nodeps" that represents artifact without any 
> dependencies.



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


[jira] [Commented] (HIVE-10435) Make HiveSession implementation pluggable through configuration

2015-05-06 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on HIVE-10435:


Have updated few comments on review board.

The test failures reported by PreCommit builds above does not seem related to 
the patch. Some of the failures are present from more than 40 builds. I hope 
they are already being tracked. Can anyone point to already open jiras if any?

> Make HiveSession implementation pluggable through configuration
> ---
>
> Key: HIVE-10435
> URL: https://issues.apache.org/jira/browse/HIVE-10435
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Amareshwari Sriramadasu
>Assignee: Akshay Goyal
> Attachments: HIVE-10435.1.patch
>
>
> SessionManager in CLIService creates and keeps track of HiveSession. 
> Right now, it creates HiveSessionImpl which is one implementation of 
> HiveSession. This improvement request is to make it pluggable through a 
> configuration sothat other implementations can be passed.



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


[jira] [Commented] (HIVE-10435) Make HiveSession implementation pluggable through configuration

2015-04-22 Thread Amareshwari Sriramadasu (JIRA)

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

Amareshwari Sriramadasu commented on HIVE-10435:


Usecase :
In Apache Lens, we would like to use CLIService and SessionManager directly and 
give an implementation as LensSessionImpl.

Here is a commit on forked repo of hive - 
https://github.com/InMobi/hive/commit/ed79ba365cfff4cc485d4ffb546453472c25ca86. 
If nobody objects, we would like to port it into hive itself.

> Make HiveSession implementation pluggable through configuration
> ---
>
> Key: HIVE-10435
> URL: https://issues.apache.org/jira/browse/HIVE-10435
> Project: Hive
>  Issue Type: Improvement
>  Components: HiveServer2
>Reporter: Amareshwari Sriramadasu
>
> SessionManager in CLIService creates and keeps track of HiveSession. 
> Right now, it creates HiveSessionImpl which is one implementation of 
> HiveSession. This improvement request is to make it pluggable through a 
> configuration sothat other implementations can be passed.



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


<    1   2