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

Configuration.loadResource should skip empty resources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Minor
    • Resolution: Unresolved
    • 3.0.0-alpha1
    • None
    • conf
    • None

    Description

      YARN-535 shows that having a 0-byte {yarn-site}} file (created due to the test itself) breaks configuration loads, as it is a default resource that no longer parses.

      The resource loader code skips missing files -it should do the same for 0-byte files.

      Attachments

        1. HADOOP-9453.patch
          4 kB
          Steve Loughran
        2. HADOOP-9453-002.patch
          4 kB
          Steve Loughran

        Issue Links

          Activity

            People

              Unassigned Unassigned
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: