Hive
  1. Hive
  2. HIVE-3091

Fix eclipse classpath for hadoop-2.0.1 support

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.1, 0.10.0
    • Fix Version/s: None
    • Component/s: Build Infrastructure
    • Labels:
      None

      Description

      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.

        Activity

        Hide
        Edward Capriolo added a comment -


        I do not think we want to version them unless we really have to.

        As it stands now the eclipse templates are already confusing so they can not get much worse.

        Show
        Edward Capriolo added a comment - I do not think we want to version them unless we really have to. As it stands now the eclipse templates are already confusing so they can not get much worse.
        Hide
        Rohith Sharma K S added a comment -

        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.

        Show
        Rohith Sharma K S added a comment - 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.

          People

          • Assignee:
            Unassigned
            Reporter:
            Rohith Sharma K S
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development