Details

    • Type: Bug
    • Status: Closed
    • Priority: 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)

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: