Hive
  1. Hive
  2. HIVE-1640

hive-exec.jar contains JSON classes

    Details

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

      Description

      JSON classes are bundled in the hive-exec.jar artifact, among others (commons-lang, thrift). This causes conflicts for any application that must rely on a different version of JSON, and other bundled libraries.

        Issue Links

          Activity

          Hide
          Curtis Boyden added a comment -

          A couple of thoughts to resolve this:

          1) Change the namespace of the included (json, commons-lang, etc...) classes that are used by Hive
          2) Create 2 versions of Hive-Exec (One with embedded projects, one that relies on external jars)

          Why are these projects embedded? Is it to reduce the number of dependencies the JDBC driver requires?

          Show
          Curtis Boyden added a comment - A couple of thoughts to resolve this: 1) Change the namespace of the included (json, commons-lang, etc...) classes that are used by Hive 2) Create 2 versions of Hive-Exec (One with embedded projects, one that relies on external jars) Why are these projects embedded? Is it to reduce the number of dependencies the JDBC driver requires?
          Jordan Ganoff made changes -
          Field Original Value New Value
          Link This issue relates to HIVE-163 [ HIVE-163 ]
          Jordan Ganoff created issue -

            People

            • Assignee:
              Unassigned
              Reporter:
              Jordan Ganoff
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development