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

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Cannot Reproduce
    • 3.0.0-alpha4
    • None
    • conf
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: