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

Jark Wu commented on FLINK-22786:
---------------------------------

Please only fix SQL Client. I'm not sure if other places are also the problem 
and they should be disucssed separately. 

> sql-client can not create .flink-sql-history file
> -------------------------------------------------
>
>                 Key: FLINK-22786
>                 URL: https://issues.apache.org/jira/browse/FLINK-22786
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>    Affects Versions: 1.12.2
>            Reporter: Zhiwen Sun
>            Priority: Major
>
> When I run sql-client.sh, I find a warning 
> Unable to create history file: /home/www/.flink-sql-history 
> In fact, the user I used have permission to write /home/www/.
> After debug sql-client.sh. I think this is a bug in 
> org.apache.flink.table.client.cli.CliUtils#createFile
> Files.notExists(parent) should be run before Files.createDirectories(parent) .



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to