Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 30575 invoked from network); 28 Jun 2006 21:13:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2006 21:13:11 -0000 Received: (qmail 22062 invoked by uid 500); 28 Jun 2006 21:13:11 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 22031 invoked by uid 500); 28 Jun 2006 21:13:10 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 22007 invoked by uid 99); 28 Jun 2006 21:13:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 14:13:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Jun 2006 14:13:10 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1D58C410124 for ; Wed, 28 Jun 2006 21:11:34 +0000 (GMT) Message-ID: <15262406.1151529094116.JavaMail.jira@brutus> Date: Wed, 28 Jun 2006 21:11:34 +0000 (GMT+00:00) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-226) DFSShell problems. Incorrect block replication detection in fsck. In-Reply-To: <24430703.1147903865906.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-226?page=all ] Doug Cutting updated HADOOP-226: -------------------------------- Fix Version: 0.5.0 (was: 0.4.0) > DFSShell problems. Incorrect block replication detection in fsck. > ----------------------------------------------------------------- > > Key: HADOOP-226 > URL: http://issues.apache.org/jira/browse/HADOOP-226 > Project: Hadoop > Type: Bug > Components: dfs > Versions: 0.2.0 > Environment: All > Reporter: Konstantin Shvachko > Fix For: 0.5.0 > > 1. We need to adjust Dfsck to the new per-file replication feature. > fsck checks block replication based on the configured global replication parameter. > Which is now just the default. The actual file replication is returned in DFSFileInfo. > So at least the reporting is screwed by that, although I didn't check what will happen with > other options -move and -delete. > 2. fsck throws NullPointerException if you type > bin/hadoop fsck -files /doc > instead of > bin/hadoop fsck /doc -files > 3. Unfortunately, there are several commands that throw different kinds of Exceptions > rather than at least printing the usage info, when some of its arguments are missing or > misplaced. ArrayIndexOutOfBoundsException is one them. Try > bin/hadoop dfs -mv > bin/hadoop dfs -cp > bin/hadoop dfs -rm > 4. In general the shell is growing and getting more sophisticated. > Should we work out a general convention on how the parameters should be structured, named, > short/long version of the keywords, help, etc. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira