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

FileSystem initialization can go into infinite loop

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.0.3-alpha
    • Component/s: fs
    • Labels:
      None

      Description

      More information is there: https://jira.springsource.org/browse/SHDP-111

      Referenced source code from example is: https://github.com/SpringSource/spring-hadoop/blob/master/src/main/java/org/springframework/data/hadoop/configuration/ConfigurationFactoryBean.java

      from isolating that cause it looks like if you register: org.apache.hadoop.fs.FsUrlStreamHandlerFactory before calling FileSystem.loadFileSystems() then it goes into infinite loop.

        Attachments

        1. fsinit6.txt
          3 kB
          Radim Kolar
        2. fsinit5.txt
          3 kB
          Radim Kolar
        3. fsinit4.txt
          3 kB
          Radim Kolar
        4. fsinit3.txt
          3 kB
          Radim Kolar
        5. TestFileSystem.java
          0.7 kB
          Yanbo Liang
        6. fsinit2.txt
          3 kB
          Radim Kolar
        7. HADOOP-9041.patch
          3 kB
          Yanbo Liang
        8. fsinit-unit.txt
          2 kB
          Radim Kolar
        9. HADOOP-9041.patch
          0.9 kB
          Yanbo Liang
        10. fstest.groovy
          0.6 kB
          Radim Kolar

          Activity

            People

            • Assignee:
              hsn Radim Kolar
              Reporter:
              hsn Radim Kolar
            • Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: