Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.18.0
    • Fix Version/s: 0.18.0
    • Component/s: fs
    • Labels:
      None
    • Environment:

      LINUX 2.6.9

    • Hadoop Flags:
      Reviewed

      Description

      TestUrlStreamHandler sets setURLStreamHandlerFactory as

      FsUrlStreamHandlerFactory factory =
              new org.apache.hadoop.fs.FsUrlStreamHandlerFactory();
          java.net.URL.setURLStreamHandlerFactory(factory);
      

      After this, MiniDFSCluster seems to hang while Datanodes tries to register in setNewStorageID, specifically at

      rand = SecureRandom.getInstance("SHA1PRNG").nextInt(Integer.MAX_VALUE);
      

      jstack output shows that the main thread is stuck in RawLocalFileSystem$LocalFSFileInputStream.read

      (Attaching the jstack)

      1. HADOOP-3348.patch
        1 kB
        Lohit Vijayarenu
      2. Datanode_jstack.txt
        23 kB
        Lohit Vijayarenu
      3. 3348-2nd-option.patch
        0.6 kB
        Raghu Angadi

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Lohit Vijayarenu
            Reporter:
            Lohit Vijayarenu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development