Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14387

new Configuration().get() fails if core-site.xml isn't on the classpath

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.0.0-alpha4
    • Fix Version/s: None
    • Component/s: conf
    • Labels:
      None
    • Environment:

      test run in downstream project with no core-site in test/resources

      Description

      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

        Attachments

        1. HADOOP-14387.1.patch
          4 kB
          Jonathan Turner Eagles

          Issue Links

            Activity

              People

              • Assignee:
                jeagles Jonathan Turner Eagles
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: