[
https://issues.apache.org/jira/browse/KAFKA-3692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liquan Pei updated KAFKA-3692:
------------------------------
Description: Currently, we doesn't use double quote when using CLASSPATH in
kafka-run-class.sh. This could potentially cause issues as spaces in external
CLASSPATH may result in the CLASSPATH to be incorrectly interpreted. As we
perform a check on whether CLASSPATH is provided to determine the initial value
of CLASSPATH, not using double quotes may cause the external CLASSPATH not be
included in the final CLASSPATH. We can workaround this by double quoting the
external CLASSPATH, but it is a good practice to use double quotes if we are
unsure. (was: Currently, we doesn't use double quote when using CLASSPATH in
)
> Spaces in External CLASSPATH may cause it not be included in the CLASSPATH
> --------------------------------------------------------------------------
>
> Key: KAFKA-3692
> URL: https://issues.apache.org/jira/browse/KAFKA-3692
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.10.0.0
> Reporter: Liquan Pei
> Assignee: Liquan Pei
> Fix For: 0.10.0.1
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Currently, we doesn't use double quote when using CLASSPATH in
> kafka-run-class.sh. This could potentially cause issues as spaces in external
> CLASSPATH may result in the CLASSPATH to be incorrectly interpreted. As we
> perform a check on whether CLASSPATH is provided to determine the initial
> value of CLASSPATH, not using double quotes may cause the external CLASSPATH
> not be included in the final CLASSPATH. We can workaround this by double
> quoting the external CLASSPATH, but it is a good practice to use double
> quotes if we are unsure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)