Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-22786

sql-client can not create .flink-sql-history file

    XMLWordPrintableJSON

Details

    Description

      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) .

      Attachments

        Issue Links

          Activity

            People

              pensz Zhiwen Sun
              pensz Zhiwen Sun
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: