Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 37399 invoked from network); 6 May 2008 18:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 May 2008 18:37:20 -0000 Received: (qmail 57073 invoked by uid 500); 6 May 2008 18:37:20 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 57043 invoked by uid 500); 6 May 2008 18:37:20 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 57032 invoked by uid 99); 6 May 2008 18:37:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 11:37:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 May 2008 18:36:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF2BD234C107 for ; Tue, 6 May 2008 11:36:55 -0700 (PDT) Message-ID: <923880402.1210099015716.JavaMail.jira@brutus> Date: Tue, 6 May 2008 11:36:55 -0700 (PDT) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3348) TestUrlStreamHandler hangs on LINUX In-Reply-To: <1484714897.1210034517262.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3348?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594671#action_12594671 ] Tsz Wo (Nicholas), SZE commented on HADOOP-3348: ------------------------------------------------ > Besides, I noticed that the less activity (keyboard input, mouse moves, process activities, etc) there is on the machine that runs the test, the longer the test hangs. There are some random number generating algorithms using these activities as input. I am surprise that you could notice the difference (if it is indeed the cause). :) > TestUrlStreamHandler hangs on LINUX > ----------------------------------- > > Key: HADOOP-3348 > URL: https://issues.apache.org/jira/browse/HADOOP-3348 > Project: Hadoop Core > Issue Type: Bug > Components: fs > Affects Versions: 0.18.0 > Environment: LINUX 2.6.9 > Reporter: lohit vijayarenu > Attachments: Datanode_jstack.txt > > > TestUrlStreamHandler sets setURLStreamHandlerFactory as > {noformat} > FsUrlStreamHandlerFactory factory = > new org.apache.hadoop.fs.FsUrlStreamHandlerFactory(); > java.net.URL.setURLStreamHandlerFactory(factory); > {noformat} > After this, MiniDFSCluster seems to hang while Datanodes tries to register in setNewStorageID, specifically at > {noformat} > rand = SecureRandom.getInstance("SHA1PRNG").nextInt(Integer.MAX_VALUE); > {noformat} > jstack output shows that the main thread is stuck in RawLocalFileSystem$LocalFSFileInputStream.read > (Attaching the jstack) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.