Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7A0B1D738 for ; Tue, 9 Oct 2012 16:26:04 +0000 (UTC) Received: (qmail 42537 invoked by uid 500); 9 Oct 2012 16:26:03 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 42475 invoked by uid 500); 9 Oct 2012 16:26:03 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 42465 invoked by uid 99); 9 Oct 2012 16:26:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 16:26:03 +0000 Date: Tue, 9 Oct 2012 16:26:02 +0000 (UTC) From: "Patrick Hunt (JIRA)" To: dev@lucene.apache.org Message-ID: <1602444308.15234.1349799963121.JavaMail.jiratomcat@arcas> In-Reply-To: <1363366282.9850.1349721602789.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (SOLR-3921) CoreAdminHandler fails when dataDir doesn't exist on local filesystem MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-3921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472514#comment-13472514 ] Patrick Hunt commented on SOLR-3921: ------------------------------------ Hi Hoss Man, sorry about that, I missed SOLR-3665. Per my comment I wasn't really super happy with this fix, but at the same time didn't want to arrive empty handed. Agree with the getting correct info comment, if Mark wants to roll this into SOLR-3911 I'm good with that. I'd be happy to try providing a DirectoryFactory based fix if he doesn't. > CoreAdminHandler fails when dataDir doesn't exist on local filesystem > --------------------------------------------------------------------- > > Key: SOLR-3921 > URL: https://issues.apache.org/jira/browse/SOLR-3921 > Project: Solr > Issue Type: Bug > Components: web gui > Affects Versions: 4.0-BETA > Reporter: Patrick Hunt > Assignee: Patrick Hunt > Priority: Critical > Fix For: 4.1, 5.0 > > Attachments: SOLR-3921.patch > > > CoreAdminHandler.getIndexSize calls FileUtils.sizeOfDirectory which throws unhandled IllegalArgumentException when dataDir doesn't exist on the local filesystem. As a result the webapp gui "hangs" (never displays any result). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org