Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-84

Create a separate java tool module

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None

      Description

      I think it would be nice if we made a tool jar to make it easier to invoke the equivalent of orcfiledump from Hive. In particular, I propose that we create a java/tools directory and move FileDump and JsonFileDump in to it. We can also make an orc-tools.jar that is an uber jar and can be invoked easily from the command line.

        Issue Links

          Activity

          Hide
          githubbot ASF GitHub Bot added a comment -

          GitHub user omalley opened a pull request:

          https://github.com/apache/orc/pull/49

          ORC-84. Create a separate java tool module

          This creates a new java/tools directory and moves the Java ORC tools into it.

          • An uber jar is much easier to use from the command line
          • It reduces the dependencies for orc-core, which no longer needs the JSON or CLI libraries.
          • It creates a new driver class that we can add additional tools to.
          • It pulls the json data printer out of FileDump.java

          You can merge this pull request into a Git repository by running:

          $ git pull https://github.com/omalley/orc orc-84

          Alternatively you can review and apply these changes as the patch at:

          https://github.com/apache/orc/pull/49.patch

          To close this pull request, make a commit to your master/trunk branch
          with (at least) the following in the commit message:

          This closes #49


          commit a8d1a472fe9a883cf9887a987c0b0b216d874b1a
          Author: Owen O'Malley <omalley@apache.org>
          Date: 2016-07-19T18:27:39Z

          ORC-84. Create a separate java tool module


          Show
          githubbot ASF GitHub Bot added a comment - GitHub user omalley opened a pull request: https://github.com/apache/orc/pull/49 ORC-84 . Create a separate java tool module This creates a new java/tools directory and moves the Java ORC tools into it. An uber jar is much easier to use from the command line It reduces the dependencies for orc-core, which no longer needs the JSON or CLI libraries. It creates a new driver class that we can add additional tools to. It pulls the json data printer out of FileDump.java You can merge this pull request into a Git repository by running: $ git pull https://github.com/omalley/orc orc-84 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/orc/pull/49.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #49 commit a8d1a472fe9a883cf9887a987c0b0b216d874b1a Author: Owen O'Malley <omalley@apache.org> Date: 2016-07-19T18:27:39Z ORC-84 . Create a separate java tool module
          Hide
          githubbot ASF GitHub Bot added a comment -

          Github user asfgit closed the pull request at:

          https://github.com/apache/orc/pull/49

          Show
          githubbot ASF GitHub Bot added a comment - Github user asfgit closed the pull request at: https://github.com/apache/orc/pull/49
          Hide
          owen.omalley Owen O'Malley added a comment -

          I just committed this.

          Show
          owen.omalley Owen O'Malley added a comment - I just committed this.
          Hide
          leftylev Lefty Leverenz added a comment -

          Does this need to be documented in the wiki?

          Show
          leftylev Lefty Leverenz added a comment - Does this need to be documented in the wiki?
          Hide
          owen.omalley Owen O'Malley added a comment -

          Released as part of ORC 1.2.0

          Show
          owen.omalley Owen O'Malley added a comment - Released as part of ORC 1.2.0

            People

            • Assignee:
              owen.omalley Owen O'Malley
              Reporter:
              owen.omalley Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development