Sorry I forgot to mention once you  extract the JAR file, copy or symlink
it to $SPARK_HOME/jars directory

HTH

Mich Talebzadeh,
Architect | Data Science | Financial Crime | Forensic Analysis | GDPR

   view my Linkedin profile
<https://www.linkedin.com/in/mich-talebzadeh-ph-d-5205b2/>





On Tue, 21 Jan 2025 at 19:02, Mich Talebzadeh <mich.talebza...@gmail.com>
wrote:

> Well, I had an old archive. This is on linux. Create an sh file say*
> procedure.sh *using vi and put the commands below there. Don't forget to
> do *chmod +x procedure.sh a*t the end after saving the file
>
> #!/bin/bash
> # Exit immediately if a command exits with a non-zero status
> set -e
> # Move to the temp directory
> cd /var/tmp
> # Download Hive 1.2.1 source
> wget
> https://archive.apache.org/dist/hive/hive-1.2.1/apache-hive-1.2.1-src.tar.gz
> # Extract the source code
> tar -xzf apache-hive-1.2.1-src.tar.gz
> # Navigate to the source directory
> cd apache-hive-1.2.1-src
> # Proceed with your  Modifications and Build
> # Check if Maven is installed
> if ! command -v mvn &> /dev/null; then
>     echo "Maven is not installed. Exiting."
>     exit 1
> fi
> # Navigate to the ql module and build the JAR
> cd ql
> *mvn clean package -DskipTests*
> echo "Build complete! The JARfile  is located in:
> /var/tmp/apache-hive-1.2.1-src/ql/target/"
>
> HTH
>
> Mich Talebzadeh,
> Architect | Data Science | Financial Crime | Forensic Analysis | GDPR
>
>    view my Linkedin profile
> <https://www.linkedin.com/in/mich-talebzadeh-ph-d-5205b2/>
>
>
>
>
>
> On Tue, 21 Jan 2025 at 02:42, 王则杰 <wangzj...@gmail.com> wrote:
>
>> I need to modify some codes in hive-exec, how do I re
>> build org.spark-project.hive-exec-1.2.1.spark2.jar?
>>
>>

Reply via email to