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)