Failure to create directory should show directory name
Description
Release Notes
None
Activity
Show:
NitinM June 9, 2020 at 1:40 AM
Closing jiras older than 2+ years of not being updated.
Won't Fix
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee
Sagar Kapare
Sagar KapareReporter
Chris Gianelloni
Chris GianelloniLabels
Affects versions
Components
Priority
Created August 12, 2015 at 6:32 PM
Updated December 9, 2020 at 8:58 PM
Resolved June 9, 2020 at 1:40 AM
Ran into an issue in the 3.0.3 SDK. It failed to create a directory, and gave the following error. However, nowhere in the error does it say which directory.
2015-08-12 18:29:08,824 - ERROR [main:c.c.c.StandaloneMain@303] - Failed to start Standalone CDAP com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Couldn't create directory for generated conf files for the UI at com.google.common.util.concurrent.Futures.wrapAndThrowUnchecked(Futures.java:1015) ~[co.cask.cdap.cdap-explore-jdbc-3.0.3.jar:na] at com.google.common.util.concurrent.Futures.getUnchecked(Futures.java:1001) ~[co.cask.cdap.cdap-explore-jdbc-3.0.3.jar:na] at com.google.common.util.concurrent.AbstractService.startAndWait(AbstractService.java:220) ~[co.cask.cdap.cdap-explore-jdbc-3.0.3.jar:na] at com.google.common.util.concurrent.AbstractExecutionThreadService.startAndWait(AbstractExecutionThreadService.java:154) ~[co.cask.cdap.cdap-explore-jdbc-3.0.3.jar:na] at co.cask.cdap.StandaloneMain.startUp(StandaloneMain.java:178) ~[co.cask.cdap.cdap-standalone-3.0.3.jar:na] at co.cask.cdap.StandaloneMain.main(StandaloneMain.java:300) ~[co.cask.cdap.cdap-standalone-3.0.3.jar:na]
I would expect to see something more like "Failed to create directory /foo/bar/baz for generated..."