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] [Commented] (HBASE-8383) Support lib/*jar inside coprocessor jar
Date Wed, 24 Apr 2013 22:17:16 GMT

    [ https://issues.apache.org/jira/browse/HBASE-8383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13641050#comment-13641050
] 

Nick Dimiduk commented on HBASE-8383:
-------------------------------------

Oh, you're right. Also easily confirmed with a little scala:

{noformat}
val rootzip = new java.util.zip.ZipFile("repos/hbase/hbase-server/target/hbase-server-0.97.0-SNAPSHOT.jar")
                                                  //> rootzip  : java.util.zip.ZipFile
= java.util.zip.ZipFile@51b48197
import scala.collection.JavaConversions._
rootzip.entries.
  foreach { e => println(e.getName()) }           //> META-INF/
                                                  //| META-INF/MANIFEST.MF
...
{noformat}

In that case, {{testClassLoadingFromLibDirInJar}} is a false test and should be removed, along
with the leading {{[/]?}} in the regex. The case with the leading / doesn't happen.
                
> Support lib/*jar inside coprocessor jar
> ---------------------------------------
>
>                 Key: HBASE-8383
>                 URL: https://issues.apache.org/jira/browse/HBASE-8383
>             Project: HBase
>          Issue Type: Improvement
>          Components: Coprocessors
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>            Priority: Minor
>         Attachments: trunk-8383.patch, trunk-8383.patch
>
>
> Currently, jar files inside a coprocessor jar should be under folder /lib/.  It would
be great to support jar files under lib/ too, i.e, no "/" at the front.

--
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

Mime
View raw message