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

Travis Crawford commented on HIVE-2424:
---------------------------------------

The whole lib directory is not automatically added as dependencies for worker 
tasks. These jars are available locally though when contacting the 
HiveMetaStore, which I believe is the only time thrift is required (since 
worker tasks get their work units from the job conf; they do not contact the 
HiveMetaStore at runtime).

This is causing some major build issues for us, so I'll take a look at what 
happens when non-Hive classes are removed from hive-exec.
                
> Don't expose thrift, commons and json classes in the hive exec jar 
> -------------------------------------------------------------------
>
>                 Key: HIVE-2424
>                 URL: https://issues.apache.org/jira/browse/HIVE-2424
>             Project: Hive
>          Issue Type: Improvement
>          Components: Build Infrastructure
>            Reporter: Eli Collins
>
> The hive exec jar includes exploded thrift, json, and commons lang classes. 
> These may conflict with the user's classpath. This could be fixed by jar 
> jaring or using shade. A mechanism that allowed a user to substitute 
> alternative versions w/o recompiling might be a useful intermediate step 
> (though will require the user substitute alternative versions that work w/ 
> Hive).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to