[
https://issues.apache.org/jira/browse/FLINK-9631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-9631:
----------------------------------
Labels: auto-unassigned stale-minor (was: auto-unassigned)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Minor but is unassigned and neither itself nor its Sub-Tasks have been updated
for 180 days. I have gone ahead and marked it "stale-minor". If this ticket is
still Minor, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> use Files.createDirectories instead of directory.mkdirs
> -------------------------------------------------------
>
> Key: FLINK-9631
> URL: https://issues.apache.org/jira/browse/FLINK-9631
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / State Backends
> Affects Versions: 1.4.2, 1.5.0
> Environment: flink1.4
> jdk1.8 latest
> linux 2.6
> Reporter: makeyang
> Priority: Minor
> Labels: auto-unassigned, stale-minor
>
> job can't be run due to below exception:
> {color:#6a8759}Could not create RocksDB data directory{color}
> but with this exception, I can't tell exactly why.
> so I suggest Files.createDirectories which throw exception be used rather
> than File.mkdirs
>
> I have some more suggestions:
> # should we use Files.createDirectories to relpace File.mkdirs?
> # each time task manager throw exception to jobmanager, should IP+nodeId be
> contained in exception, which means we should define more flink exception
> which is used to wrap other exceptions such as jdk exceptions?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)