Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 73731 invoked from network); 6 Feb 2007 14:30:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 14:30:07 -0000 Received: (qmail 46793 invoked by uid 500); 6 Feb 2007 14:30:07 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 46756 invoked by uid 500); 6 Feb 2007 14:30:07 -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 46728 invoked by uid 99); 6 Feb 2007 14:30:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 06:30:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2007 06:29:59 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 25C58410950 for ; Tue, 6 Feb 2007 06:29:38 -0800 (PST) Message-ID: <18417124.1170772178152.JavaMail.jira@brutus> Date: Tue, 6 Feb 2007 06:29:38 -0800 (PST) From: "Alejandro Abdelnur (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-983) Adding -ll & -llr options to 'hadoop dfs', listing # replicas, block size, # of blocks and size In-Reply-To: <4708387.1170772168191.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-983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated HADOOP-983: -------------------------------------- Attachment: ll.patch adding 'll' and 'llr' commands > Adding -ll & -llr options to 'hadoop dfs', listing # replicas, block size, # of blocks and size > ----------------------------------------------------------------------------------------------- > > Key: HADOOP-983 > URL: https://issues.apache.org/jira/browse/HADOOP-983 > Project: Hadoop > Issue Type: Improvement > Components: dfs > Affects Versions: 0.11.0 > Environment: All > Reporter: Alejandro Abdelnur > Priority: Minor > Attachments: ll.patch > > > An 'ls' output currently is: > ----- > noidea:~ tucu$ hadoop dfs -ls a 100000-5kb IN > Found 7 items > /user/tucu/a/output1-m-00000 330750 > /user/tucu/a/output1-m-00001 351471 > /user/tucu/a/output2-m-00000 523350 > /user/tucu/a/output2-m-00001 506893 > /user/tucu/a/output3-m-00000 684390 > /user/tucu/a/output3-m-00001 687714 > /user/tucu/a/part-00000 5235319 > Found 2 items > /user/tucu/100000-5kb/part-00000 257950067 > /user/tucu/100000-5kb/part-00001 257938957 > Found 1 items > /user/tucu/IN/a.txt 2 > ----- > The new 'll' output is: > ----- > noidea:~ tucu$ hadoop dfs -ll a 100000-5kb IN > Found 7 items > hdfs://localhost:9000/user/tucu/a: > output1-m-00000 322.99 k > output1-m-00001 343.23 k > output2-m-00000 511.08 k > output2-m-00001 495.01 k > output3-m-00000 668.34 k > output3-m-00001 671.59 k > part-00000 4.99 MB > Found 2 items > hdfs://localhost:9000/user/tucu/100000-5kb: > part-00000 246.00 MB > part-00001 245.98 MB > Found 1 items > hdfs://localhost:9000/user/tucu/IN: > a.txt 2 > ----- > Where is the block size ( - if the file is 1 block or less) and is the number of blocks the file has. > The size is converted to the closest unit and the path of the file is display header style. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.