pchang388 commented on issue #12701:
URL: https://github.com/apache/druid/issues/12701#issuecomment-1184864787

   Hi @AmatyaAvadhanula,
   
   Thank you again for your support and advice, I am not very familiar with 
Java but was able to follow the documentation and build the 0.23.0 release with 
the section you referenced commented out.
   
   My local machine is using Windows/WSL (not by choice, corporate requirements 
- I am limited to Windows and chose WSL to get close to a Unix like work 
station). In order to avoid potential issues with libraries and WSL 
combability, I opted to use a docker container as my build environment, 
Dockerfile below:
   
   ```
   FROM ubuntu:22.10
   
   RUN apt-get update -y && apt upgrade -y
   
   RUN apt-get install -y wget gnupg2 git vim software-properties-common 
   
   RUN wget -qO - https://apt.corretto.aws/corretto.key | apt-key add - \
       && add-apt-repository 'deb https://apt.corretto.aws stable main'
   
   RUN apt-get install -y python3-pip java-1.8.0-amazon-corretto-jdk maven
   
   RUN useradd --create-home --shell /bin/bash druidbuilder
   
   USER druidbuilder
   
   RUN python3 -m pip install pyyaml --user
   
   WORKDIR /home/druidbuilder
   ```
   
   Then cloned the druid repo inside the container and switched to 0.23.0 
release:
   ```
   # clone the remote repository
   git clone https://github.com/apache/druid.git
    
   # switch to the specific tag
   git checkout tags/druid-0.23.0
   ```
   
   And then use mvn to build the package:
   ```
   mvn clean install -Pdist,rat -DskipTests
   ```
   
   I then took the tarball and installed/configured the new druid build on all 
MM/Peon VMs. I am going to let task run a bit and report back when I get a 
chance on what I am seeing now with the changes


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to