You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/25 17:50:00 UTC

[jira] [Commented] (KAFKA-6988) Kafka windows classpath too long

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

ASF GitHub Bot commented on KAFKA-6988:
---------------------------------------

ward-eric commented on pull request #6499: KAFKA-6988: Reduce classpath via classpath jar
URL: https://github.com/apache/kafka/pull/6499
 
 
   We hit the issue outlined in #5960; however, we came up with a slightly different solution that attempts to not pollute the classpath with unnecessary items.
   
   Instead we build a classpath jar via Gradle and append it to the classpath.  The Gradle function handles the regex originally done by `should_include_file`.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Kafka windows classpath too long
> --------------------------------
>
>                 Key: KAFKA-6988
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6988
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.1.0, 2.0.0
>            Reporter: lkgen
>            Priority: Major
>
> In Kafka windows, the kafka-run-class.bat script is building a CLASSPATH with full path to each jar
> If installation is in a long path directory, the CLASSPATH becomes too long and there is an error of
> {{**The input line is too long. }}
> {{when running zookeeper-server-start.bat and other commands}}
> {{a possible solution may be to expand all jars but add dir\* to classpath}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)