Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
cd $IMPALA_HOME/toolchain
# Backup the existing library
cp -r orc-${IMPALA_ORC_VERSION} orc-${IMPALA_ORC_VERSION}-bak
cd orc-${IMPALA_ORC_VERSION}

# Replace the library
cp ${ORC_HOME}/build/c++/src/liborc.a orc-${IMPALA_ORC_VERSION}/lib/liborc.a
# Replace the header files
rm orc-${IMPALA_ORC_VERSION}/include/orc/*
cp ${ORC_HOME}/build/c++/include/orc/orc-config.hh orc-${IMPALA_ORC_VERSION}/include/orc/
cp ${ORC_HOME}/c++/include/orc/*.hh orc-${IMPALA_ORC_VERSION}/include/orc/

# Recompile Impala
cd $IMPALA_HOME
make -j $(nproc) impalad