Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extensions/flink/install_flink.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ mv /home/hadoop/flink* "${FLINK_INSTALL_DIR}"

# List all task managers (workers) in the slaves file
# The task managers will be brought up by the job manager (master)
echo ${WORKERS[@]} | tr ' ' '\n' > ${FLINK_INSTALL_DIR}/conf/slaves
echo "${WORKERS[@]}" | tr ' ' '\n' > ${FLINK_INSTALL_DIR}/conf/slaves

# Create temp file in hadoop directory which might be mounted to other storage than os
FLINK_TASKMANAGER_TEMP_DIR="/hadoop/flink/tmp"
Expand Down
2 changes: 1 addition & 1 deletion extensions/hama/install_hama.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cat << EOF > ${HAMA_INSTALL_DIR}/conf/hama-site.xml
EOF

# Set up all workers to be groomservers.
echo ${WORKERS[@]} | tr ' ' '\n' > ${HAMA_INSTALL_DIR}/conf/groomservers
echo "${WORKERS[@]}" | tr ' ' '\n' > ${HAMA_INSTALL_DIR}/conf/groomservers

# Symlink the Hadoop hdfs-site.xml to hama's "copy" of it.
ln -s ${HADOOP_CONF_DIR}/hdfs-site.xml ${HAMA_INSTALL_DIR}/conf/hdfs-site.xml
Expand Down
2 changes: 1 addition & 1 deletion extensions/hbase/install_hbase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ cat << EOF > ${HBASE_INSTALL_DIR}/conf/hbase-site.xml
EOF

# Set up all workers to be regionservers.
echo ${WORKERS[@]} | tr ' ' '\n' > ${HBASE_INSTALL_DIR}/conf/regionservers
echo "${WORKERS[@]}" | tr ' ' '\n' > ${HBASE_INSTALL_DIR}/conf/regionservers

# Symlink the Hadoop hdfs-site.xml to hbase's "copy" of it.
ln -s ${HADOOP_CONF_DIR}/hdfs-site.xml ${HBASE_INSTALL_DIR}/conf/hdfs-site.xml
Expand Down
2 changes: 1 addition & 1 deletion extensions/tajo/configure_tajo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ cat << EOF > ${TAJO_INSTALL_DIR}/conf/tajo-site.xml
EOF

# Set up conf/workers
echo ${WORKERS[@]} | tr ' ' '\n' > ${TAJO_INSTALL_DIR}/conf/workers
echo "${WORKERS[@]}" | tr ' ' '\n' > ${TAJO_INSTALL_DIR}/conf/workers

# Set up conf/tajo-env.sh
cat << EOF >> ${TAJO_INSTALL_DIR}/conf/tajo-env.sh
Expand Down
6 changes: 3 additions & 3 deletions sampleapps/querytools/scripts/setup-packages__at__master.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function setup_pkg_generic() {
readonly -f setup_pkg_generic

function setup_pkg_hive() {
setup_pkg_generic $@
setup_pkg_generic "$@"

# Move configuration
emit ""
Expand All @@ -66,7 +66,7 @@ function setup_pkg_hive() {
readonly -f setup_pkg_hive

function setup_pkg_pig() {
setup_pkg_generic $@
setup_pkg_generic "$@"
}
readonly -f setup_pkg_pig

Expand Down Expand Up @@ -129,7 +129,7 @@ emit "Installing packages into install directory $MASTER_INSTALL_DIR"
for pkg in $PACKAGE_LIST; do
# Get the query-tool specific directory name
pkg_name=$(pkgutil_pkg_name $MASTER_PACKAGE_DIR/$PACKAGES_DIR $pkg)
pkg_upper=$(echo "$pkg_name" | tr '[a-z]' '[A-Z]')
pkg_upper=$(echo "$pkg_name" | tr 'a-z' 'A-Z')

# Get the name of the zip file
pkg_file=$(pkgutil_pkg_file $MASTER_PACKAGE_DIR/$PACKAGES_DIR $pkg)
Expand Down