[
https://issues.apache.org/jira/browse/KAFKA-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16030932#comment-16030932
]
Christopher MÃ¥rtensson commented on KAFKA-3733:
-----------------------------------------------
I can add that the long commands also breaks scripts like
`kafka-server-stop.sh` that use `ps` to find the current running server
instance.
> Avoid long command lines by setting CLASSPATH in environment
> ------------------------------------------------------------
>
> Key: KAFKA-3733
> URL: https://issues.apache.org/jira/browse/KAFKA-3733
> Project: Kafka
> Issue Type: Improvement
> Components: tools
> Reporter: Adrian Muraru
> Assignee: Adrian Muraru
> Priority: Minor
> Fix For: 0.11.1.0
>
>
> {{kafka-run-class.sh}} sets the JVM classpath in the command line via {{-cp}}.
> This generates long command lines that gets trimmed by the shell in commands
> like ps, pgrep,etc.
> An alternative is to set the CLASSPATH in environment.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)