Uploaded image for project: 'HCatalog'
  1. HCatalog
  2. HCATALOG-556

HCatalog-trunk doesn't build against Hive-0.10.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 0.5
    • None
    • None

    Description

      When one builds hcatalog-trunk/ against latest in hive-branch-0.10/, one sees compile errors, along the following lines:

      <excerpt>

      compile:
      [echo] hcatalog-core
      [javac] Compiling 1 source file to /Users/mithunr/workspace/dev/hcatalog/trunk.move.to.hive10/core/build/classes
      [javac] /Users/mithunr/workspace/dev/hcatalog/trunk.move.to.hive10/core/src/main/java/org/apache/hcatalog/har/HarOutputCommitterPostProcessor.java:50: cannot find symbol
      [javac] symbol : variable Constants
      [javac] location: class org.apache.hcatalog.har.HarOutputCommitterPostProcessor
      [javac] partition.getParameters().put(Constants.IS_ARCHIVED, "true");
      [javac] ^
      [javac] 1 error

      </excerpt>

      The reason for these code breaks is HIVE-2715. Some of the thrift-generated class names have been changed (in conjunction with the move to thrift-9.)

      The reason why these are not evident in trunk-builds at the moment is that the latest artifacts posted on repository.apache.org are outdated (i.e. pre-HIVE-2715.)
      https://repository.apache.org/content/groups/snapshots/org/apache/hive/hive-metastore/0.10.0-SNAPSHOT/

      Once the artifacts are updated, these problems should come to the fore. I'm working through the failures right now. I'll post a patch soon-ish.

      Attachments

        1. HCATALOG-556.patch
          35 kB
          Mithun Radhakrishnan
        2. HCATALOG-556.2.patch
          18 kB
          Thejas Nair
        3. HCATALOG-556_hive_snapshot_fix.travis.1.patch
          58 kB
          Travis Crawford
        4. HCATALOG-556_hive_snapshot_fix.mithun.patch
          57 kB
          Mithun Radhakrishnan

        Issue Links

          Activity

            People

              mithun Mithun Radhakrishnan
              mithun Mithun Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: