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

Nick Dimiduk updated HBASE-8438:
--------------------------------

    Attachment: HBASE-8438-0.94.00.patch

Here's a backport for 0.94. I'll need to update it as well once HBASE-9165 
makes it in, that way the hadoop jar will be excluded. Here's output:

{noformat}
$ ./bin/hbase mapredcp 2>/dev/null | tr ':' '\n'
/private/tmp/hbase-0.94.14-SNAPSHOT/hbase-0.94.14-SNAPSHOT.jar
/private/tmp/hbase-0.94.14-SNAPSHOT/lib/protobuf-java-2.4.0a.jar
/private/tmp/hbase-0.94.14-SNAPSHOT/lib/zookeeper-3.4.5.jar
/private/tmp/hbase-0.94.14-SNAPSHOT/lib/guava-11.0.2.jar
/private/tmp/hbase-0.94.14-SNAPSHOT/lib/hadoop-core-1.0.4.jar
{noformat}

> Extend bin/hbase to print a "mapreduce classpath"
> -------------------------------------------------
>
>                 Key: HBASE-8438
>                 URL: https://issues.apache.org/jira/browse/HBASE-8438
>             Project: HBase
>          Issue Type: Improvement
>          Components: scripts
>    Affects Versions: 0.94.6.1, 0.95.0, 0.94.13
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>             Fix For: 0.98.0, 0.96.1, 0.94.14
>
>         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, 
> 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, 
> 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, 
> HBASE-8438-0.94.00.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 was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to