Added: 
dev/incubator/heron/heron-0.20.4-incubating-candidate-1/heron-install-0.20.4-incubating-centos7.sh
==============================================================================
--- 
dev/incubator/heron/heron-0.20.4-incubating-candidate-1/heron-install-0.20.4-incubating-centos7.sh
 (added)
+++ 
dev/incubator/heron/heron-0.20.4-incubating-candidate-1/heron-install-0.20.4-incubating-centos7.sh
 Thu May 13 13:19:22 2021
@@ -0,0 +1,2762411 @@
+#!/bin/bash -e
+# Copyright 2015 The Bazel Authors. All rights reserved.
+#
+# Licensed 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.
+
+function set_untar_flags {
+  # Some tar implementations emit verbose timestamp warnings, allowing the 
ability to disable them
+  # via --warning=no-timestamp (which we want to do in that case). To find out 
if we have one of
+  # those implementations, we see if help returns an error for that flag.
+  SUPPRESS_TAR_TS_WARNINGS="--warning=no-timestamp"
+  tar $SUPPRESS_TAR_TS_WARNINGS --help &> /dev/null && 
TAR_X_FLAGS=$SUPPRESS_TAR_TS_WARNINGS
+  # echo this so function doesn't return 1
+  echo $TAR_X_FLAGS
+}
+
+# Untars a gzipped archived to an output dir. Lazily creates dir if it doesn't 
exit
+function untar {
+  if (( $# < 2 )); then
+    echo "Usage: untar <tar_file> <output_dir>" >&2
+    echo "Args passed: $@" >&2
+    exit 1
+  fi
+  [ -d "$2" ] || mkdir -p $2
+  tar xfz $1 -C $2 $TAR_X_FLAGS
+}
+
+function test_write() {
+  local file="$1"
+  while [ "$file" != "/" ] && [ -n "${file}" ] && [ ! -e "$file" ]; do
+    file="$(dirname "${file}")"
+  done
+  [ -w "${file}" ] || {
+    echo >&2
+    echo "The Heron installer must have write access to $1!" >&2
+    echo >&2
+    usage
+  }
+}
+
+# Test for unzip dependencies
+function check_unzip() {
+  if ! which unzip >/dev/null; then
+    echo >&2
+    echo "unzip not found, please install the corresponding package." >&2
+    echo "See $getting_started_url for more information on" >&2
+    echo "dependencies of Heron." >&2
+    exit 1
+  fi
+}
+
+# Test for tar dependencies
+function check_tar() {
+  if ! which tar >/dev/null; then
+    echo >&2
+    echo "tar not found, please install the corresponding package." >&2
+    echo "See $getting_started_url for more information on" >&2
+    echo "dependencies of Heron." >&2
+    exit 1
+  fi
+}
+
+# Test for java dependencies
+function check_java() {
+  if [ -z "${JAVA_HOME-}" ]; then
+    case "$(uname -s | tr 'A-Z' 'a-z')" in
+      linux)
+        JAVA_HOME="$(readlink -f $(which java) 2>/dev/null | sed 
's_/bin/java__')" || true
+        BASHRC="~/.bashrc"
+        ;;
+      freebsd)
+        JAVA_HOME="/usr/local/openjdk8"
+        BASHRC="~/.bashrc"
+        ;;
+      darwin)
+        JAVA_HOME="$(/usr/libexec/java_home -v ${JAVA_VERSION}+ 2> /dev/null)" 
|| true
+        BASHRC="~/.bash_profile"
+        ;;
+    esac
+  fi
+  if [ ! -x "${JAVA_HOME}/bin/java" ]; then
+    echo >&2
+    echo "Java not found, please install the corresponding package" >&2
+    echo "See $getting_started_url for more information on" >&2
+    echo "dependencies of Heron." >&2
+    exit 1
+  fi
+}
+
+set_untar_flags
+
+# Copyright 2015 The Bazel Authors. All rights reserved.
+#
+# Licensed 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.
+
+# Heron self-extractable installer for client package
+
+# Set help URL
+getting_started_url=https://heron.incubator.apache.org/docs/getting-started-local-single-node/
+
+# Installation and etc prefix can be overriden from command line
+install_prefix=${1:-"/usr/local/heron"}
+
+progname="$0"
+
+echo "Heron installer"
+echo "---------------"
+echo
+
+function usage() {
+  echo "Usage: $progname [options]" >&2
+  echo "Options are:" >&2
+  echo "  --prefix=/some/path set the prefix path (default=/usr/local)." >&2
+  echo "  --user configure for user install, expands to" >&2
+  echo '           `--prefix=$HOME/.heron`.' >&2
+  exit 1
+}
+
+prefix="/usr/local"
+bin="%prefix%/bin"
+base="%prefix%/heron"
+conf="%prefix%/heron/conf"
+
+for opt in "${@}"; do
+  case $opt in
+    --prefix=*)
+      prefix="$(echo "$opt" | cut -d '=' -f 2-)"
+      ;;
+    --user)
+      bin="$HOME/bin"
+      base="$HOME/.heron"
+      ;;
+    *)
+      usage
+      ;;
+  esac
+done
+
+bin="${bin//%prefix%/${prefix}}"
+base="${base//%prefix%/${prefix}}"
+
+check_unzip; check_tar; check_java
+
+# Test for write access
+test_write "${bin}"
+test_write "${base}"
+
+# Do the actual installation
+echo -n "Cleaning up symlinks in ${bin}, if present."
+
+# Cleaning-up, with some guards.
+if [ -L "${bin}/heron" ]; then
+  rm -f "${bin}/heron"
+fi
+
+if [ -L "${bin}/heron-explorer" ]; then
+  rm -f "${bin}/heron-explorer"
+fi
+
+if [ -L "${bin}/heron-tracker" ]; then
+  rm -f "${bin}/heron-tracker"
+fi
+
+if [ -L "${bin}/heron-ui" ]; then
+  rm -f "${bin}/heron-ui"
+fi
+
+if [ -L "${bin}/heron-apiserver" ]; then
+  rm -f "${bin}/heron-apiserver"
+fi
+
+if [ -d "${base}" -a -x "${base}/bin/heron" ]; then
+  rm -fr "${base}"
+fi
+
+mkdir -p ${bin} ${base} ${base}/etc
+echo "..done"
+
+echo -n "Uncompressing heron package."
+unzip -q -o "${BASH_SOURCE[0]}" -d "${base}"
+untar ${base}/heron.tar.gz ${base}
+echo "..done"
+chmod 0755 ${base}/bin/heron
+chmod 0755 ${base}/bin/heron-explorer
+chmod 0755 ${base}/bin/heron-tracker
+chmod 0755 ${base}/bin/heron-ui
+chmod 0755 ${base}/bin/heron-apiserver
+chmod -R og-w "${base}"
+chmod -R og+rX "${base}"
+chmod -R u+rwX "${base}"
+
+ln -s "${base}/bin/heron" "${bin}/heron"
+ln -s "${base}/bin/heron-explorer" "${bin}/heron-explorer"
+ln -s "${base}/bin/heron-tracker" "${bin}/heron-tracker"
+ln -s "${base}/bin/heron-ui" "${bin}/heron-ui"
+ln -s "${base}/bin/heron-apiserver" "${bin}/heron-apiserver"
+
+echo -n "Uncompressing heron core."
+untar ${base}/dist/heron-core.tar.gz ${base}/dist
+echo "..done"
+
+rm "${base}/heron.tar.gz"
+rm -f "${base}/dist/release.yaml"
+
+cat <<EOF
+
+Heron is now installed!
+
+Make sure you have "${bin}" in your path.
+
+See ${getting_started_url} for how to use Heron.
+EOF
+echo
+cat <<'EOF'
+heron.build.version : '0.20.4-incubating-rc1'
+heron.build.time : Mon May 10 03:02:25 UTC 2021
+heron.build.timestamp : 1620616182000
+heron.build.host : asf938.gq1.ygridcore.net
+heron.build.user : jenkins
+heron.build.git.revision : 0.20.4-incubating-rc1
+heron.build.git.status : Clean
+EOF
+exit 0
+PKÀá÷
æ6n #ÈÉÝԁ~Û]EUK^Rh
vø©nvÿ]
r¼7ØÃ"vz;»Ù­!;™[Ylî�Ó¦hç¯ÍÊûçþ4¸ap+ThUOÒ06•6’ÈpûuCÒ,ûñÇ 
€oÍíô?‚‡Ë“Ú+ñg°ÝòzÉìr±Uº>YY>(z†ÄýaX§™ 
™%<Õ¼T”Ó2Ё_éƒã+9«ÒÐ;TȺ‚²ô¥Åš³÷Nڋ™„påX0€þ«{°àìJ#öe±Þp
+ë§×¯ü’{À!_XËð~D'Ÿ¹€ëöٛW 
ƒ¹åÛö×ëÃæ/ÞåöøßàrÊté¿¿YÀüÈ0šésîžpŸ{žõ¼\jÔ¶=Uº3eùàµ%YɄɹ쮇\Ô9€ó]0Á¦÷
?›¼5ʰþ9kEÐܮ嶎†ÇõÒ5ü[¶Yá¬=NÿM¨  
à4¦û’L¡Ó<?Ž3x¯”–,Œ¢¦‚&JIG‰–U3#MŒ™€*²bζS|*†10ôE0gfßP®'õ£K-‘‡˜˜³ß¦¿ëòÁh”iaۛdxc‡9±FòŒ–æÇQØ5
+±éöšùãŽü•Câ.,ìË>àˆíkØxpÔ'†Í;¬i^<ò÷)ò턪XF+;ýϵÛmžÏØS¥±îmjW      
-[äáÅcž˜
+V0ïEÌ©Äÿ ®î‡vޓ߁µ•ËFjéöæ‰fqJی ôÁ1U
+yðÍÁìô5Upv÷¤óós0µ²ãð¯+úKNY”±iòC¡ˆÉxéˆUqe¡qU‰ÖŠÉ7îY¾‹DŸ×=‹âìEGw¶TÍE½Òá}X<
+“—^xHȑ§è(®—´è|Æ*Nrö!F¾2„hm
+½/â¬a¼à¦×U²1³[FýŒoñ#£ð
¿-÷Ü,É5sw=Cµìâ¤zð—»&ö=£ºVOoƒAD¥Ëo¨×©>Nu¯åZ)4XÃüèВ¼­‰É¾ô
+sû¸›3{¸O™'è¤#FÒrkÃh†ëïešÖª[ê’î,ÒxçOù1!”¶ÁšZéÚÀ“ܤòåÛ,¾ÕºA½0nÏ/ȒÜÛôKº+»
s:â÷}¯Õ‘%ü7Z¸yˆ£·Î2Ö¢FÖ`j•v¤®E³Èiê3š›¿f‹´/"Ð5î¨UdÕ˜‰}ٖT,µ>è¼X?´Çš 
|‚±û$²ß×%ÁoIí`W’Lˆ3ô-aß°Àn‰ín¡’4Þ|¬(ങ…–ëÁFð0ùš§.“ˆ/ÇÊ 
ÙKÃ!,YÌÁþzc؃†Øf=ý9K6HӍdÀâ¢óWºñfÖµl®ïÍR÷¯êÌ%3g{?ÓØ¢ïPS`;6YÈ5­r›®Ò··hrmEÕ!`b@÷¬›Í¼¦+GO8g°L
…
u¦A,}ñãNݸÛjJ´¤zZÛÛéåz^‚x_-–¥üÉYjÍɔÂÞ=µ4ÀÛ+Mèê©Å?`òäv×ì²F˜„ô¸b2å<l×ÕfîG'/—^Ô.‰ˆ
 N×卐¶Ô‰>åf•œÚ
Ÿ1Ýý2ÛÐmO(>ºvzºLsYݞÀ–íqäå3»zîÁ{»™{
¾"&¾¢}в%o8{HXRâßÒ©"ééÿlZ8ä¿LUڜˆ­¯„Ó�ÿvÐ#þ¥_ã·‰l]ÿ6µŒ•ÿŸM 
šIÊCºlÌMF*ýÃÌiˆuØeß¾X6"ƒAÿáYÒA¡ÔLzl'ÙÃV,×_]SR²°¸Kà*²0<,‡½GpCç=õ;ªu[ƒ8üº©çµìã¸ú‹mÃËÿƦ§0¢mä
T9ˆ-2²ÌœºaäžøKÇqbåLYŠe 8_ƒIwBè@šu~¸‚"€å 
T-}ŽÀõ“oy”¨{¾Så?ruEM•]QÿˆhœRœ2¾_8"—‡?F³Y/̀R”$™ÀÖCô[y×µ¯GãЭ>äV«“j­A*ÁT¤ÊLEA%U.´[+;£fÌCƒ±TÜFêJ©q#V`¡ÀHԋç¤?5$¯ã~¡;4Vdhçùuj/â³)ùæÐ@H¹v‘hnpýÕuââû@-=CŽï
+é%ðÓªÚ&ön]­*Á6—У2…ÈRÛM¸G¬d        *ÿû„Z2øTz¨©nêù8³iˆê'µi+kz}NØD¡Z¯-YÔ
+%!‘kö!ú�±¿`ÖØõ=ÛÂø½ïÛh¾
îë\DjCˆ<×OÙȼ«·ä2´á0öAæŒ&"5bb?ËĀ!NêŠ#×ñ÷é4&uèB[‹Ä‹‰™f+gùUq²ÂQ|Ÿì©ç©™!Œ:™£ºIÆ!1½=>_¤ÓA;¢Î‚Óg¦$Át`qŠÍ*žCîq¼ª]ÕÁˆ&ÕÝ}P¸Ezƒ¨ïf–
ážÌ.šR9\ҘEjŽèdg25‹¬šFXÇÇÛQ@ƒr4ºŒJۋæPd}wØè
å
k¢
”M>Ï5 (‰÷¤Óº·ÑŠ¡–yVÜóœÖÛþÚFúø)Á1ïÒÌ¿dM     `bGÃðö»f²åø(
Jk2Þ»ÎBùlKØì¯Üä]/ƒ—dE×I]ò¢Üy
€Åª‘{Òî.÷ðöܘ±wôlÇOŒ…T-à†È¶£¡)3ùÜÕ혆Óá ^2/ºùv0ÒQË,$ŒšÕдŽ|
p
ë 
ÎCÍB¯Qüææ$0µ}dE“±È0HÉèÁëgڐ-·^»E“}–;íD±O‡6M]£¤^AUr1À{'ãNo[7hw½~–ÖO¸™ésþï¹ÆC‘ö¡w˶KÈà¹]´-ÓàÓS?!NGÈæà>ÎÌÜ¢QßzËäš6m^Á]e¢Õ™$OÌ#ùƙk“q•‘7ÖKè;ewJ”ã
 ô]ÉP›²f€Þ£*,Ðû̚çÜ”+yáKÝÙJ;J§íòNÙÄwfŒ\^Ô`Zi`@d:r½¶qЦ^“lNDÕ[M`
=݁ëÂG†ÜÐ:ÁÃYî!‹RKY€ÙvXŸ¥"­jr{W¹V¼ZC´3òëWß°ÿ]yw·ÂÀÀ†9GÎÂ9Š—w¤­ÌpИøô­jTÎL¾=8Ðæ^¨Û³.ê,íæ—c„ñŠÀý”9=é3èEˆ”ÄfœF䔦xó!‰”x¤ŽÜÞg–•™5Ã'dƒ
 q{Ä—]usOf×ÙOIÅó1šX,³ç98KÓóý¥-  
í+Vmÿc%[êdˆ–wDí¬Ò[eh˰¾Ëho©írÃQèÒ+€¿_Sì1ÞFV|°«4ð1‘÷
û†€çÆä4݄RG€¼VAžý×`õjªû’0ô8Á׬ɇÀX\1XïÑaŠ…¦Bv³Ûèð{£xŠÔå8G 
œ¬8µÞzY‘ŠdS&¬®…&°ŸÎ}%Ç?ŸÛEýƒä~d±=l»½ïð”¶%ӌú”#g–z)+€X0Bƈa…+ÐÌq0e¼èX
ìýv€
+(ì—T`øK^¸„üRRøŸ"ÃWãþ…
åàV+A%ô±Ì?D'ÿC±LßÈ´'øƒùJ³’ð^Ût¶nƟ|pËá•ÛŸ£ŸgD?øBòüÍãá™kHß$5ÿJòÔ£䓠
peñJújҞk0uM¥=×h%àFíû°ZÛ¶bQG4²Ü³“°?´3.5´£ÏÔ]ö|*¶G]g¿{€šŸmÒr“j¤á;Û¨‰Ûº4ì¹Ûx{».ópì
…¤çXñ>0ñ(Zvø°¾c¶ÃLüäè¶&·Ð_†

Reply via email to