Return-Path: X-Original-To: apmail-hadoop-common-commits-archive@www.apache.org Delivered-To: apmail-hadoop-common-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 437AE90B9 for ; Thu, 9 Feb 2012 10:49:26 +0000 (UTC) Received: (qmail 53537 invoked by uid 500); 9 Feb 2012 10:49:25 -0000 Delivered-To: apmail-hadoop-common-commits-archive@hadoop.apache.org Received: (qmail 53135 invoked by uid 500); 9 Feb 2012 10:49:15 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 53116 invoked by uid 500); 9 Feb 2012 10:49:10 -0000 Delivered-To: apmail-hadoop-core-commits@hadoop.apache.org Received: (qmail 53113 invoked by uid 99); 9 Feb 2012 10:49:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 10:49:09 +0000 X-ASF-Spam-Status: No, hits=-1999.5 required=5.0 tests=ALL_TRUSTED,SUBJ_OBFU_PUNCT_FEW,SUBJ_OBFU_PUNCT_MANY X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2012 10:49:08 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 32D2FAAE; Thu, 9 Feb 2012 10:48:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 09 Feb 2012 10:48:48 -0000 Message-ID: <20120209104848.48354.74052@eos.apache.org> Subject: =?utf-8?q?=5BHadoop_Wiki=5D_Update_of_=22topology=5Frack=5Fawareness=5Fsc?= =?utf-8?q?ripts=22_by_QwertyManiac?= Auto-Submitted: auto-generated Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for ch= ange notification. The "topology_rack_awareness_scripts" page has been changed by QwertyManiac: http://wiki.apache.org/hadoop/topology_rack_awareness_scripts?action=3Ddiff= &rev1=3D5&rev2=3D6 Comment: This mixes up levels when default gets into effect. Would cause NPE, so I'v= e changed it to /default/rack for default. done = shift = if [ -z "$result" ] ; then - echo -n "/default-rack " + echo -n "/default/rack " else echo -n "$result " fi