Return-Path: Delivered-To: apmail-hadoop-chukwa-commits-archive@minotaur.apache.org Received: (qmail 84243 invoked from network); 19 Jun 2009 18:25:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Jun 2009 18:25:21 -0000 Received: (qmail 97104 invoked by uid 500); 19 Jun 2009 18:25:33 -0000 Delivered-To: apmail-hadoop-chukwa-commits-archive@hadoop.apache.org Received: (qmail 97093 invoked by uid 500); 19 Jun 2009 18:25:33 -0000 Mailing-List: contact chukwa-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: chukwa-dev@hadoop.apache.org Delivered-To: mailing list chukwa-commits@hadoop.apache.org Received: (qmail 97083 invoked by uid 99); 19 Jun 2009 18:25:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 18:25:32 +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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2009 18:25:25 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0C1012388892; Fri, 19 Jun 2009 18:25:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r786612 - /hadoop/chukwa/branches/chukwa-0.2/bin/backfill.sh Date: Fri, 19 Jun 2009 18:25:04 -0000 To: chukwa-commits@hadoop.apache.org From: asrabkin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090619182505.0C1012388892@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: asrabkin Date: Fri Jun 19 18:25:04 2009 New Revision: 786612 URL: http://svn.apache.org/viewvc?rev=786612&view=rev Log: CHUKWA-194. Backfill script (contributed by Jerome Boulon) Added: hadoop/chukwa/branches/chukwa-0.2/bin/backfill.sh Added: hadoop/chukwa/branches/chukwa-0.2/bin/backfill.sh URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.2/bin/backfill.sh?rev=786612&view=auto ============================================================================== --- hadoop/chukwa/branches/chukwa-0.2/bin/backfill.sh (added) +++ hadoop/chukwa/branches/chukwa-0.2/bin/backfill.sh Fri Jun 19 18:25:04 2009 @@ -0,0 +1,22 @@ +#!/bin/sh +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +bin=`dirname "$0"` +bin=`cd "$bin"; pwd` +. "$bin"/chukwa-config.sh + + ${JAVA_HOME}/bin/java -Djava.library.path=${JAVA_LIBRARY_PATH} -DCHUKWA_HOME=${CHUKWA_HOME} -DCHUKWA_CONF_DIR=${CHUKWA_CONF_DIR} -DCHUKWA_LOG_DIR=${CHUKWA_LOG_DIR} -DAPP=backfill -Dlog4j.configuration=chukwa-log4j.properties -classpath ${CHUKWA_CONF_DIR}:${CLASSPATH}:${CHUKWA_CORE}:${HADOOP_JAR}:${COMMON}:${tools} org.apache.hadoop.chukwa.tools.backfilling.BackfillingLoader $@