Added: 
dev/incubator/heron/heron-0.20.3-incubating-candidate-9/heron-install-0.20.3-incubating-centos7.sh
==============================================================================
--- 
dev/incubator/heron/heron-0.20.3-incubating-candidate-9/heron-install-0.20.3-incubating-centos7.sh
 (added)
+++ 
dev/incubator/heron/heron-0.20.3-incubating-candidate-9/heron-install-0.20.3-incubating-centos7.sh
 Wed Jan 20 14:57:19 2021
@@ -0,0 +1,2736039 @@
+#!/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.3-incubating-rc9'
+heron.build.time : Sun Jan 17 15:12:09 UTC 2021
+heron.build.timestamp : 1610896957000
+heron.build.host : asf933.gq1.ygridcore.net
+heron.build.user : jenkins
+heron.build.git.revision : 0.20.3-incubating-rc9
+heron.build.git.status : Clean
+EOF
+exit 0
+PKÌ@ 
[‹3#¨ý6»¼‚ª´¨8ÐÌÒæ§º©¥óïj/Ë»[ºX¼ˆX:Ý희f/3™šZþ\ØÈhi÷rÃö73^ôœ@æFN¦/Øþ²°ƒ§“¥¹
…ðå@¿pš…¥ÃËjª?ýP‘ø‹)οÏûÇ¢/~zÚ»þáÆßyüÇFÐÕÿàFVFf õ‹À‹Ùƒd4|¿)Ûyíì]€/´ô·¹ 
ƒË‹­/fÙ:ØXٙüTþó¿®ðb ÖsØ»½ˆýæÐÞìïŀF./Ê/¿@ …
‹‹/“»»;£ÑoÆ2Ú;™3ýÅ;&ٗ-•Wgx1øw
5;³óË69ºZ:½ì­±'ÐÈáÅ #ã3mŒÜî·øüö
ܝ,r%ý‹²ó_"ÿ÷ÑùÛnýź§ÿ^àe¿Œ~††LX(­BV‘V¡jH«J)¨©5„••…åU¥ÅU€
+Ê@Qy1iUiù—žPX^ëEñ´¼=ô²W/
<œ~zðb¦åϝ™þÝú‹?Èïáqvf8‡÷ôC1aǕWÒxˆi´æuhnx§söë¨o&ˆâm(Wê-«»,°th²o†£5cÙ,-¯Út³ßGBÆÀAë!»ŒÇ‰sŽ„<#Ùp}B݃ü"u††ªñH™ª4Æ5ZF-Iõ
Öu- k¸¥1°Ö‰
OˆËo8o~þBifÔܯ¨µÑ}æ‘ëáþゥïÃs÷øqôÍÇvÕØfÄ|Ì2­F½ü¬A]ž=£+‹´Ñê`X$g–ÒæòUÊ#å3HÀYV
       çCÆÌÒô>,½·äX&H½”‹…k†–ì:y™“T|#í›u#ÏM½ù`ÝóSÒo40A7èS(ùµgýâ
£Sâ5)øáë%gOö{HùÓBNAýPíiNOZÚ¢A•?ö™Ã͏[è÷ùq]…
!–ö.(ŒÀ]1R?i}£Ðu+º’^oà3#R\d=H!Yra<tw0âÐ㼐q~®wºvR¸¡ƒ’‹¹Ãù3ìZ}z 
À�ðéà†Ü¶oúëmÇ«{!ˆ· 
Îï''5§‰ÎãOÞÍÙܕíæ–í¯Áà²ÅUYJâ”öV¬sÌëðF·ƒ—Þu!.ÙôKGw†oÍ^ˆ“g.;þîsŠ€ÝñÛ³>(úœª»/°)y4;Ú.r?Ã´•Oj“¥ý
 ¼¦H†’¨UR±ãâ5ò<tVï»
üñÆÛéjöa½x;–§;ûáfw¢'=ÿ1JêÐÖXÁ,˜ÿñiƒQïB2S9=2rÚó&®=÷☳Õ{œ” ‚ލ[R_xN¢^ 
¹îþœÈë¼N7>aìÄ3Ò`u|&8`cÞ×ÉJš«Ä(ù{_h¸ìòCùÙÊä9Oóôv.ʞóT(gËA£¢NM"ù…
vbܗBIsbþô±Äg,l£C1
+Ĺ·-õ”¼—L:
+N¯`A¹ßå¹'‰ZU½*ƒÍè‘ZÎdpù7ç:   E1‰sæâ¤§‘+¿,ʅ
Oe¶Ÿ¸r3„̾Vs£Œ%·@„˜`ñÌáëïØ‡xSGk'™‰é$û©M!L¿Ãò#ÛWò%^
æ;uiîÏ»kÁŒÁ:„ãhF§~øÕa­ÇKeÂÐãã8ά
[êç‹Ü,¤õ\ŽAâ˜55ˆ8&[ø¶U=œJ;p¸DýmRKDž9¥²BtžJIqb4†ýf‘´î·Uˆ"èr"èè §²K´êœ'¤ 
    ñ⁃ÃÒ¶Â ‰ Ô2ŽIgÝ
ÃþÊëùw¥á„±“¶²ƒß‘d]L[ιbå]õŠ?¥rÈXWX|�óSÐMñƒ¥-Á#šÙÊR–¦ÞDJf‡†Ç6¥Úóäænq   
Y!åX£ÆŠ®ÃI¨6îÞá‡ÏÉÌv(ڂU(dIR
·2y¢øÝ@pÕÂ`ÍuÔÆ0ŒžiEÍú&]ŠÖð„dV¤ògf¤ÇÒ@KÜL‡·z ɕˆrö•í¤$Ñà‚Òþž;Œuç± 
ásÇ9¤išÆbûǬt<ܲìñð\”ˆŒ_ЄaŸQj÷%nn؆=l‘›4·^ºZ;„ 
—í’j7Š,!M~)ÄNÇíÄ-’Sa¯¤ÅÇY]OA1¶îuŸ
¾¼–ûšôþà¥ëhזŠ´×—ç°¹‘7*§†Ý𕋇JÆÔþ‹uƒ¿Ä&ŽŒ*ò’×F·Á
Óº|/âüŽˆz¶­ù—ߥm}©ž`CÓ)f±ÿ]Æuþ³É#twÚ¼¤cH
íÊ_M›o@®Æ¿½>[Ô^å™V-\ÎΝ4q½.¶C-Ų%§>šÑÔÍàÆ)Eþû(
§æ›=
Ü[˜BðEèßÿáXý~ƒ0˜
«%TG+G½nY…ÖÝ>^ù»ÄZŒYY_¬š¼·=à.C†5Pí 
Ž].ýýìd„@vÕݏ4’ðtD?àpàVx¡¶Fªž÷¼@“q.¡˜ÃèÚÉn°    
v湨`M𩳍ÏQ+ÇҎÚ|³Ð³RÓ7)ӑµC 
®Ï}‚¤7”´ën‘yNh”áAƒº7¡”ÝÞ6‘ƒ.ç[}=nÉ}ЦÃÙ]…ᇫßâì!÷º´dhúfñЀPŒì!Ïg´8t
€,ùr¾ë.ËX§Š)cÜÈnXT:KÏÇ MÆƗGÚü=6È+Ñ` åh×Ú=Ç(Ν

ׇ›¬»,%wòj)¡`¥YxSU"<×qrêÉõQsaè~·—“É63÷RH‘ŒÆÄ‰ê·´ÃOLÃA*+ÁSzŠŽSväØ*-}|Ût¶URJ—!ØA“$+·ÅY¼Lì'H''ý)ÿÆ1djà¢ýÒ§`¢_Xq˜[ç–`5º$˶¤¯!"æ*]KÜQZa
 
+äû4яX¾º$l½-dú`Úwð‹½„Wݏ%)ç™ÍiÅÆ‡÷€ŸãÕB.“ü¢ý‘ëÍz×aÞIÓ~Ù҆Å$ƒ€?á£ûUŸlùMÒ?Eû†
    Äc°Ð‡àV7}'&/'pHó|î´$-‘R7GÄ!0wѳíüQÙðF,ÆÙ؜$)‡ŽÒŸ 'U   @‹kœEé½'        
ëØx¼1Õ”Ë        -pIº   9|ñÛõ—  
¾œ!ødùò~Ž¿¯€b\ú¯oîÏ'ùçøó{¹¿|Òtòô}?Ÿn9µ�i&%)ï4PX9T~b
+Š2k_ê~|‘¸rú“öNÏAÂ:’Îe\´Äπx±œ"I…>á‰<˜ó“
À?ªªûÐ,âqeÇ1
/€×ŸÄúþG*ÞîhWšB4ލjQf¼Ö�/"”)SI)c©prrRŠ‹€=¦¾iªÊ†2•¿Þb!3(Å«RyÉ;]lâPÕ�N|Ê{áä<Ýw[èãýÝó}¢B·>ä
+y.D{‘¸ÿ伂–$Ù÷Up’ýýdEÀ65Y
+—÷E³(ӍÔÜsTÅ­;Ê)SѝyR©Ë”[ÁûÙ%
+.P±¿÷1¶Ý‚6!bqZýټٿ˜¸Á”o8ªG’i8Œ¿Ò¹1-¹ïÍôsrüO¨f¥mG"6 
Ñ)Äí)¦d¶%Í(»‰PÁ<u@'o+×vÎYú­nL}Õ±uo{ûŠ 
ã}Þèôo½L‹|òjKm9±B&ɀŽôhÓz'R>b_òÇb©ÅUÆ®8 ¡Zʛ—vÖê?©…ó
¡~p˜§À‹ÜРJ×vùëUs„ðUØGoÁô!)8o7ÁÜ^DH8:&íŸöËp‡d         ã±t1Œlá-–%
+"ðÆK£D       ˜hÍ#\ä£5²ž¯?^        
‚MÆv•’²¿VGÕ\ì‰ù}ÊcS/×Dn_^×6HOÛ¦¥k%Â`ç2u­*Î!2F/¨Î>8qWòѸɻ*
÷7µÁ˶FµÑçv4ʖ¥« õYáÒäV ô¿VÄSN#]áŠÂ     QÎ2¨±uÎ÷’™Å`b      
2ƒÇÍãéæMoÂÊâ   
Kþ]–µ×<°‡¶™†Ë0òó‡ÒÎÞ?•vkýÙ†ÿ2‡oŸ›òs&8¸5Ã\»9*ÿw$û:ù›DèçÒ_ÔÊć6Œ
+¨Â'w›+T¦Tñî„Ù,[³PÑæÛbê.ØõÈ1“ƏJ¥2Wf´Ï“

Reply via email to