mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
IMPALA-9709: Remove Impala-lzo from the development environment
This removes Impala-lzo from the Impala development environment. Impala-lzo is not built as part of the Impala build. The LZO plugin is no longer loaded. LZO tables are not loaded during dataload, and LZO is no longer tested. This removes some obsolete scan APIs that were only used by Impala-lzo. With this commit, Impala-lzo would require code changes to build against Impala. The plugin infrastructure is not removed, and this leaves some LZO support code in place. If someone were to decide to revive Impala-lzo, they would still be able to load it as a plugin and get the same functionality as before. This plugin support may be removed later. Testing: - Dryrun of GVO - Modified TestPartitionMetadataUncompressedTextOnly's test_unsupported_text_compression() to add LZO case Change-Id: I3a4f12247d8872b7e14c9feb4b2c58cfd60d4c0e Reviewed-on: http://gerrit.cloudera.org:8080/15814 Reviewed-by: Bikramjeet Vig <bikramjeet.vig@cloudera.com> Tested-by: Joe McDonnell <joemcdonnell@cloudera.com>
This commit is contained in:
10
buildall.sh
10
buildall.sh
@@ -434,9 +434,6 @@ build_all_components() {
|
||||
if (( build_independent_targets )); then
|
||||
MAKE_TARGETS+=" cscope fe tarballs"
|
||||
fi
|
||||
if [[ -e "$IMPALA_LZO" ]]; then
|
||||
MAKE_TARGETS+=" impala-lzo"
|
||||
fi
|
||||
fi
|
||||
${MAKE_CMD} -j${IMPALA_BUILD_THREADS:-4} ${IMPALA_MAKE_FLAGS} ${MAKE_TARGETS}
|
||||
}
|
||||
@@ -518,13 +515,6 @@ reconfigure_test_cluster() {
|
||||
|
||||
# Generate the Hadoop configs needed by Impala
|
||||
"${IMPALA_HOME}/bin/create-test-configuration.sh" ${CREATE_TEST_CONFIG_ARGS}
|
||||
|
||||
# Copy Hadoop-lzo dependencies if available (required to generate Lzo data).
|
||||
if stat "$HADOOP_LZO"/build/native/Linux-*-*/lib/libgplcompression.* > /dev/null ; then
|
||||
cp "$HADOOP_LZO"/build/native/Linux-*-*/lib/libgplcompression.* "$HADOOP_LIB_DIR/native"
|
||||
else
|
||||
echo "No hadoop-lzo found"
|
||||
fi
|
||||
}
|
||||
|
||||
# Starts the test cluster processes except for Impala.
|
||||
|
||||
Reference in New Issue
Block a user