You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Raghav Kumar Gautam (Jira)" <ji...@apache.org> on 2021/01/22 01:02:29 UTC
[jira] [Commented] (FLINK-21079) Fink startup fails when $JAVA_HOME
have space
[ https://issues.apache.org/jira/browse/FLINK-21079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17269739#comment-17269739 ]
Raghav Kumar Gautam commented on FLINK-21079:
---------------------------------------------
The problem is that $JAVA_RUN in flink-daemon.sh is unquoted which leads to splitting by bash.
> Fink startup fails when $JAVA_HOME have space
> ---------------------------------------------
>
> Key: FLINK-21079
> URL: https://issues.apache.org/jira/browse/FLINK-21079
> Project: Flink
> Issue Type: Bug
> Environment: osx
> Reporter: Raghav Kumar Gautam
> Priority: Major
>
> Here is the error that I am seeing:
> {code}
> raghavg-xxx:flink-1.9.3 raghavg$ rm -rf log/; mkdir log; ./bin/start-cluster.sh; ./bin/stop-cluster.sh; cat log/*
> Starting cluster.
> Starting standalonesession daemon on host raghavg-xxx.
> Starting taskexecutor daemon on host raghavg-xxx.
> No taskexecutor daemon (pid: 71303) is running anymore on raghavg-xxx.
> No standalonesession daemon (pid: 70898) is running anymore on raghavg-xxx.
> /Users/raghavg/Uber/flink-1.9.3/bin/flink-daemon.sh: line 127: /Library/Internet: No such file or directory
> /Users/raghavg/Uber/flink-1.9.3/bin/flink-daemon.sh: line 127: /Library/Internet: No such file or directory
> {code}
> My JVM_HOME has space in it.
> {code}
> raghavg-xxx-1.9.3 raghavg$ ls -al "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home"
> total 608
> drwxr-xr-x 12 root wheel 384 Nov 18 2019 .
> drwxr-xr-x 10 root wheel 320 Nov 18 2019 ..
> -rw-r--r-- 1 root wheel 3244 Oct 5 2019 COPYRIGHT
> -rw-r--r-- 1 root wheel 44 Oct 5 2019 LICENSE
> -rw-r--r-- 1 root wheel 46 Oct 5 2019 README
> -rw-r--r-- 1 root wheel 116468 Sep 11 2019 THIRDPARTYLICENSEREADME-JAVAFX.txt
> -rw-r--r-- 1 root wheel 170063 Oct 5 2019 THIRDPARTYLICENSEREADME.txt
> -rw-r--r-- 1 root wheel 955 Oct 5 2019 Welcome.html
> drwxr-xr-x 17 root wheel 544 Nov 18 2019 bin
> drwxr-xr-x 101 root wheel 3232 Nov 18 2019 lib
> drwxr-xr-x 5 root wheel 160 Jul 4 2019 man
> -rw-r--r-- 1 root wheel 427 Oct 5 2019 release
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)