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

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

lkgendev opened a new pull request #5960: KAFKA-6988: Improve Kafka classpath 
length by using all files in dir instead of adding one by one
URL: https://github.com/apache/kafka/pull/5960
 
 
   Fixing Windows too long command due to classpath in case kafka is installed 
in a directory the has large length, also shorten the Unix classpath as it can 
have similar problem on docker
   
   the contribution is my original work and I license the work to the project 
under the project's open source license.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@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
>            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)

Reply via email to