Skip to content

Commit

Permalink
[MINOR] Fixed libhdfs build
Browse files Browse the repository at this point in the history
* Removed early exit of build.sh - probably a remainder of some test scenario
* Renamed the downloaded archive to something more descriptive
  • Loading branch information
corepointer committed Oct 4, 2024
1 parent 596b9e1 commit 8d614f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -969,14 +969,14 @@ if [ $WITH_DEPS -gt 0 ]; then
# HAWQ (libhdfs3)
#------------------------------------------------------------------------------
hawqDirName="hawq-rel-v$hawqVersion"
hawqTarName="v${hawqVersion}.tar.gz"
hawqDlTarName="v${hawqVersion}.tar.gz"
hawqTarName="${hawqDirName}.tar.gz"
hawqInstDirName=$installPrefix

if [ $BUILD_HDFS == "-DUSE_HDFS=ON" ]; then
if ! is_dependency_downloaded "hawq_v${hawqVersion}"; then
daphne_msg "Get HAWQ (libhdfs3) version ${hawqVersion}"
exit -1
wget "https://github.com/apache/hawq/archive/refs/tags/rel/${hawqTarName}" \
daphne_msg "Get HAWQ (libhdfs3) version ${hawqVersion}"
wget "https://github.com/apache/hawq/archive/refs/tags/rel/${hawqDlTarName}" \
-qO "${cacheDir}/${hawqTarName}"
tar -xf "$cacheDir/$hawqTarName" -C "$sourcePrefix"
daphne_msg "Applying 0005-libhdfs3-remove-gtest-dep.patch"
Expand Down

0 comments on commit 8d614f0

Please sign in to comment.