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

FileContext.getFileContext can stack overflow if default fs misconfigured

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.0
    • 2.7.0
    • None
    • None
    • Reviewed

    Description

      If the default filesystem is misconfigured such that it doesn't have a scheme then FileContext.getFileContext(URI, Configuration) will call FileContext.getFileContext(Configuration) which in turn calls the former and we loop until the stack explodes.

      Attachments

        1. HADOOP-11409.002.patch
          5 kB
          Gera Shegalov
        2. HADOOP-11409.001.patch
          3 kB
          Gera Shegalov

        Issue Links

          Activity

            People

              jira.shegalov Gera Shegalov
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: