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

History server - wrong default directory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.3.0
    • Component/s: History Server
    • Labels:

      Description

      When the history server is started without a directory specified in the configuration file, it will use some random directory located in the Java Temp directory. Unfortunately, a file separator is missing:

      HistoryServer.java@L139-L143
      String webDirectory = config.getString(HistoryServerOptions.HISTORY_SERVER_WEB_DIR);
      if (webDirectory == null) {
      	webDirectory = System.getProperty("java.io.tmpdir") + "flink-web-history-" + UUID.randomUUID();
      }
      webDir = new File(webDirectory);
      

      It should be

      webDirectory = System.getProperty("java.io.tmpdir") + File.separator +  "flink-web-history-" + UUID.randomUUID();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                LorenzB Lorenz Bühmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: