You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yingjie Cao (Jira)" <ji...@apache.org> on 2022/11/03 07:31:00 UTC

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

    [ https://issues.apache.org/jira/browse/FLINK-29573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17628157#comment-17628157 ] 

Yingjie Cao commented on FLINK-29573:
-------------------------------------

[~kriswang] Thanks for reporting this issue, do you know if this issue also exists in newer flink version?

> 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
>            Priority: Major
>
> {{ 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:\xxxxx\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:\xxxxx\flink-1.14.4\bin\bash-java-utils.jar_ 
>  



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