Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 36A8B200C5A for ; Tue, 18 Apr 2017 12:08:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 35426160B90; Tue, 18 Apr 2017 10:08:46 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7CB23160BA1 for ; Tue, 18 Apr 2017 12:08:45 +0200 (CEST) Received: (qmail 88902 invoked by uid 500); 18 Apr 2017 10:08:44 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 88893 invoked by uid 99); 18 Apr 2017 10:08:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2017 10:08:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 2E2E7D2ACC for ; Tue, 18 Apr 2017 10:08:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id iI6L_qQVUG2w for ; Tue, 18 Apr 2017 10:08:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id F0AF25FDCB for ; Tue, 18 Apr 2017 10:08:42 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 230E8E081E for ; Tue, 18 Apr 2017 10:08:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A0B9521B47 for ; Tue, 18 Apr 2017 10:08:41 +0000 (UTC) Date: Tue, 18 Apr 2017 10:08:41 +0000 (UTC) From: "Chesnay Schepler (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FLINK-6317) History server - wrong default directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Apr 2017 10:08:46 -0000 [ https://issues.apache.org/jira/browse/FLINK-6317?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Chesnay Schepler updated FLINK-6317: ------------------------------------ Component/s: (was: Web Client) History Server > History server - wrong default directory > ---------------------------------------- > > Key: FLINK-6317 > URL: https://issues.apache.org/jira/browse/FLINK-6317 > Project: Flink > Issue Type: Bug > Components: History Server > Affects Versions: 1.3.0 > Reporter: Lorenz B=C3=BChmann > Priority: Minor > Labels: easyfix > > When the history server is started without a directory specified in the c= onfiguration file, it will use some random directory located in the Java Te= mp directory. Unfortunately, a file separator is missing: > {code:title=3DHistoryServer.java@L139-L143|borderStyle=3Dsolid} > String webDirectory =3D config.getString(HistoryServerOptions.HISTORY_SER= VER_WEB_DIR); > if (webDirectory =3D=3D null) { > =09webDirectory =3D System.getProperty("java.io.tmpdir") + "flink-web-his= tory-" + UUID.randomUUID(); > } > webDir =3D new File(webDirectory); > {code} > It should be=20 > {code} > webDirectory =3D System.getProperty("java.io.tmpdir") + File.separator + = "flink-web-history-" + UUID.randomUUID(); > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)