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

Configuration tries to read from an inputstream resource multiple times.

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2, 0.23.3, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: conf
    • Labels:
      None

      Description

      If someone calls Configuration.addResource(InputStream) and then reloadConfiguration is called for any reason, Configruation will try to reread the contents of the InputStream, after it has already closed it.

      This never showed up in 1.0 because the framework itself does not call addResource with an InputStream, and typically by the time user code starts running that might call this, all of the default and site resources have already been loaded.

      In 0.23 mapreduce is now a client library, and mapred-site.xml and mapred-default.xml are loaded much later in the process.

        Attachments

        1. HADOOP-8573.txt
          8 kB
          Robert Joseph Evans
        2. HADOOP-8573.txt
          8 kB
          Robert Joseph Evans
        3. HADOOP-8573.txt
          7 kB
          Robert Joseph Evans

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              revans2 Robert Joseph Evans Assign to me
              Reporter:
              revans2 Robert Joseph Evans

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment