flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chesnay Schepler (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (FLINK-10441) Log initial creation of upload directory on INFO
Date Sat, 27 Apr 2019 20:08:00 GMT

     [ https://issues.apache.org/jira/browse/FLINK-10441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chesnay Schepler closed FLINK-10441.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

master: 74dc90953b300b657a66a86fe16a02d12db7f885

> Log initial creation of upload directory on INFO 
> -------------------------------------------------
>
>                 Key: FLINK-10441
>                 URL: https://issues.apache.org/jira/browse/FLINK-10441
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / REST
>            Reporter: Ufuk Celebi
>            Assignee: Ji Liu
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.9.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{RestServerEndpoint.createUploadDir(Path, Logger)}} logs a warning if the upload directory
does not exist.
> {code}
> 2018-09-26 15:32:31,732 WARN  org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint
   - Upload directory /var/folders/hr/cxn1_2y52qxf5nzyfq9h2scw0000gn/T/flink-web-2218b898-f245-4edf-b181-8f3bdc6014f3/flink-web-upload
does not exist, or has been deleted externally. Previously uploaded files are no longer available.
> {code}
> I found this warning confusing as it is always logged when relying on the default configuration
(via {{WebOptions}}) that picks a random directory.
> Ideally, our default configurations should not result in warnings to be logged.
> Therefore, I propose to log the creation of the web directory on {{INFO}} instead of
the warning.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message