hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Dimiduk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-8438) Extend bin/hbase to print a "minimal classpath" for used by other tools
Date Fri, 26 Apr 2013 01:33:13 GMT

     [ https://issues.apache.org/jira/browse/HBASE-8438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Nick Dimiduk updated HBASE-8438:

    Attachment: 0001-HBASE-8438-Extend-bin-hbase-to-print-a-minimal-class.patch

This version addresses [~apurtell]'s comments re: going out of the way to exclude hadoop.
The implementation is a hack as we depend on finding running `hadoop classpath` from the shell
script, but it works. Patch comment includes example output, specifically addressing the hive
> Extend bin/hbase to print a "minimal classpath" for used by other tools
> -----------------------------------------------------------------------
>                 Key: HBASE-8438
>                 URL: https://issues.apache.org/jira/browse/HBASE-8438
>             Project: HBase
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions:, 0.95.0
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>         Attachments: 0001-HBASE-8438-Extend-bin-hbase-to-print-a-minimal-class.patch,
0001-HBASE-8438-Extend-bin-hbase-to-print-a-minimal-class.patch, 0001-HBASE-8438-Extend-bin-hbase-to-print-a-minimal-class.patch
> For tools like pig and hive, blindly appending the full output of `bin/hbase classpath`
to their own CLASSPATH is excessive. They already build CLASSPATH entries for hadoop. All
they need from us is the delta entries, the dependencies we require w/o hadoop and all of
it's transitive deps. This is also a kindness for Windows, where there's a shorter limit on
the length of commandline arguments.
> See also HIVE-2055 for additional discussion.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message