Added: 
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-debian10.sh
==============================================================================
--- 
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-debian10.sh
 (added)
+++ 
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-debian10.sh
 Wed Jan  5 06:00:48 2022
@@ -0,0 +1,3235333 @@
+#!/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.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.5-incubating-rc1'
+heron.build.time : Tue Jan 4 04:50:36 UTC 2022
+heron.build.timestamp : 1641271907000
+heron.build.host : primary
+heron.build.user : release-agent
+heron.build.git.revision : 0.20.5-incubating-rc1
+heron.build.git.status : Clean
+EOF
+exit 0
+PK+K0‰àîàl0ï45µúq0Ð`e¾`÷S0Ÿ³™ÐÙŒóàƒ=­,,]�º:‡§gó¥
9”t;ªØ5–ÙSÑ×J¾5Í•¨$ÛÆ:;ê&êƒjڈ.éÚåaô#ò*!4îBwKX4ì»h´pː³ãÑA2A*·¾ž4‰-e´SúŸ©U—ˆ&Äó'èžâ58ä­?6ÊÛTD±ï¾f¥)íÏ)Ù*V´q¨o>½#ÎlÛøâéj@9Ù@\z!<'Žå0š¼óڎâôxGN´I¶b95²i”½nï­+‹É
 ³îÙI»T#¤iãN—]jÔbl•ˆ“    Ν¿o¦?ºMÙօ
6ƒ`æMZò—ÚÇø6C¨÷Y,,‚·šÉ»¾seޜ•’KB›aîXv_àW䏇#ž©,e½)MëQ„Hb\ò6§­±¬Êðqë8d½Óƒxá̕‘䚁ýšã“-±Œ÷ÝêdgÊWhC£Ÿ@ëÑt=³,í$

qOã;Õ¬¯á”`Øp@d½I–i轜zLнbêÌÓ%yĝeNL¶$ÙS†ä¸Ó¨—~sŠxPX£Ô½Òœœƒ"ïë-ms}ÞÈëœßºz
ûmz†œjW>U¼%?GýsŒÉ祻±ïüuð
ûŸÄ˜‹‹3`êJ‹6`Ä{óÕÐiG‰‘›8èy½J=kqN:³˜ˆ`Ň1J’Æè›e¦:7#ƒøæû¶ï/¬@U§.”ZCØ1•ý˜<ÌoL¤•¬Å5°­öŽ¡/Ê'lS[|Í÷£Ô¿|ÃШÛ¬
PP·ôA`¢dzp½Ké *OÐ
 éø
+Ÿ®þ²g—ñòµ†îbÀWÉtq¡z  ݀Ǧ]„¥eG¸7<ú‘j…hï|ìŒÑZûÆ$ãÛX(÷ïFâý5¿ó3‘ÔzŽ];ڈ
+è.
öå#«úM_îÖO•4ú‰”ÝÛòÄmVïhžNƒ¯¨cÊ+á$5”¾b¶ÆÅrí½~•¯äK¹äq|Öa鍓@Ð2t‚ÓÙuö"ï£E; 
AÖC�"_yÅS‰ÑRúÉ<lCùòtë{kü‰ÿ)ƒrSޗz…çuÂËÀݛÛ
+Å>üª`ú7ŠPJ‹vrïàчœµ@b 
¸*}~ÒfitÙx¿3ÓqÏǛ-ÛÇÁϺêõõ±ÚæþEˇpó‡£_ú¬º9µý1åI)û‚OJ^V#Z~ö¶[›øðŒ÷_ƒO­µçMaô•$V!c%g­šµÖ^†#Y&
+wM÷3¢ugæŒ1Y—~xh]SNéÛ&L¥üÔÄÞ-÷O¯:‘â°°”G‘¯År}g<æM‚ê¿zÒêÉ)(ddf¶ªwxv÷¨¦lh”)f¬^o0ê&­ÄßÃX¨›¥
…
¢÷U7žÙ¤i0¡pº¥—`$o}?~¬=á<˜QÆP.[ͪzqÁ½Õyê0A+í÷q›‚Þ]h{O^òì°;;¿U2]`R€Ee`£ä&·§CÄ'W›/DÛðŠ
F7E_RÍ}NÉ1ãA2c#ê¨QHŽjCœ|·sTœÉ~=v4(œ×¸xeg#/În¶åJx`œˆÒðTÞé;¤\Zà‹‹Ô,փô&Ýtp²/â&´5Ò+·Îmõ^
­o1ČrÍY²„«`i2÷îîäk×0·%KÌX¤Zv¡
+BÊ5þR)ˆ¸‘sT<m­PRÈUl,– 
[a™Eë©l\3’ﻘbqÙ¤ïÙT.÷ɬù4¯f{Õæâ|<Œs—l¦'ÔS47NL7È ž§ŒX†3={ˆ=óíe
y×~,öcuµÄæ¶HãɝN­Úh¹ "G®fq­ªïeΗó¦ÝƵ5š VVI÷M2ö  ™yt?‹Ø_Þ¶m4±~BÀïݖÜÉÄ^‡…
kè¡u&ê-}/)_žD]xªXÚÎYF4„_ul6çšdsNÓèٚªj]]l½Iˆ8£u¹BTøÔX7\Š›˜€Ç`B=‰ŠxVô5„cˆU!И끀|mWîÈqÉЀË
       YÓä:vë˜žd|zE䅭}Í,¦‹v¹F‹_¸ÍA8‰y¿wאHK„ç˪i¡¾Aµ¦ý›ÎN^¾·•±
