Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id B4B6B200D5C for ; Fri, 1 Dec 2017 01:09:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id AE186160C04; Fri, 1 Dec 2017 00:09:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F3B6E160C01 for ; Fri, 1 Dec 2017 01:09:03 +0100 (CET) Received: (qmail 62774 invoked by uid 500); 1 Dec 2017 00:09:03 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 62763 invoked by uid 99); 1 Dec 2017 00:09:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2017 00:09:03 +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 3659D180797 for ; Fri, 1 Dec 2017 00:09:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id J8BmQ5A3jpjH for ; Fri, 1 Dec 2017 00:09:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 04ED75F1B3 for ; Fri, 1 Dec 2017 00:09:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 730E1E0161 for ; Fri, 1 Dec 2017 00:09:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 341F221064 for ; Fri, 1 Dec 2017 00:09:00 +0000 (UTC) Date: Fri, 1 Dec 2017 00:09:00 +0000 (UTC) From: "Robert Kanter (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6994) Uploader tool for Distributed Cache Deploy code changes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 01 Dec 2017 00:09:04 -0000 [ https://issues.apache.org/jira/browse/MAPREDUCE-6994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16273697#comment-16273697 ] Robert Kanter commented on MAPREDUCE-6994: ------------------------------------------ The 008 patch looks good. Just a few trivial things: - {{beginUpload}} is marked as {{\@VisibleForTesting}} but it's also private and not used in any tests. We should remove the {{\@VisibleForTesting}} - Should we set the default replication to 10? I believe that's what's normally used by the distributed cache. - In {{testArguments}}, did you mean to pass {{"C"}} for the {{"-blacklist"}} argument? - The check if {{targetPath == null}} in {{buildPackage}} seems redundant. {{buildPackage}} already calls {{beginUpload}}, which sets and validates it. In fact, instead of making this a class variable, why not simply have {{beginUpload}} return it or accept it as an argument? It's only ever used in these two methods. > Uploader tool for Distributed Cache Deploy code changes > ------------------------------------------------------- > > Key: MAPREDUCE-6994 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6994 > Project: Hadoop Map/Reduce > Issue Type: Sub-task > Reporter: Miklos Szegedi > Assignee: Miklos Szegedi > Attachments: MAPREDUCE-6994.000.patch, MAPREDUCE-6994.001.patch, MAPREDUCE-6994.002.patch, MAPREDUCE-6994.003.patch, MAPREDUCE-6994.004.patch, MAPREDUCE-6994.005.patch, MAPREDUCE-6994.006.patch, MAPREDUCE-6994.007.patch, MAPREDUCE-6994.008.patch > > > The proposal is to create a tool that collects all available jars in the Hadoop classpath and adds them to a single tarball file. It then uploads the resulting archive to an HDFS directory. This saves the cluster administrator from having to set this up manually for Distributed Cache Deploy. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org