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 ED9C8180CE for ; Fri, 9 Oct 2015 10:51:43 +0000 (UTC) Received: (qmail 17680 invoked by uid 500); 9 Oct 2015 10:51:40 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 17548 invoked by uid 500); 9 Oct 2015 10:51:39 -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 17499 invoked by uid 99); 9 Oct 2015 10:51:39 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Oct 2015 10:51:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 2754B180A6C for ; Fri, 9 Oct 2015 10:51:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.979 X-Spam-Level: ** X-Spam-Status: No, score=2.979 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id dWaSOnf2THQq for ; Fri, 9 Oct 2015 10:51:37 +0000 (UTC) Received: from SNT004-OMC2S50.hotmail.com (snt004-omc2s50.hotmail.com [65.54.61.101]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 8C2212074F for ; Fri, 9 Oct 2015 10:51:37 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com ([65.55.90.72]) by SNT004-OMC2S50.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 9 Oct 2015 03:51:31 -0700 Received: from CY1PR13MB0218.namprd13.prod.outlook.com (10.163.92.20) by CY1PR13MB0219.namprd13.prod.outlook.com (10.163.92.21) with Microsoft SMTP Server (TLS) id 15.1.300.9; Fri, 9 Oct 2015 10:51:30 +0000 Received: from CY1PR13MB0218.namprd13.prod.outlook.com ([10.163.92.20]) by CY1PR13MB0218.namprd13.prod.outlook.com ([10.163.92.20]) with mapi id 15.01.0300.010; Fri, 9 Oct 2015 10:51:30 +0000 From: James Teng To: "user@hadoop.apache.org" Subject: Use java api for hadoop files archive. Thread-Topic: Use java api for hadoop files archive. Thread-Index: AQHRAoBuR6CfCKZtXEmciN3pSvzW9g== Date: Fri, 9 Oct 2015 10:51:29 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: hadoop.apache.org; dkim=none (message not signed) header.d=none;hadoop.apache.org; dmarc=none action=none header.from=outlook.com; x-tmn: [CKCQIWIayl3ZKis2GdI6D6vKY7JMWOLY] x-microsoft-exchange-diagnostics: 1;CY1PR13MB0219;23:x5w2SgS8sxXIjb1KOp4+6/GBCuVGumIhsdeULZy9NMjiga4MPseVEp7gXd3aZkCzeRzXojhx5DA9uEesvCRvFlPLKVpee0nCp8wmno9Gp31Us3PkOdUp3c67gkMWIwGgXmT1ATYGI8b15fI3imI4uvUWrblSefJ/S73y4osTVlTPV1SLoZdnyq5lcV1Ku+JdDXNGT00wRaIkYjUKkMkD5A==;5:1VnPmqXmTi8rWvGUYiXoCySogqdPVTJBxktU8flxXLls37NikhVRou6A7GVCUqYy7Bnv955xZjvwsAMoBMbOPlE3riSI/pOHr7/7lTyD2XBeZuC3FfJWxGPFH8MNp1d92afEVgP2sUzCdg2xC7yC6A==;24:IbluGSvZpB6R3GFWrd2RH2C1MvVTpZdu2fDjzxNuon9ijK5apww3n6f4a6leE4vdQaO8KcbDnDQh7miTX3NfBI68pKlDC41+lDHB7vFyXzA=;20:gFTeefBxUG1tJtOwLUgWwgF2hsMiqYTdV0+6ahsTUbl83HXHcXY6QNiqfOJtA5KB5QFy7YOjPYlAxK2b7m8QHQ== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR13MB0219; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(432015012)(82015046);SRVR:CY1PR13MB0219;BCL:0;PCL:0;RULEID:;SRVR:CY1PR13MB0219; x-forefront-prvs: 0724FCD4CD x-forefront-antispam-report: SFV:NSPM;SFS:(7070004)(98900002);DIR:OUT;SFP:1901;SCL:1;SRVR:CY1PR13MB0219;H:CY1PR13MB0218.namprd13.prod.outlook.com;FPR:;SPF:None;LANG:en; spamdiagnosticoutput: 1:23 spamdiagnosticmetadata: NSPM Content-Type: multipart/alternative; boundary="_000_CY1PR13MB02187909B2880277C5CBBB18B0340CY1PR13MB0218namp_" MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2015 10:51:29.9934 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR13MB0219 X-OriginalArrivalTime: 09 Oct 2015 10:51:31.0340 (UTC) FILETIME=[750E5CC0:01D10280] --_000_CY1PR13MB02187909B2880277C5CBBB18B0340CY1PR13MB0218namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, i would like to archive lots of old files into har format, but i don't want= to use the shell command `hadoop archive` offered. is there api defined f= or files archiving? i would like to know the api for archive reading as wel= l, so i can access the files archived in the har file. thanks uknow. --_000_CY1PR13MB02187909B2880277C5CBBB18B0340CY1PR13MB0218namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all,

i would like to archive lots of old files into har format, but i = don't want to use the shell command `hadoop archive` offered.  is ther= e api defined for files archiving? i would like to know the api for archive= reading as well, so i can access the files archived in the har file.

thanks

uknow.
--_000_CY1PR13MB02187909B2880277C5CBBB18B0340CY1PR13MB0218namp_--