You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "kris wang (Jira)" <ji...@apache.org> on 2022/10/10 17:05:00 UTC

[jira] [Created] (FLINK-29573) Flink does not work for windows if installing on other drive except for C drive

kris wang created FLINK-29573:
---------------------------------

             Summary: Flink does not work for windows if installing on other drive except for C drive
                 Key: FLINK-29573
                 URL: https://issues.apache.org/jira/browse/FLINK-29573
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Configuration
    Affects Versions: 1.14.4
            Reporter: kris wang


{{ flink_service.bat }}--> {{flink_inner.bat }}--> {{start-cluster.sh }}-->{{{}config.sh{}}}
The {{config.sh}} which is under the _*D:\xxxxx\flink-1.14.4\bin*_ (Flink’s directory)
has _**_ {{runBashJavaUtilsCmd()}} --> the current derived value of {{class_path}} after mangling the Path is
*D;C:\xxxxx\flink-1.14.4\bin\bash-java-utils.jar;D:\PlatformAnalytics\flink-1.14.4\lib\flink-dist_2.12-1.14.4.jar*

Here, {{runBashJavaUtilsCmd()}} internally sets {{class_path}} by calling a function called {{manglePathList}} 
{{manglePathList}} is causing this behavior where
_:\xxxxx\flink-1.13.5/bin/bash-java-utils.jar_ is getting converted to _C:\PlatformAnalytics\flink-1.14.4\bin\bash-java-utils.jar_ 
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)