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

FileSystem initialization can go into infinite loop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.0.3-alpha
    • fs
    • 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. fsinit2.txt
          3 kB
          Radim Kolar
        2. fsinit3.txt
          3 kB
          Radim Kolar
        3. fsinit4.txt
          3 kB
          Radim Kolar
        4. fsinit5.txt
          3 kB
          Radim Kolar
        5. fsinit6.txt
          3 kB
          Radim Kolar
        6. fsinit-unit.txt
          2 kB
          Radim Kolar
        7. fstest.groovy
          0.6 kB
          Radim Kolar
        8. HADOOP-9041.patch
          3 kB
          Yanbo Liang
        9. HADOOP-9041.patch
          0.9 kB
          Yanbo Liang
        10. TestFileSystem.java
          0.7 kB
          Yanbo Liang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: