Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 10793 invoked from network); 18 Mar 2011 05:12:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Mar 2011 05:12:55 -0000 Received: (qmail 95311 invoked by uid 500); 18 Mar 2011 05:12:55 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 95271 invoked by uid 500); 18 Mar 2011 05:12:54 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 95262 invoked by uid 99); 18 Mar 2011 05:12:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 05:12:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 05:12:51 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E09293AF5F4 for ; Fri, 18 Mar 2011 05:12:29 +0000 (UTC) Date: Fri, 18 Mar 2011 05:12:29 +0000 (UTC) From: "Tom White (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1737018019.11105.1300425149916.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (MAPREDUCE-1638) Divide MapReduce into API and implementation source trees MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated MAPREDUCE-1638: --------------------------------- Attachment: MAPREDUCE-1638.patch MAPREDUCE-1638.sh Here's a patch to get started. The script moves the MapReduce server classes into another source tree (leaving them in the same package). Compiling the remaining classes we can see which dependencies of the API on the implementation still need to be taken care of. Summarizing the compilation errors: * ClusterStatus depends on JobTracker.State. Covered by MAPREDUCE-2337 * CLI depends on HistoryViewer. Fix: Declare a public API for JobHistory. * Cluster depends on JobTracker, LocalJobRunner, JobHistory. Fix: Introduce a factory using ServiceLoader. * Application (Pipes) depends on TaskLog. * DistributedCache depends on TaskController, MRAsyncDiskService. > Divide MapReduce into API and implementation source trees > --------------------------------------------------------- > > Key: MAPREDUCE-1638 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1638 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: build, client > Reporter: Tom White > Assignee: Tom White > Attachments: MAPREDUCE-1638.patch, MAPREDUCE-1638.sh > > > I think it makes sense to separate the MapReduce source into public API and implementation trees. The public API could be broken further into kernel and library trees. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira