[jira] [Commented] (FLINK-1832) start-local.bat/start-local.sh does not work if there is a white space in the file path (windows)
[ https://issues.apache.org/jira/browse/FLINK-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14484907#comment-14484907 ] ASF GitHub Bot commented on FLINK-1832: --- Github user asfgit closed the pull request at: https://github.com/apache/flink/pull/575 start-local.bat/start-local.sh does not work if there is a white space in the file path (windows) - Key: FLINK-1832 URL: https://issues.apache.org/jira/browse/FLINK-1832 Project: Flink Issue Type: Bug Components: Local Runtime Affects Versions: 0.8.1 Environment: Windows 8.1 Reporter: Nikolaas Steenbergen Priority: Minor start-local.bat can be run, but exits immediately. start-local.sh with cygwin exits with error: owner_@owner /cygdrive/e/Program Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin $ ./start-local.sh cygpath: error converting Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin/.. - No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory cygpath: error converting /cygdrive/e/Program:Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin/../lib/*.jar:. - Unknown error -1 ./start-local.sh: line 27: E:\Program/bin/jobmanager.sh: No such file or directory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-1832) start-local.bat/start-local.sh does not work if there is a white space in the file path (windows)
[ https://issues.apache.org/jira/browse/FLINK-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14482901#comment-14482901 ] Maximilian Michels commented on FLINK-1832: --- Thanks for reporting this. Looks like an easy fix. start-local.bat/start-local.sh does not work if there is a white space in the file path (windows) - Key: FLINK-1832 URL: https://issues.apache.org/jira/browse/FLINK-1832 Project: Flink Issue Type: Bug Components: Local Runtime Affects Versions: 0.8.1 Environment: Windows 8.1 Reporter: Nikolaas Steenbergen Priority: Minor start-local.bat can be run, but exits immediately. start-local.sh with cygwin exits with error: owner_@owner /cygdrive/e/Program Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin $ ./start-local.sh cygpath: error converting Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin/.. - No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory cygpath: error converting /cygdrive/e/Program:Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin/../lib/*.jar:. - Unknown error -1 ./start-local.sh: line 27: E:\Program/bin/jobmanager.sh: No such file or directory -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLINK-1832) start-local.bat/start-local.sh does not work if there is a white space in the file path (windows)
[ https://issues.apache.org/jira/browse/FLINK-1832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14483878#comment-14483878 ] ASF GitHub Bot commented on FLINK-1832: --- GitHub user fhueske opened a pull request: https://github.com/apache/flink/pull/575 [FLINK-1832] Fix start scripts for Cygwin and paths with spaces A few fixes for the start and submission scripts. Right now they fail for: - all scripts fail on Cygwin - `./bin/flink` fails on Unix for Flink root paths that contain spaces Also, some duplicated code is removed. Fixes should be backported to 0.8 as well. You can merge this pull request into a Git repository by running: $ git pull https://github.com/fhueske/flink cygwin Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/575.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #575 commit dc9af9249c8fc1c8817ed73c90c0fa048130c7ba Author: Maximilian Michels m...@apache.org Date: 2015-04-07T10:56:12Z [FLINK-1832] [scripts] fix conversion to Windows path with spaces commit f20b4827c0d1fb49fd5c6773eeb05ac5540eab4b Author: Fabian Hueske fhue...@apache.org Date: 2015-04-07T18:59:44Z [FLINK-1832] [scripts] fix start scripts for Cygwin and paths with spaces. start-local.bat/start-local.sh does not work if there is a white space in the file path (windows) - Key: FLINK-1832 URL: https://issues.apache.org/jira/browse/FLINK-1832 Project: Flink Issue Type: Bug Components: Local Runtime Affects Versions: 0.8.1 Environment: Windows 8.1 Reporter: Nikolaas Steenbergen Priority: Minor start-local.bat can be run, but exits immediately. start-local.sh with cygwin exits with error: owner_@owner /cygdrive/e/Program Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin $ ./start-local.sh cygpath: error converting Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin/.. - No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory sed: can't read E:\Program/conf/flink-conf.yaml: No such file or directory cygpath: error converting /cygdrive/e/Program:Files/flink-0.8.1-bin-hadoop2/flink-0.8.1-bin-hadoop2/flink-0.8.1/bin/../lib/*.jar:. - Unknown error -1 ./start-local.sh: line 27: E:\Program/bin/jobmanager.sh: No such file or directory -- This message was sent by Atlassian JIRA (v6.3.4#6332)