From 8baec07689e9f74b119c28291f7162fbfa778a2f Mon Sep 17 00:00:00 2001 From: Chris Nauroth Date: Fri, 27 May 2016 14:09:56 -0700 Subject: [PATCH] HADOOP-13193. Upgrade to Apache Yetus 0.3.0. Contributed by Kengo Seki. (cherry picked from commit da074771977fe3de8acea441b096291c96cf59d9) (cherry picked from commit 03c6854c3064b2035b3ba3b1c5f5fd0d76c495f8) --- dev-support/bin/qbt | 18 ++++++++++++++++++ dev-support/bin/yetus-wrapper | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 dev-support/bin/qbt diff --git a/dev-support/bin/qbt b/dev-support/bin/qbt new file mode 100644 index 00000000000..fe5e6f68927 --- /dev/null +++ b/dev-support/bin/qbt @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +# 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. + +BINDIR=$(cd -P -- "$(dirname -- "${BASH_SOURCE-0}")" >/dev/null && pwd -P) +exec "${BINDIR}/yetus-wrapper" qbt --project=hadoop --skip-dir=dev-support "$@" diff --git a/dev-support/bin/yetus-wrapper b/dev-support/bin/yetus-wrapper index 7c4655052e6..f0eee9e9e6d 100755 --- a/dev-support/bin/yetus-wrapper +++ b/dev-support/bin/yetus-wrapper @@ -63,7 +63,7 @@ WANTED="$1" shift ARGV=("$@") -HADOOP_YETUS_VERSION=${HADOOP_YETUS_VERSION:-0.2.0} +HADOOP_YETUS_VERSION=${HADOOP_YETUS_VERSION:-0.3.0} BIN=$(yetus_abs "${BASH_SOURCE-$0}") BINDIR=$(dirname "${BIN}")