[
https://issues.apache.org/jira/browse/HADOOP-14387?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017503#comment-16017503
]
Jonathan Eagles commented on HADOOP-14387:
------------------------------------------
Thanks for following up with this [[email protected]]. My only last thought is
that there was a jar with a core-site.xml bundled or a core-site.xml in the
classpath by accident. I this does occur, please reopen and I'll be happy to
take another look. I'll re-post the attached patch as HADOOP-14399 to handle
the file:// case correctly. Thanks, again.
> new Configuration().get() fails if core-site.xml isn't on the classpath
> -----------------------------------------------------------------------
>
> Key: HADOOP-14387
> URL: https://issues.apache.org/jira/browse/HADOOP-14387
> Project: Hadoop Common
> Issue Type: Bug
> Components: conf
> Affects Versions: 3.0.0-alpha3
> Environment: test run in downstream project with no core-site in
> test/resources
> Reporter: Steve Loughran
> Assignee: Jonathan Eagles
> Priority: Blocker
> Attachments: HADOOP-14387.1.patch
>
>
> If you try to create a config via {{new Configuration()}} and there isn't a
> {{core-site.xml}} on the CP, you get a stack trace. Previously it'd just skip
> the failure to load.
> This is a regression which breaks downstream apps that don't need a core-site
> to run, but do want to load core-default &c
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]