You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Kevin Minder (JIRA)" <ji...@apache.org> on 2013/10/04 20:28:41 UTC

[jira] [Commented] (KNOX-181) gateway dsl shell adds too many unnecessary jars to its classpath

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

Kevin Minder commented on KNOX-181:
-----------------------------------

Are you suggesting that launcher.cfg be changed to enumerate only the required JARs.  If so what would identity as the practical benefit of doing that?  Seems to me that this just becomes a maintenance problem.  Keep in mind that ../ext;../ext/*.jar is there as a mechanism to allow for extension without requiring the customer to find and modify classpath entries.

> gateway dsl shell adds too many unnecessary jars to its classpath
> -----------------------------------------------------------------
>
>                 Key: KNOX-181
>                 URL: https://issues.apache.org/jira/browse/KNOX-181
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: ClientDSL
>    Affects Versions: 0.3.0
>            Reporter: Dilli Arumugam
>            Assignee: Dilli Arumugam
>             Fix For: 0.4.0
>
>
> See the out of cat  $KNOX_HOME/bin/shell.cfg
> #Created from jar:file:/Users/darumugam/workspace/knox/local-knox-install/knox-incubating-0.4.0-SNAPSHOT/bin/shell.jar!/META-INF/launcher.cfg
> #Thu Oct 03 15:50:16 PDT 2013
> main.class=org.apache.hadoop.gateway.shell.Shell
> class.path=../lib/*.jar;../dep/*.jar;../ext;../ext/*.jar
> There are too many jars under lib and dep.
> shell.jar should not add all those jars to its classpath.



--
This message was sent by Atlassian JIRA
(v6.1#6144)