HBASE-10318. generate-hadoopX-poms.sh expects the version to have one extra '-' (Raja Aluri)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1557301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7a1f0d7b49
commit
1431c22a07
|
@ -70,7 +70,7 @@ if [[ "$#" -ne 2 ]]; then usage; fi
|
||||||
old_hbase_version="$1"
|
old_hbase_version="$1"
|
||||||
new_hbase_version="$2"
|
new_hbase_version="$2"
|
||||||
# Get hadoop version from the new hbase version
|
# Get hadoop version from the new hbase version
|
||||||
hadoop_version=`echo "$new_hbase_version" | sed -n 's/.*-\(hadoop[12]\)-.*/\1/p'`
|
hadoop_version=`echo "$new_hbase_version" | sed -n 's/.*-\(hadoop[12]\).*/\1/p'`
|
||||||
if [[ -z $hadoop_version ]]; then usage ; fi
|
if [[ -z $hadoop_version ]]; then usage ; fi
|
||||||
|
|
||||||
# Get dir to operate in
|
# Get dir to operate in
|
||||||
|
|
Loading…
Reference in New Issue