HADOOP-13193. Upgrade to Apache Yetus 0.3.0. Contributed by Kengo Seki.
(cherry picked from commit da07477197
)
This commit is contained in:
parent
0b1472fbc0
commit
03c6854c30
|
@ -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 "$@"
|
|
@ -63,7 +63,7 @@ WANTED="$1"
|
||||||
shift
|
shift
|
||||||
ARGV=("$@")
|
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}")
|
BIN=$(yetus_abs "${BASH_SOURCE-$0}")
|
||||||
BINDIR=$(dirname "${BIN}")
|
BINDIR=$(dirname "${BIN}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue