Hive
  1. Hive
  2. HIVE-617

Script to start classes with hadoop and hive environment

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.4.0
    • Component/s: Clients
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hide
      Add 'jar' service to hive client shell. (Edward Capriolo via rmurthy)
      Show
      Add 'jar' service to hive client shell. (Edward Capriolo via rmurthy)

      Description

      At times it may be required to write a process that uses both the Hadoop and Hive environment and API. For example, someone may write an application that uses the HIVE api directly. This patch will add a more generic --jar extension that can start any class with the proper environment.

      RUNJAR=/opt/hive/lib/hive_hwi.jar RUNCLASS=test.TestHive hive --service jar

      1. hive-617.3.diff
        1 kB
        Edward Capriolo
      2. hive-617.2.patch
        1 kB
        Edward Capriolo
      3. TestHive.java
        2 kB
        Edward Capriolo
      4. hive-617.patch
        0.6 kB
        Edward Capriolo

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Edward Capriolo
            Reporter:
            Edward Capriolo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development