[ https://issues.apache.org/jira/browse/KAFKA-2780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jon Bringhurst updated KAFKA-2780: ---------------------------------- Description: When spaces are present in the path leading up to kafka-server-start.sh, kafka-server-start.sh has trouble finding kafka-run-class.sh. The path that is executed should be quoted. {noformat} jbringhu@jbringhu-mn3 /V/N/L/t/t/m/M/kafka_2.11-0.8.2.2> /Volumes/NO\ NAME/LISA\ 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh ./config/server.properties usage: dirname path /Volumes/NO NAME/LISA 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh: line 44: /kafka-run-class.sh: No such file or directory /Volumes/NO NAME/LISA 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh: line 44: exec: /kafka-run-class.sh: cannot execute: No such file or directory jbringhu@jbringhu-mn3 /V/N/L/t/t/m/M/kafka_2.11-0.8.2.2> {noformat} This was discovered during LISA15. After I'm back from the conference, I'll try to edit this and add simple instructions to reproduce (and maybe a patch). was: When spaces are present in the path leading up to kafka-server-start.sh, kafka-server-start.sh has trouble finding kafka-run-class.sh. The path that is executed should be quoted. {noformat} jbringhu@jbringhu-mn3 /V/N/L/t/t/m/M/kafka_2.11-0.8.2.2> /Volumes/NO\ NAME/LISA\ 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh ./config/server.properties usage: dirname path /Volumes/NO NAME/LISA 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh: line 44: /kafka-run-class.sh: No such file or directory /Volumes/NO NAME/LISA 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh: line 44: exec: /kafka-run-class.sh: cannot execute: No such file or directory jbringhu@jbringhu-mn3 /V/N/L/t/t/m/M/kafka_2.11-0.8.2.2> {noformat} > kafka-server-start.sh globbing issue > ------------------------------------ > > Key: KAFKA-2780 > URL: https://issues.apache.org/jira/browse/KAFKA-2780 > Project: Kafka > Issue Type: Bug > Reporter: Jon Bringhurst > > When spaces are present in the path leading up to kafka-server-start.sh, > kafka-server-start.sh has trouble finding kafka-run-class.sh. > The path that is executed should be quoted. > {noformat} > jbringhu@jbringhu-mn3 /V/N/L/t/t/m/M/kafka_2.11-0.8.2.2> /Volumes/NO\ > NAME/LISA\ > 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh > ./config/server.properties > usage: dirname path > /Volumes/NO NAME/LISA > 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh: > line 44: /kafka-run-class.sh: No such file or directory > /Volumes/NO NAME/LISA > 15/training_materials/training-program/materials/M4/kafka_2.11-0.8.2.2/bin/kafka-server-start.sh: > line 44: exec: /kafka-run-class.sh: cannot execute: No such file or directory > jbringhu@jbringhu-mn3 /V/N/L/t/t/m/M/kafka_2.11-0.8.2.2> > {noformat} > This was discovered during LISA15. After I'm back from the conference, I'll > try to edit this and add simple instructions to reproduce (and maybe a patch). -- This message was sent by Atlassian JIRA (v6.3.4#6332)