Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.4.0
-
None
-
None
Description
ResourceUtils.listResourceIds can throw an exception for any missing config, not just `amount`.
val index = key.indexOf('.') if (index < 0) { throw new SparkException(s"You must specify an amount config for resource: $key " + s"config: $componentName.$RESOURCE_PREFIX.$key") }