This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
left to right direction | |
node 8e1b16cc_d726_4065_8df7_92dbd56d56aa as "N1" { | |
node d810c581_6604_48f7_ab75_64e9325aecce as "N11" { | |
protocol 093813e0_2029_43fe_9bf2_34239fb8bbfd as "INOUT" { | |
C1 | |
C2 | |
C3 | |
C4 | |
C5 | |
C6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/env bash | |
if [ -z ${1} ]; then | |
echo "Replication factor required." | |
exit 1 | |
fi | |
TEMP_FILE=$(mktemp) | |
echo "Writing underreplicated files to $TEMP_FILE" | |
hdfs fsck / | grep 'Under replicated' | awk -F':' '{print $1}' >> $TEMP_FILE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
if [ -z "$1" ]; then | |
echo "SDC URL required." | |
exit 1 | |
fi | |
if [ -z "$2" ]; then | |
echo "SDC user required." | |
exit 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z ${1} ]; then | |
echo "Zeppelin URL required." | |
exit 1 | |
fi | |
ZEPPELIN_URL=$1 | |
if [ -z ${2} ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [ -z ${1} ]; then | |
echo "Source URL required." | |
exit 1 | |
fi | |
ZEPPELIN_SRC_URL=$1 | |
if [ -z ${2} ]; then |