Author: nicknezis
Date: Wed Jan  5 06:05:06 2022
New Revision: 51909

Log:
Adding heron-install-0.20.5-incubating-rc1-ubuntu18.04.sh

Added:
    
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-ubuntu18.04.sh
   (with props)
    
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-ubuntu18.04.sh.asc
    
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-ubuntu18.04.sh.sha512

Added: 
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-ubuntu18.04.sh
==============================================================================
--- 
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-ubuntu18.04.sh
 (added)
+++ 
dev/incubator/heron/heron-0.20.5-incubating-rc1/heron-install-0.20.5-incubating-rc1-ubuntu18.04.sh
 Wed Jan  5 06:05:06 2022
@@ -0,0 +1,3235637 @@
+#!/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 08:29:40 UTC 2022
+heron.build.timestamp : 1641285130000
+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‰«1ÐdgÁàdÂòéÔ. [30©º«@h`0só²òð²34Ôř׫Ô
Vݼu~;‹ùÆÑmI’=ŠTúcŠ™[*'So€÷"²¡çn$ƒU7Ac÷RDgÍâFh–+em]o3ꥬ'ÞÃXh˜e„?¬m¾°ÎÐdBãt{wVŠõf÷äì±þ+ç¹à‚
+–JùFN
Æwîݞ£pûYZÿª=*zwὩ‹ã¾Ü‚v©LÁ9AՑíқ¼þnu2Ÿ<¾0
>,,oâ+6)ü0B4})u÷%e‡¬©¬í˜4çf} 
>%º5i^èÝþiI6ûõôé¨H~{Ðꕭµ‚»Ù®+ñ‘Õ›Üd´ÖèÀ§Šß1•²B_|äŽPñ~d¿LÓQÀ×CQ7á݉ù-nPª:æàj˜Ù‹M'©R®Âyä¹¼·øwøs¯]#Ü>[bÇ#׳
>W¿Ø(“†뇛øæƒN £ND¹‹Ãr+"»jõ1ߌìä˶xB.y*›êå!…
>Ÿ½ÖÕb?ŠúR‚ç©qÞç&ëùYwZ;ö_‘M·) 
>PßMXF2!>Ä_òw×ϱ¨¦Äbý¸ë•ÆÎÉÕ¨ùç^öhË.τÂ÷TQ—G.      ¸ûš?À¿Gó‡L~{ 
>•?¡Â|_±©œá7&d¹hÖÌ)ÔÖ99¥tí0~E¡}ø¢õg’o¤æd¦¨?sÌ\š
>Ò&ˆ’mæPțlš´ÀÇj½“·ÏޒÇÁ/Á›TÓZU-“c
>gާ¶|&¿êNŠ=lƒbO’É*[ÉD8è1ïÞFŸFë+ÃùlI¾oŶ½Ý$BcJë,üü†9F¤>8aÆü|7WÓO_îZŠí'DÈíîˆ>eƒ–C*Š8–]ÍþR3F„¨ƒ±{æè‚(e“
>…
>1ÆFã:0ÑdµÄÑæJ=¥dƒÕ¶èŒÄx54ÈC5ÇL¨i­Î=œ~@@Ôjìηˆi_ŽH”°Ñ¹žnÚmsÙÊۀáöœ2å;S
> "vö4þåF[Ú­Ú©Wv¤Q\=SÖ[wcBºÂCJÃW¹E†­T68bÏ        ǶÀ糛îY 
>ØEX¥ae‰P56zfªÙ@V§Ù
+<÷•†óSÁ”÷eóÙ²½Ð»àðlÑÆkÕvJЗÖG¥õЉ”…m  âªÌEUeõPS;
p!mÞýꃆ§Lþ‹˜Å·\‘ñ˜i>åzªÄùKïdªƒÍðÚíò·dñ+Ù¶ï:}o5~šl‡ ÿÓn­F
¢PŸäX,i%ì`âÅîq2u“Û+¨òAb“÷M­Nù2o.bBÙ*H¼
U—nzà¨àö=€?bþLúg\š*£O�¸šWòž¯àS“D»¶Ü‹ÍáÐ€£ 
Ý-EyŠ\ÛÓ›i!7ڔ6:1ÑÏ»b±áw̪VEEiÝi[ÅÂ"Þ¶mZv®ƒêi×­NFÁA>j°³˜?µà–cÝYÀz/]H 
gÒâáá“â•zrëY®1;?¬¨Ùiéž[Ýã]’ÀñéSW4¨"×ZÌ|§âMOm('~ËqBqçKØØ»Ç  
ìQï²½;oý»`èbfÇ�ØåP-h¨?²¿˜™™[:䁶®Žþo‚<‚X+¯t¯lõi˜Ôýôc“q0›#—C¹<ÒÞÐÄz„ýHÐ!#¸Otå˜íyýÒz¤wƒ¡‘ÃOÓ
£Ôâan¯íl×W=V¹’_uMK¹Zù$°ÔÓBèжöûo×yhжª~¤H£/ͅ
>ZÔo·á]ëäÅ+_|ÂD©¦·‹3ã‡<ЄÌJëÔ`ë÷Ãd¡$6ûÍ!Žk´a†E2i:åbÒØú欱÷9DjF¹°€Ð;ÏXÃÓ°­‘N
Ob‹ˆß­KHÙò(¼ºÈû\·Dc-o9Ì+§<¼­'’I©0Š±Ä        
ɊŽ¿‹q=ÁÀ)ïýBΌø"ƒÇB”iäŒÙçžï¾˜Ó«¸Yq`®7%ÐZ…\ðåb¢M8Ó§–P}-4÷ÂD}„    
QP‘0¤ÚÛ4P熢¦®Á‘!V ãG
ȉB7ÎȘÅÕY P:D´ß4BzÅֆ`ˆ¾iîàRpñ$²›
+òž¿=y2Sáè'?ñ抖LÉÖqÜAµâRYRÍ MßÈ&šäšèWÕ`é±Ùšèýµ°šfëgˆñȳ_$ž´…
[yQâÌXTqðn>›O¥4¬æ'ögÂЙ$¤˜·b²„¨©Ë֍ïö…l#•Gœ,…ŠŽçYšâ   ɘ¢1Q        
aʱ$éЬÄÑÄ½á øÜþ²úAB.¾w(B„ì‡ð{›Ë7ÂD˜V94ö‡ã×Ð7ñEÂ…>j?#ÿtÄò
<ªÊ8üŒø$q9¬Ô1^†j°ÒÆ
üŠø#1ì¦Â8*›“õ˜7§Ó;\й}º¶ÕœÈ¯ÝI>.²íÃO˜;3þAo܌­ö‰—¦ÔâöиvCKePMd‰£@×øb?+€´aØh
‹V°x_JÂ(ÉïfM‹¸Ä¡@9j¬SÈ=µˆ6Ô4Ã"š%"åÊ#™JpÂfâ;sóœÆ#ê7Ù©øe(P        
àïáµ>;ó–­à¬ÅÜžÃ%b˜L.7sŽÈ×·‹ùDE;ÉòMRqu#‚’`™•¬0wúù›Ž_±sš€†äFñSÏÀ
        Ûú·+ÜTM~¦~W°Fµ»ÛIâB£ÙÉx)õœ7{ÀS.—}$õæ^F¹#T    
\I:­þ¸”¿0.ÍýVTqâº<ë+ýj»b
°ôLΈ§6Š”6ŠGI9û‘ù¹%OQÄ$y<_Æ
&Ïl­‚ñ^gÆén«Ÿþ3Œ;ìøÛºªü•<W¼äËÖKMAWwŸÀMkmØý~É]’ç^þmNötßdsœg>ij™ù‰ˆ,>¢q5ž;zŒöw§óô¼êQª®;°Oû¢#‘Ü9®è’’’è'Ýt½:>²X¨W©Žc{ªàÒ?ØzÌÓQ0l¡vÇSù€CÕ¡`ÇI‰LôÚÞoܨRtK͑.iø­7yžXÁâó€—Ï?ÃÏÅÔÙThŽx•rÏOŠT‡!8ÂMÜr’
…é¾Zrgp¦+U™ïë,aÍ9
ø,­Ý.õRòÝæeâìóÎï|DBâIñE 
ZuüáÔuó·å-Yæ}±¡×둲;™¶™¤Á/»|<#÷^Œ¡@U‡’%ÿð9ª^z2v‰ÙUÐOm¾sâÍ߇[2§ð¢×‡ŽÏ[r,|å‡u<üS-˵dy
 ª‡&ø¥ùy( ÉòN:>hÄ%\"…CßN'ï9©ä|¿}cËÓÅcËhØaÝì§   `LS¿ÿ
Z¹+ÿŒÁƒ"•SQNNb0âÊØìf8ÑC_½µAÅyúw?ôT¥#õ®Î0R^KîÏOR›   ±Þ¬×b…
ptž^?“^À|MR™+Ë>—Ï9Ýφ&¿CœÔ›3¹«µp&¥BNUz¦+%øW{î 
½æõg!Wywާ™å’Æ5à_3nÔ\( æØ’
+ßË„5%ÌnEøÚ6vXæ(Âåâ±8e£ Ýð        
.p…
‘$ÂkªËfkÑsøz¸Üæò`íI²”zf@X_Ê"T;±N‰òA’Z^(),0¢"à®±áKvT¦1ãù¨9O¨C+ˆגÎÔ©ç‡Uô\]@
ÒÐ<Vy¢—û%¢“Ý-¼®Ò½€
+–Úº–þÈÑܛÑ%WgrÔ _Íûøj4½Êy¯êºÖ6­ëút—s)8X&>x#ÖȶNÄçºfýg“AìO5›`
n¢Yõà<ÿµZ‡ÙÄÁíòlWOþùª8¥íñ•Ïéy{áå¾yŸ@ŽRŽêÂä*îl-Ôdš¿Yôsëôû™îÜ1ÞFÏÞºsÝù!³æï´õ£”&®¸
 D~Ϊ
üDÁ2Ä VRuêW~ÕO "Œ.`¦S3¨žË¶ÀæÖ.Æh´ò#·=5k-+ó0mSßw][æ˜AŠÜÜäj½îüÐé
æŸ.´ùs¿¿î¯T­Õ}>ß°¹·¾Æ(2VÌV‘ãÄÁp€íÙ·;Ê%ÐpÛñÙîf3G‹yð*Ϥ7Ä
†bÃÓ«ˆ7·ážî”(¸ïí‚#Ï=†g—Ø-0þĕ5øÇè¿ch±žšá|’–¡>ú«õ—›²ò̏¦LÔæüþ×_–S\–ÿ”Ñô
¤½0«<ÆF¹ÇÍbd˜W…5mè{Sg+,š¸y§¡3„5Ê·Ä[þ֓á9qE vk`´½¦zþÏ*ž²rc 
†GÜ„»ðÂ;c7÷£§mà
+áëÍjßíûXtFor6Büó뱆z!¢Iаh<m—켆ðlîG9æ¤äã*®

Reply via email to