You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Andrey (JIRA)" <ji...@apache.org> on 2017/05/11 12:41:04 UTC

[jira] [Commented] (FLINK-6541) Jar upload directory not created

    [ https://issues.apache.org/jira/browse/FLINK-6541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006342#comment-16006342 ] 

Andrey commented on FLINK-6541:
-------------------------------

Temp directory do not auto-created as well.
{code}
java.io.IOException: Temporary file directory /mnt/flink/tmp does not exist.
	at org.apache.flink.runtime.taskmanager.TaskManager$$anonfun$checkTempDirs$1.apply(TaskManager.scala:2454)
{code}

> Jar upload directory not created
> --------------------------------
>
>                 Key: FLINK-6541
>                 URL: https://issues.apache.org/jira/browse/FLINK-6541
>             Project: Flink
>          Issue Type: Bug
>    Affects Versions: 1.2.0
>            Reporter: Andrey
>
> Steps to reproduce:
> * setup configuration property: jobmanager.web.tmpdir = /mnt/flink/web
> * this directory should not exist
> * Run flink job manager.
> * in logs: 
> {code}
> 2017-05-11 12:07:58,397 ERROR org.apache.flink.runtime.webmonitor.WebMonitorUtils           - WebServer could not be created [main]
> java.io.IOException: Jar upload directory /mnt/flink/web/flink-web-3f2733c3-6f4c-4311-b617-1e93d9535421 cannot be created or is not writable.
> {code}
> Expected:
> * create parent directories if they do not exit. i.e. use "uploadDir.mkdirs()" instead of "uploadDir.mkdir()"
> Note:
> * BlobServer create parent directories (See BlobUtils storageDir.mkdirs())



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)