Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 28269DF6D for ; Fri, 12 Oct 2012 05:59:13 +0000 (UTC) Received: (qmail 32167 invoked by uid 500); 12 Oct 2012 05:59:08 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 32075 invoked by uid 500); 12 Oct 2012 05:59:08 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 32024 invoked by uid 99); 12 Oct 2012 05:59:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 05:59:07 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [106.10.150.175] (HELO nm40.bullet.mail.sg3.yahoo.com) (106.10.150.175) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 05:58:59 +0000 Received: from [106.10.166.122] by nm40.bullet.mail.sg3.yahoo.com with NNFMP; 12 Oct 2012 05:58:35 -0000 Received: from [106.10.167.137] by tm11.bullet.mail.sg3.yahoo.com with NNFMP; 12 Oct 2012 05:58:35 -0000 Received: from [127.0.0.1] by smtp110.mail.sg3.yahoo.com with NNFMP; 12 Oct 2012 05:58:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1350021515; bh=dTdEj8dGzHHZptVIXr7d03RKTN8cgtkfDn2tVr3Gq+U=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=UDr4dbmFeuzUOQqgZRC0zn8Yb1+hMjfRmnqV1weAfsVRc1VvD+Xwv+CH0Um0jEVMQp5/82d/qhBaLMyUN9AZQ/h1SxMLEswr2YKwpLNIdIFUfw2AxUpT4lyxxKcnFs6nXd9ptylH+srjN0jGvjWWJpDahi569HO7nzqu7R4Zp2c= X-Yahoo-Newman-Id: 42761.18972.bm@smtp110.mail.sg3.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: tpwD2QYVM1nzN90bXN.4yWhQHJiMeU72idqna1WywYoBYjd k.WaczntDsiZ35sCyJOjS28egNiLvjZF9IHM8FLQWW4vRBCzkJFhpWKKLuAL nEPfdP0IsUPjFwi2kFr3ay6vWmwq5SDlLJdg2CYHqO4H9leBH6RcdOTqdnnm rMUPmBELF6_A2qCCTjea.Sjny0uEGKPpv6CE_BW5G4V56vm9FEMizp.Gs9E1 Y1oOOCdjjvkmqWf8iWl3x4j6TwIfcegApD6FdT9J4ggxCsLsAJ1oH2HWRmRe itDj._01FgvN8CuEr1oyM32p3kC0BZnZsTUazGtVvkY.4xQQLcmWzJaSXJ7a r6gDhq57wrveWmKjjaCx9Bc9wtl7ybP.sseOWqd_CCfs1HvYH7TvMNhYY5W1 nCbFR9LLbMlEprpz7dWQiQi3_epR1H3yVO03aXFdPBiBBrwWRXJhf36OJgBT mNCM18wxteTHlJfd.PsarNcITe5MNPDpNRHS12P5utfNq.4NwmWQXsfKmQ_7 6iVHq8507UFTLJMplJwSTmBeZxutyrqL4iSe7ggrCJUxMIMCpm6FKOD3tDpM MSfo1QG1tGsK0G1dKS4t46CxkhGwsXw27F5LDkaEcA8a7kjkgLcaLAOyGMo8 QHEkRdKS36K6TnWLfeYsXGlH9oCJv X-Yahoo-SMTP: gJPwWGuswBAxhChkHcgX.6fmZ4PilUr1 Received: from [192.168.1.104] (gongsuochen@222.44.222.89 with plain) by smtp110.mail.sg3.yahoo.com with SMTP; 11 Oct 2012 22:58:34 -0700 PDT Message-ID: <5077B187.2070704@yahoo.com.cn> Date: Fri, 12 Oct 2012 13:58:31 +0800 From: gschen User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: user@hadoop.apache.org CC: Alexander Hristov Subject: Re: Hadoop Archives under 0.23 References: <506A85B3.90501@planetalia.com> <506AE863.2030305@uci.cu> <506B177E.9020109@planetalia.com> In-Reply-To: <506B177E.9020109@planetalia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 于 2012/10/3 0:34, Alexander Hristov 写道: > According to hdfs, -lsr is deprecated and -ls -R is to be used > instead. In any case, it doesn't matter as the result is exactly the > same. > >> >> El 02/10/2012 2:12, Alexander Hristov escribió: >>> Hello >>> >>> I'm trying to test the Hadoop archive functionality under 0.23 and I >>> can't get it working. >>> >>> I have in HDFS a /test folder with several text files. I created a >>> hadoop archive using >>> >>> hadoop archive -archiveName test.har -p /test *.txt /sample >>> >>> Ok, this creates a /sample/test.har with the appropriate parts >>> (_index, _SUCCESS,_masterindex,part-0). Performing a cat on _index >>> shows the texts files. >>> However, when I try to even list the contents of the HAR file using >>> >>> hdfs dfs -ls -R har:///sample/test.har >> The right command to do this is: >> hdfs dfs -lsr har:///sample/test.har >> >>> >>> I simply get "har:///sample/test.har : No such file or directory"! WTF? >>> >>> Accessing the individual files does work, however: >>> >>> hdfs dfs -cat har:///sample/test.har/file.txt >>> >>> works >>> >>> Regards >>> >>> Alexander >>> >>> >>> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS >>> INFORMATICAS... >>> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION >>> >>> http://www.uci.cu >>> http://www.facebook.com/universidad.uci >>> http://www.flickr.com/photos/universidad_uci >> > > unsubscribe