blob: 27af4d110bfc7e5649040c0037b38ef7aef261c0 [file] [log] [blame]
Till Westmannea8ab392013-06-05 15:17:08 -07001#/*
2# Copyright 2009-2013 by The Regents of the University of California
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# you may obtain a copy of the License from
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#*/
ramangrover29116eb972013-02-20 20:47:35 +000015WORKING_DIR=$1
16HADOOP_VERSION=$2
17HDFS_URL=$3
18HDFS_PATH=$4
19export HADOOP_HOME=$WORKING_DIR/hadoop-$HADOOP_VERSION
20echo "$HADOOP_HOME/bin/hadoop fs -rmr $HDFS_URL/$HDFS_PATH"
21$HADOOP_HOME/bin/hadoop fs -rmr $HDFS_URL/$HDFS_PATH