[ https://issues.apache.org/jira/browse/HIVE-3091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13289966#comment-13289966 ]
rohithsharma commented on HIVE-3091: ------------------------------------ I have 2 approached to handle this problem. 1. Maitain differnt eclipse template for different version of hadoop. 2. Make current eclipse template as generic such a way that all the tokens in the template is replaced with value. I suggest for first approach because different hadoop version require differnt version of dependent jar. For example hadooop-0.20 require common-codec-1.3.jar where hadoop-0.23.0 require common-codec-1.4.jar. > Fix eclipse classpath for hadoop-2.0.1 support > ---------------------------------------------- > > Key: HIVE-3091 > URL: https://issues.apache.org/jira/browse/HIVE-3091 > Project: Hive > Issue Type: Bug > Components: Build Infrastructure > Affects Versions: 0.10.0, 0.9.1 > Reporter: rohithsharma > > Hive support different versions of hadoop such as 0.20,0.20S(1.0.0) and > 0.23.0(2.0.1). When we build hive with hadoop-0.23(2.0.1), we get compilation > error in eclipse because it is refering to 0.20.0 hadoop jars. > Currently, hive classpath is generated with pre-defined eclipse template.This > template support only for 0.20 version of hadoop. This is causing compilation > error in eclipse. -- 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