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

Configuration: Included properties are not cached if resource is a stream

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.10.0, 3.2.0, 3.0.4, 3.1.2, 2.9.3
    • None
    • None
    • Reviewed

    Description

      If a configuration resource is a bufferedinputstream and the resource has an included xml file, the properties from the included file are read and stored in the properties of the configuration, but they are not stored in the resource cache. So, if a later resource is added to the config and the properties are recalculated from the first resource, the included properties are lost.

      Attachments

        1. HADOOP-15973.001.patch
          4 kB
          Eric Payne
        2. HADOOP-15973.002.patch
          10 kB
          Eric Payne
        3. HADOOP-15973.003.patch
          10 kB
          Eric Payne
        4. HADOOP-15973.003.branch-3.0.patch
          10 kB
          Eric Payne
        5. HADOOP-15973.003.branch-2.patch
          6 kB
          Eric Payne

        Issue Links

          Activity

            People

              epayne Eric Payne
              epayne Eric Payne
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: