[
https://issues.apache.org/jira/browse/FLINK-22786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17356139#comment-17356139
]
Jark Wu edited comment on FLINK-22786 at 6/3/21, 3:48 AM:
----------------------------------------------------------
Fixed in
- master: bf56611cd19be57b9dbd3c66e7e30b97d0f77632
- release-1.13: df0ae16bbd3ecb59203d30fe88571ead598788b4
was (Author: jark):
Fixed in
- master: bf56611cd19be57b9dbd3c66e7e30b97d0f77632
-release-1.13: TODO
> 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
> Assignee: Zhiwen Sun
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.14.0
>
>
> 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)