Skip to content

Commit

Permalink
Merge branch 'integration' into bugfix/issue-2469
Browse files Browse the repository at this point in the history
  • Loading branch information
keith-ratcliffe committed Sep 20, 2024
2 parents bf8095e + 19f1d2e commit fa56218
Show file tree
Hide file tree
Showing 364 changed files with 205,945 additions and 3,575 deletions.
76 changes: 76 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ jobs:
java-version: ${{env.JAVA_VERSION}}
maven-version: 3.9.5
cache: 'maven'
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Format code
env:
USER_NAME: ${{ secrets.USER_NAME }}
Expand All @@ -42,6 +46,7 @@ jobs:
- name: Commit Changes
run: |
if [ "$diffs_found" = true ]; then
git checkout -b ${{ steps.extract_branch.outputs.branch }}
git config --global user.name "GitHub Actions"
git config --global user.email "[email protected]"
git commit -am "Formatting job fix"
Expand Down Expand Up @@ -219,6 +224,77 @@ jobs:
cd docker
docker compose logs
compose-build-and-test:
runs-on: ubuntu-latest
steps:
- name: Free up some space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf $AGENT_TOOLSDIRECTORY
- name: Checkout Code
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Set up JDK ${{env.JAVA_VERSION}}
uses: actions/setup-java@v3
with:
distribution: ${{env.JAVA_DISTRIBUTION}}
java-version: ${{env.JAVA_VERSION}}
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-build-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-build-
${{ runner.os }}-maven-format-
${{ runner.os }}-maven-
# Builds the quickstart and microservice docker images and runs a query test
- name: Docker Compose Query Tests
env:
USER_NAME: ${{ secrets.USER_NAME }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: |
# set some bogus URLs to trigger dependency download via maven
DIST_URLS="-Durl.zookeeper=https://bogus.apache.org/zookeeper/zookeeper-3.7.2/apache-zookeeper-3.7.2-bin.tar.gz.tar.gz \
-Durl.accumulo=https://bogus.apache.org/accumulo/2.1.3/accumulo-2.1.3-bin.tar.gz \
-Durl.wildfly=https://bogus.jboss.org/wildfly/17.0.1.Final/wildfly-17.0.1.Final.tar.gz \
-Durl.hadoop=https://bogus.apache.org/hadoop/common/hadoop-3.3.6/hadoop-3.3.6.tar.gz \
-Durl.maven=https://bogus.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz"
mvn -s $GITHUB_WORKSPACE/.github/workflows/settings.xml -B -V -e -Pcompose -Dmicroservice-docker -Dquickstart-docker -Dquickstart-maven ${DIST_URLS} -Ddeploy -Dtar -DskipTests -Dmaven.build.cache.enabled=false clean install
# free up some space so that we don't run out
docker system prune -f
mvn -s $GITHUB_WORKSPACE/.github/workflows/settings.xml -B -V -e -Pcompose -Dmicroservice-docker -Dquickstart-docker -Dquickstart-maven ${DIST_URLS} -Ddeploy -Dtar -DskipTests -Dmaven.build.cache.enabled=false clean
cd docker
./bootstrap.sh
attempt=0
max_attempts=20
while [ $attempt -lt $max_attempts ]; do
attempt=$((attempt+1))
echo "Starting docker compose (Attempt ${attempt}/${max_attempts})"
nohup docker compose up -d --no-recreate < /dev/null > compose.out 2>&1 &
sleep 60s
cat compose.out
# check to see if the query service is running
QUERY="$(docker compose ps --status running --services | grep query || true)"
if [ "$QUERY" == "query" ] ; then
echo "Docker compose started successfully"
break
elif [ $attempt -eq $max_attempts ] ; then
echo "Failed to start docker compose"
exit 1
fi
done
cd scripts
./testAll.sh
- name: Dump Logs
if: failure()
run: |
cd docker
docker compose logs
# Here's an example of how you'd deploy the image to the github package registry.
# We don't want to do this by default since packages on github cannot be deleted
# or overwritten. So this could only be done for tags, however it seems the quickstart
Expand Down
2 changes: 1 addition & 1 deletion .mvn/maven-build-cache-config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
-->

<configuration>
<enabled>true</enabled>
<enabled>false</enabled>
<hashAlgorithm>SHA-256</hashAlgorithm>
<validateXml>true</validateXml>
<local>
Expand Down
2 changes: 1 addition & 1 deletion common-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>gov.nsa.datawave</groupId>
<artifactId>datawave-parent</artifactId>
<version>7.2.0-SNAPSHOT</version>
<version>7.7.0-SNAPSHOT</version>
</parent>
<artifactId>datawave-common-test</artifactId>
<name>${project.artifactId}</name>
Expand Down
13 changes: 13 additions & 0 deletions contrib/datawave-quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,16 @@ provide the exact same capabilities described below, but hosted on a CentOS 7 ba
### Get Started

DataWave Quickstart installation instructions are [here](https://code.nsa.gov/datawave/docs/quickstart)

---
### A note on building:

You can specify to use maven to fetch the DataWave, Hadoop, Accumulo, ZooKeeper tar.gz files
by using the `-Dquickstart-maven` flag with your mvn command. This will use maven to
download the tar files to your local repository then copy them to the appropriate directory
after downloading.

In order to deploy a new dependency, you can use a command similar to the following, using
Acccumulo-2.1.3 as an example. The command must be run from the same directory as the tar file.

`mvn deploy:deploy-file -DrepositoryId=github-datawave -Durl=https://maven.pkg.github.com/NationalSecurityAgency/datawave -DgroupId=gov.nsa.datawave.quickstart -DartifactId=accumulo -Dversion=2.1.3 -Dfile=accumulo-2.1.3-bin.tar.gz -Dpackaging=tar.gz`
37 changes: 35 additions & 2 deletions contrib/datawave-quickstart/bin/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,39 @@ function downloadTarball() {
fi
elif [[ ${uri} == https://* ]] ; then
$( cd "${tarballdir}" && wget ${DW_WGET_OPTS} "${uri}" )
else
return 1
fi
fi
}

function downloadMavenTarball() {
local pomFile="${DW_DATAWAVE_SOURCE_DIR:-$( cd "${DW_CLOUD_HOME}/../.." && pwd )}/pom.xml"
local rootProject=":$1"
local group="$2"
local artifact="$3"
local version="$4"
local tarballdir="$5"
tarball="${artifact}-${version}.tar.gz"
if [ ! -f "${tarballdir}/${tarball}" ] ; then
# download from maven repo
output=$( mvn -f "${pomFile}" -pl "${rootProject}" -DremoteRepositories="remote-repo::default::${DW_MAVEN_REPOSITORY}" dependency:get -Dartifact="${group}:${artifact}:${version}" -Dpackaging="tar.gz" )
retVal=$?
if [ $retVal -ne 0 ]; then
error "Failed to download ${tarball} via maven"
error "$output"
return $retVal
else
info "Downloaded ${artifact} via maven"
fi

# copy to specified directory
output=$( mvn -f "${pomFile}" -pl "${rootProject}" dependency:copy -Dartifact="${group}:${artifact}:${version}:tar.gz" -DoutputDirectory="${tarballdir}" )
retVal=$?
if [ $retVal -ne 0 ]; then
error "Failed to copy ${tarball} to ${tarballdir} via maven"
error "$output"
return $retVal
fi
fi
}
Expand Down Expand Up @@ -273,9 +306,9 @@ function checkBinaries() {
local localBinaries=()
while IFS= read -r line; do
if [[ "${line}" =~ ^Source:.* ]] ; then
sourceBinaries+=("$(cut -d: -f2- <<<${line})")
sourceBinaries+=("$(sed 's/.*: //g' <<<${line})")
else
localBinaries+=("$(cut -d: -f2- <<<${line})")
localBinaries+=("$(sed 's/.*: //g' <<<${line})")
fi
done < <( allDisplayBinaryInfo | grep -E 'Source:|Local:' )

Expand Down
20 changes: 11 additions & 9 deletions contrib/datawave-quickstart/bin/services/accumulo/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ DW_ACCUMULO_SERVICE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

# You may override DW_ZOOKEEPER_DIST_URI in your env ahead of time, and set as file:///path/to/file.tar.gz for local tarball, if needed
# DW_ZOOKEEPER_DIST_URI should, if possible, be using https. There are potential security risks by using http.
DW_ZOOKEEPER_DIST_URI="${DW_ZOOKEEPER_DIST_URI:-https://dlcdn.apache.org/zookeeper/zookeeper-3.7.2/apache-zookeeper-3.7.2-bin.tar.gz}"
DW_ZOOKEEPER_VERSION="3.7.2"
DW_ZOOKEEPER_DIST_URI="${DW_ZOOKEEPER_DIST_URI:-https://dlcdn.apache.org/zookeeper/zookeeper-${DW_ZOOKEEPER_VERSION}/apache-zookeeper-${DW_ZOOKEEPER_VERSION}-bin.tar.gz}"
# The sha512 checksum for the tarball. Value should be the hash value only and does not include the file name. Cannot be left blank.
DW_ZOOKEEPER_DIST_SHA512_CHECKSUM="${DW_ZOOKEEPER_DIST_SHA512_CHECKSUM:-6afbfc1afc8b9370281bd9862f37dbb1cb95ec54bb2ed4371831aa5c0f08cfee775050bd57ce5fc0836e61af27eed9f0076f54b98997dd0e15159196056e52ea}"
# shellcheck disable=SC2154
# shellcheck disable=SC2034
DW_ZOOKEEPER_DIST="$( downloadTarball "${DW_ZOOKEEPER_DIST_URI}" "${DW_ACCUMULO_SERVICE_DIR}" && echo "${tarball}" )"
DW_ZOOKEEPER_DIST="$( { downloadTarball "${DW_ZOOKEEPER_DIST_URI}" "${DW_ACCUMULO_SERVICE_DIR}" || downloadMavenTarball "datawave-parent" "gov.nsa.datawave.quickstart" "zookeeper" "${DW_ZOOKEEPER_VERSION}" "${DW_ACCUMULO_SERVICE_DIR}"; } && echo "${tarball}" )"
DW_ZOOKEEPER_BASEDIR="zookeeper-install"
DW_ZOOKEEPER_SYMLINK="zookeeper"

Expand Down Expand Up @@ -50,11 +51,12 @@ admin.enableServer=false"

# You may override DW_ACCUMULO_DIST_URI in your env ahead of time, and set as file:///path/to/file.tar.gz for local tarball, if needed
# DW_ACCUMULO_DIST_URI should, if possible, be using https. There are potential security risks by using http.
DW_ACCUMULO_DIST_URI="${DW_ACCUMULO_DIST_URI:-https://dlcdn.apache.org/accumulo/2.1.2/accumulo-2.1.2-bin.tar.gz}"
DW_ACCUMULO_VERSION="2.1.3"
DW_ACCUMULO_DIST_URI="${DW_ACCUMULO_DIST_URI:-https://dlcdn.apache.org/accumulo/${DW_ACCUMULO_VERSION}/accumulo-${DW_ACCUMULO_VERSION}-bin.tar.gz}"
# The sha512 checksum for the tarball. Value should be the hash value only and does not include the file name. Cannot be left blank.
DW_ACCUMULO_DIST_SHA512_CHECKSUM="${DW_ACCUMULO_DIST_SHA512_CHECKSUM:-27778c1c3f1d88ab128649fd0671d3be97ba052216ab43f1169395960e8c7d16375a51f940c2262437b836ea31f83f73f08f7a3d8cadda443e5e8bb31d9b23c5}"
DW_ACCUMULO_DIST_SHA512_CHECKSUM="${DW_ACCUMULO_DIST_SHA512_CHECKSUM:-1a27a144dc31f55ccc8e081b6c1bc6cc0362a8391838c53c166cb45291ff8f35867fd8e4729aa7b2c540f8b721f8c6953281bf589fc7fe320e4dc4d20b87abc4}"
# shellcheck disable=SC2034
DW_ACCUMULO_DIST="$( downloadTarball "${DW_ACCUMULO_DIST_URI}" "${DW_ACCUMULO_SERVICE_DIR}" && echo "${tarball}" )"
DW_ACCUMULO_DIST="$( { downloadTarball "${DW_ACCUMULO_DIST_URI}" "${DW_ACCUMULO_SERVICE_DIR}" || downloadMavenTarball "datawave-parent" "gov.nsa.datawave.quickstart" "accumulo" "${DW_ACCUMULO_VERSION}" "${DW_ACCUMULO_SERVICE_DIR}"; } && echo "${tarball}" )"
DW_ACCUMULO_BASEDIR="accumulo-install"
DW_ACCUMULO_SYMLINK="accumulo"
DW_ACCUMULO_INSTANCE_NAME="my-instance-01"
Expand Down Expand Up @@ -300,15 +302,15 @@ function accumuloPidList() {
}

function accumuloDisplayBinaryInfo() {
echo "Source: ${DW_ACCUMULO_DIST_URI}"
local tarballName="$(basename "$DW_ACCUMULO_DIST_URI")"
echo "Source: ${DW_ACCUMULO_DIST}"
local tarballName="$(basename "$DW_ACCUMULO_DIST")"
if [[ -f "${DW_ACCUMULO_SERVICE_DIR}/${tarballName}" ]]; then
echo " Local: ${DW_ACCUMULO_SERVICE_DIR}/${tarballName}"
else
echo " Local: Not loaded"
fi
echo "Source: ${DW_ZOOKEEPER_DIST_URI}"
tarballName="$(basename "$DW_ZOOKEEPER_DIST_URI")"
echo "Source: ${DW_ZOOKEEPER_DIST}"
tarballName="$(basename "$DW_ZOOKEEPER_DIST")"
if [[ -f "${DW_ACCUMULO_SERVICE_DIR}/${tarballName}" ]]; then
echo " Local: ${DW_ACCUMULO_SERVICE_DIR}/${tarballName}"
else
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

# You may override DW_WILDFLY_DIST_URI in your env ahead of time, and set as file:///path/to/file.tar.gz for local tarball, if needed
DW_WILDFLY_VERSION="17.0.1"
# DW_WILDFLY_DIST_URI should, if possible, be using https. There are potential security risks by using http.
DW_WILDFLY_DIST_URI="${DW_WILDFLY_DIST_URI:-https://download.jboss.org/wildfly/17.0.1.Final/wildfly-17.0.1.Final.tar.gz}"
DW_WILDFLY_DIST_URI="${DW_WILDFLY_DIST_URI:-https://download.jboss.org/wildfly/${DW_WILDFLY_VERSION}.Final/wildfly-${DW_WILDFLY_VERSION}.Final.tar.gz}"
# The sha512 checksum for the tarball. Value should be the hash value only and does not include the file name. Cannot be left blank.
DW_WILDFLY_DIST_SHA512_CHECKSUM="${DW_WILDFLY_DIST_SHA512_CHECKSUM:-fcbdff4bc275f478c3bf5f665a83e62468a920e58fcddeaa2710272dd0f1ce3154cdc371d5011763a6be24ae1a5e0bca0218cceea63543edb4b5cf22de60b485}"
DW_WILDFLY_DIST="$( downloadTarball "${DW_WILDFLY_DIST_URI}" "${DW_DATAWAVE_SERVICE_DIR}" && echo "${tarball}" )"
DW_WILDFLY_DIST="$( { downloadTarball "${DW_WILDFLY_DIST_URI}" "${DW_DATAWAVE_SERVICE_DIR}" || downloadMavenTarball "datawave-parent" "gov.nsa.datawave.quickstart" "wildfly" "${DW_WILDFLY_VERSION}" "${DW_DATAWAVE_SERVICE_DIR}"; } && echo "${tarball}" )"
DW_WILDFLY_BASEDIR="wildfly-install"
DW_WILDFLY_SYMLINK="wildfly"

Expand Down Expand Up @@ -176,8 +177,8 @@ function datawaveWebDisplayBinaryInfo() {
else
echo " Local: Not loaded"
fi
echo "Source: ${DW_WILDFLY_DIST_URI}"
local tarballName="$(basename "$DW_WILDFLY_DIST_URI")"
echo "Source: ${DW_WILDFLY_DIST}"
local tarballName="$(basename "$DW_WILDFLY_DIST")"
if [[ -f "${DW_DATAWAVE_SERVICE_DIR}/${tarballName}" ]]; then
echo " Local: ${DW_DATAWAVE_SERVICE_DIR}/${tarballName}"
else
Expand Down
9 changes: 5 additions & 4 deletions contrib/datawave-quickstart/bin/services/hadoop/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@

DW_HADOOP_SERVICE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

DW_HADOOP_VERSION="3.3.6"
# You may override DW_HADOOP_DIST_URI in your env ahead of time, and set as file:///path/to/file.tar.gz for local tarball, if needed
# DW_HADOOP_DIST_URI should, if possible, be using https. There are potential security risks by using http.
DW_HADOOP_DIST_URI="${DW_HADOOP_DIST_URI:-https://dlcdn.apache.org/hadoop/common/hadoop-3.3.6/hadoop-3.3.6.tar.gz}"
DW_HADOOP_DIST_URI="${DW_HADOOP_DIST_URI:-https://dlcdn.apache.org/hadoop/common/hadoop-${DW_HADOOP_VERSION}/hadoop-${DW_HADOOP_VERSION}.tar.gz}"
# The sha512 checksum for the tarball. Value should be the hash value only and does not include the file name. Cannot be left blank.
DW_HADOOP_DIST_SHA512_CHECKSUM="${DW_HADOOP_DIST_SHA512_CHECKSUM:-de3eaca2e0517e4b569a88b63c89fae19cb8ac6c01ff990f1ff8f0cc0f3128c8e8a23db01577ca562a0e0bb1b4a3889f8c74384e609cd55e537aada3dcaa9f8a}"
DW_HADOOP_DIST="$( downloadTarball "${DW_HADOOP_DIST_URI}" "${DW_HADOOP_SERVICE_DIR}" && echo "${tarball}" )"
DW_HADOOP_DIST="$( { downloadTarball "${DW_HADOOP_DIST_URI}" "${DW_HADOOP_SERVICE_DIR}" || downloadMavenTarball "datawave-parent" "gov.nsa.datawave.quickstart" "hadoop" "${DW_HADOOP_VERSION}" "${DW_HADOOP_SERVICE_DIR}"; } && echo "${tarball}" )"
DW_HADOOP_BASEDIR="hadoop-install"
DW_HADOOP_SYMLINK="hadoop"

Expand Down Expand Up @@ -223,8 +224,8 @@ function hadoopPidList() {
}

function hadoopDisplayBinaryInfo() {
echo "Source: ${DW_HADOOP_DIST_URI}"
local tarballName="$(basename "$DW_HADOOP_DIST_URI")"
echo "Source: ${DW_HADOOP_DIST}"
local tarballName="$(basename "$DW_HADOOP_DIST")"
if [[ -f "${DW_HADOOP_SERVICE_DIR}/${tarballName}" ]]; then
echo " Local: ${DW_HADOOP_SERVICE_DIR}/${tarballName}"
else
Expand Down
14 changes: 8 additions & 6 deletions contrib/datawave-quickstart/bin/services/maven/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
# Sourced by env.sh

DW_MAVEN_SERVICE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
DW_MAVEN_VERSION="3.8.8"
# You may override DW_MAVEN_DIST_URI in your env ahead of time, and set as file:///path/to/file.tar.gz for local tarball, if needed
DW_MAVEN_DIST_URI="${DW_MAVEN_DIST_URI:-https://dlcdn.apache.org/maven/maven-3/3.8.8/binaries/apache-maven-3.8.8-bin.tar.gz}"
DW_MAVEN_DIST_URI="${DW_MAVEN_DIST_URI:-https://dlcdn.apache.org/maven/maven-3/${DW_MAVEN_VERSION}/binaries/apache-maven-${DW_MAVEN_VERSION}-bin.tar.gz}"
DW_MAVEN_DIST="$( basename "${DW_MAVEN_DIST_URI}" )"
DW_MAVEN_BASEDIR="maven-install"
DW_MAVEN_SYMLINK="maven"

function bootstrapEmbeddedMaven() {
[ ! -f "${DW_MAVEN_SERVICE_DIR}/${DW_MAVEN_DIST}" ] \
&& info "Maven 3.x not detected. Attempting to bootstrap a dedicated install..." \
&& downloadTarball "${DW_MAVEN_DIST_URI}" "${DW_MAVEN_SERVICE_DIR}"
if [ ! -f "${DW_MAVEN_SERVICE_DIR}/${DW_MAVEN_DIST}" ]; then
info "Maven 3.x not detected. Attempting to bootstrap a dedicated install..."
DW_MAVEN_DIST="$( { downloadTarball "${DW_MAVEN_DIST_URI}" "${DW_MAVEN_SERVICE_DIR}" || downloadMavenTarball "datawave-parent" "gov.nsa.datawave.quickstart" "maven" "${DW_MAVEN_VERSION}" "${DW_MAVEN_SERVICE_DIR}"; } && echo "${tarball}" )"
fi

export MAVEN_HOME="${DW_CLOUD_HOME}/${DW_MAVEN_SYMLINK}"
export M2_HOME="${MAVEN_HOME}"
Expand Down Expand Up @@ -105,8 +107,8 @@ function mavenPrintenv() {
}

function mavenDisplayBinaryInfo() {
echo "Source: ${DW_MAVEN_DIST_URI}"
local tarballName="$(basename "$DW_MAVEN_DIST_URI")"
echo "Source: ${DW_MAVEN_DIST}"
local tarballName="$(basename "$DW_MAVEN_DIST")"
if [[ -f "${DW_MAVEN_SERVICE_DIR}/${tarballName}" ]]; then
echo " Local: ${DW_MAVEN_SERVICE_DIR}/${tarballName}"
else
Expand Down
15 changes: 14 additions & 1 deletion contrib/datawave-quickstart/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ ARG DATAWAVE_JAVA_HOME
ARG DATAWAVE_BUILD_PROFILE
ARG DATAWAVE_SKIP_INGEST=false
ARG DATAWAVE_SKIP_TESTS=false
ARG DATAWAVE_MAVEN_REPO="https://maven.pkg.github.com/NationalSecurityAgency/datawave"

ARG ACCUMULO_URL
ARG HADOOP_URL
ARG MAVEN_URL
ARG WILDFLY_URL
ARG ZOOKEEPER_URL

USER root

Expand Down Expand Up @@ -51,9 +58,15 @@ RUN rm -f .dockerignore .maven-dockerignore && \
git config user.email "[email protected]" && \
git config user.name "Root User" && \
git commit -m "Source Branch :: $DATAWAVE_BRANCH_NAME :: Source Commit :: $DATAWAVE_COMMIT_ID" && \
echo "export DW_ACCUMULO_DIST_URI=\"$ACCUMULO_URL\"" >> ~/.bashrc && \
echo "export DW_HADOOP_DIST_URI=\"$HADOOP_URL\"" >> ~/.bashrc && \
echo "export DW_MAVEN_DIST_URI=\"$MAVEN_URL\"" >> ~/.bashrc && \
echo "export DW_WILDFLY_DIST_URI=\"$WILDFLY_URL\"" >> ~/.bashrc && \
echo "export DW_ZOOKEEPER_DIST_URI=\"$ZOOKEEPER_URL\"" >> ~/.bashrc && \
echo "export DW_DATAWAVE_BUILD_PROFILE=\"$DATAWAVE_BUILD_PROFILE\"" >> ~/.bashrc && \
echo "export DW_DATAWAVE_INGEST_TEST_SKIP=\"$DATAWAVE_SKIP_INGEST\"" >> ~/.bashrc && \
echo "export DW_WGET_OPTS=\"-q\"" >> ~/.bashrc && \
echo "export DW_MAVEN_REPOSITORY=\"$DATAWAVE_MAVEN_REPO\"" >> ~/.bashrc && \
echo "export DW_WGET_OPTS=\"-q --no-check-certificate\"" >> ~/.bashrc && \
echo "export JAVA_HOME=\"$DATAWAVE_JAVA_HOME\"" >> ~/.bashrc && \
echo "export PATH=\$JAVA_HOME/bin:\$PATH" >> ~/.bashrc && \
echo "source /opt/datawave/contrib/datawave-quickstart/bin/env.sh" >> ~/.bashrc
Expand Down
Loading

0 comments on commit fa56218

Please sign in to comment.