Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 90110 invoked from network); 16 Sep 2009 10:35:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 10:35:23 -0000 Received: (qmail 25965 invoked by uid 500); 16 Sep 2009 10:35:23 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 25905 invoked by uid 500); 16 Sep 2009 10:35:23 -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 25895 invoked by uid 99); 16 Sep 2009 10:35:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 10:35:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 10:35:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A01C234C044 for ; Wed, 16 Sep 2009 03:34:58 -0700 (PDT) Message-ID: <2089034225.1253097298289.JavaMail.jira@brutus> Date: Wed, 16 Sep 2009 03:34:58 -0700 (PDT) From: "Tom White (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-777) A method for finding and tracking jobs from the new API In-Reply-To: <1456065354.1248155954786.JavaMail.jira@brutus> 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-777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755973#action_12755973 ] Tom White commented on MAPREDUCE-777: ------------------------------------- * The number of classes in the old org.apache.hadoop.mapred package is very large and daunting for users of MapReduce. We should only add classes to the new org.apache.hadoop.mapreduce if they are a part of the core public API for MapReduce. Internal classes with public visibility belong in another package. On this basis I would suggest moving (by analogy with HDFS packaging) ** CLI to org.apache.hadoop.mapreduce.tools ** ClientProtocol to org.apache.hadoop.mapreduce.protocol * The Job constructors should be changed to be static factory methods to make Job submission more flexible in future (see https://issues.apache.org/jira/browse/MAPREDUCE-777?focusedCommentId=12746014&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12746014) * Some of the value object classes have setters even though their state should only be read by user code. These are: JobStatus, QueueAclsInfo, QueueInfo, TaskCompletionEvent, TaskReport. These should be made immutable, or have package-private or protected setters. * Cluster has a mixture of methods that return arrays and those that return collections. Can we change them all to be consistent (preferably collections)? * Rename Cluster#getTTExpiryInterval() to the more readable getTaskTrackerExpiryInterval(). * ClusterMetrics#getDeccommisionTrackers() is misspelled and should be getDecommissionedTaskTrackers(). Similarly change the instance variable numDecommisionedTrackers to numDecommissionedTrackers (double 's'). In fact, the get*TaskTrackers() methods would be better called get*TaskTrackerCount() since they don't return tasktracker objects, but a count of those objects. * CLI's usage string refers to JobClient. * JobStatus's javadoc refers to JobProfile, which is in the mapred package so we probably don't want to refer to it. * All public classes need javadoc to explain their role. > A method for finding and tracking jobs from the new API > ------------------------------------------------------- > > Key: MAPREDUCE-777 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-777 > Project: Hadoop Map/Reduce > Issue Type: New Feature > Components: client > Reporter: Owen O'Malley > Assignee: Amareshwari Sriramadasu > Fix For: 0.21.0 > > Attachments: m-777.patch, patch-777-1.txt, patch-777-2.txt, patch-777-3.txt, patch-777-4.txt, patch-777-5.txt, patch-777-6.txt, patch-777-7.txt, patch-777-8.txt, patch-777-9.txt, patch-777.txt > > > We need to create a replacement interface for the JobClient API in the new interface. In particular, the user needs to be able to query and track jobs that were launched by other processes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.