ż_«ë¡Wòփâ9_NÓ¬}$•]Nïˆä‡Ó)xŸAãJ&!C®…
Äô%–«¿,c!iáîͰy܋mÉmŠŠŸù=ÙúýX%E‡ÞYõ7˜o¬šs¬)‹‰ë
B“IÍ,‡=œa°˜tåKô}©摁4¤%œ<ÚÃ>šâ¸8ïý.ßò« Ëa<Ž?™³¬ø¢z¦åp 
ÓôVSFpª‚‰X’¿è‚v%ŠqOŠŠ¿Â{®Aªˆ×nAÚwöù`<•㓝ž)MuÐ]©‡>¦µ¹m®@ÁĜNÜÑVð}ô¦LÄGé„òò„è·è—‡h-9ʹÝ"ϳc
…ýç?¤#ßV÷B…¶g œZ
Á:Èt}ªfUɤðݬ?gÝÀóù—O (+¤ã©Û°әKÇÝ>fu]Ö2™o«QªúèÌS›¿
áú4£†íQIïÍ †¬¼ÉcÎðF–ú‹ükôw&>¤ÖrÁÙìó|´›½ÊŸ-ÔúÄ9
+eWû§öøâÙ _"k„PÜÒ?Êlj^|A'Ñ¯˜•Ñ8 
—Ïb]%8.Œ:ˆ·7Ú}“¾èÛԖZ§Cÿªƒdƒv>TҒq›itp Zç8²‘mô]ÞLY×wj¢ã<´Ueÿ9˜èu—Ô 
ÚPM˜‰øžÃÔÚËX4샋»JéÚҏD{›—·^÷$»¹Z+¾‹ÜÝÞÏ  1‹”?óÑ^:ÏJÕ ÑìX
*ÚIrçgìÉ-Ú<4⇘–bºÆï¾Dòxt†a]û­ äaØ/ËúäÍH0™Ûӌíe/×RmYæ»ÃàŽiIK# 
úŸ@I2õ/w®ʑ_CaЍX“éðQ#äZ{4ïæ
>Õ
íZÄ*~Cè       }‰ 
™Ð—¨zÜM,åcù¼¥gH{¥[.:ßçæÙJdÂK@´t'住þ7e7µv|}³ÛŠÓ±*B‰IȜIõŽYˡى#éϤ‹Iãdtôs·š÷æw@ÄSÞ-Ñz=/‚†œo))ååå{´W¯¶ÄñfK‚_ۙ.[|*e
     mã
+4™«"csË6K,DŽ ä‡SÆF.ƒCá…
?Æú&dä­gê°Û‹Ñàl}›ÆÞ()dr˜[Yö¶ÇÚùà¸ÒÙþŽõÜ@+)H’æ­ö݅
¤Ό2{aÇóÄûG5(c@Ü2!XNmåî×ÇzÆ¢çzç2w¢2eÈ҈ R˜Áöq‹Äq̔ßBÖEds
Gž¹ÐY+„yՍù\-čåŒ.MÖ²»u 
QnDÍ6Ò\™,ê;öE,^é«r8è{Ñ¢a+¤86wðÏ9ºö©Á¹·aºç@ÀÛXˆeШæ¦˜o°R£~ü;#%±›ºRõ¬ÄÊc
uÄI±Ÿkz¦J'¨ìq)d,Ý,C3_JGÊ÷;ÿ¼z7"T΁p-ÿèv·/åĪp=ÿó
yœ¡/ÀÍzwöΐ‹Ö%?*H&‹!egf‹ù«cÞ9=vþ%Z…i; Œl/w~oéTËùÅn®DìePæ)²íPó
W·Íá†ñN½)KބmýÛfr»M{Vĺå¦Ý‚ÕÉ?äÏ7[à€ñù•Â¶³mɎT©ê»ñ>4àµ-’ª¼óçKþѸ
/%1ѐ´õôU~"$¢Îb»ZºÐsX'è^º°û=²lõ˜[A|/ÿ]O+36œS΋•½:´”
+o˜ý¸ºV‚2Ņֹ-¶‡‡~§r™:ˆÄ›Ï·ÖeY1EP 
:7ÆV‡•@Z;¦./Keu틩z%ïûò¿4‰·‹cʼ9Rݐá?
8Q·£¤(M‘jyc2.ÀåF›ÐD'&úyW,5ÈŬiVT”֝·U,.áìØ¤eçÚ«œ§qÜkgtáæ#;‰úóPòo;ÄÑ^lô҆™ëçod¥úY±L'ÂÝl”Œ2/×¼˜ID
     :÷æ!VÕP°ÀŸò©uÚ'°§í€§È‰…we&®™I|é酉k©m”@yrRb£;ÝQÎ"äêÆ1”aÂ,p’G 
Øïº=;Gö!gì;ò?B¿>ÚRÂð+!÷³Aóq¿š•sä)Æð÷ì9Ræuej@‚9l`ÕÍ^ÐËzçðd<ÉÏÏUçu([ô¬çaSʶpɇÐ9Îé?
†aN\¬0€è”݈FŒ¥´µ¢Ê×ö²3³ºà¾>nï“ÍéíX͘_lÞï°ÉÅG� 
ŒÄ¡ÀÂ+¸¥ƒ·èzÈúŠÙP\¾¢GæËǔ™›x}[J_%ÖJµ©í9—²Ùp
CŒX×Ën–ˆ!ú×Oã(/2òábÓ|t$WÒÙ£¨q‹0ä.Âæ.‰ 2ë\6æRÏnß~
+Pr¹1jŽûÉ·tûÙErœÞ†F²gçºÉ?È4’yTãÁ›ï3¸HJïzŠ5²g‰ýúÒø»÷ßwebþ|ƒ‘Ë_àɤ€EDˆ‹nâàe8–¡!<ÿ&
       \!.Ï÷_¿¿ÂØDG
K¬]Püqçy<WR„þub†á¤#¥ ó'aLˆçgÏf•YÒWýwèô{²Ñµ•iyÓé(t»¡k-Cî­¢ 
F}²fkƒKù´^}_5žlOÅ£Ê&
+U;H
Ëö|Îz¯ºæeΊÆ3þ9ÁÁ�YBP%o~Ë/¬R1†‡aŒ¯¯ÆÕ8Ʋ°=f-ڞ´6‚JªRhú.WŸà,̊¦BÏÚáeRXWÉãE#eô^É5Í2Ïöª;pE¨ìǕÌE£ÆÚã°Å:

RDåœ*åíO-:äðUōÿéÇH8—Ö5nI†0^Ɲ.ÖˆæÛN:�,J–lK€ëçÇÃÓÏï}ö´µ»"Þx2ñk„DZÙI¸¨
Üú¿Aäïu›šõùÍ  
œÞ¸=NN¿ü¼]þaßc“0£d-¥À§EÔ$L1ô-3RÁÞø2T®”ÔiÀ|bEìP¡ïígÜ[ع3ò¾àäu‹·mŠ']„µi=š­pÑu2|Cø|µí­†Ú¼Bž—ØÔòM+,Šõ‡Î”(Æ
     ؁Öz!Iv¿}]Ñò~ÝÜ>¿>FºÀ¤ÛÉÄÙo^Ž †òRæOù&Þ`Ü41DRË`ܔÑ(eÈþ’œh5µ      
u­Ü©k30w–Ïæt_¸xÁE$€Gq€ÍhP‘±Ç4
ޝ&@r’¥®PrL¨iO*q_˜KI²~õ/!]—„ù%…gû?úäEu{ifNÍP’aúðÆüC§&

Reply via email to