Hi All, Thank you for verifying the release candidate 0. Given that it has issues, I'm cancelling the voting. Will fix and create rc1.
Thanks, Dmitriy On Fri, Nov 14, 2025 at 11:14 AM Dmitriy Fingerman < [email protected]> wrote: > Hi Butao, > > Yes, there is an .idea folder in hive sources tarball. > Will fix in 4.2.0-rc1. > > Thanks, > Dmitriy > > On Fri, Nov 14, 2025 at 3:25 AM Butao Zhang <[email protected]> wrote: > >> Hi folks, >> >> If you use `mvn clean install -DskipTests -Pdist` to compile the >> Hive source package, you will encounter this exception. I reviewed the >> content of `apache-hive-4.2.0-src/target/rat.txt`, which shows that there >> is a `.idea` directory under the `itests` directory. This directory >> contains 11 unknown licenses. I believe this directory should be removed >> from the source package. >> >> ***************************************************** >> Summary >> ------- >> Generated at: 2025-11-14T16:16:16+08:00 >> Notes: 4 >> Binaries: 1 >> Archives: 0 >> Standards: 530 >> Apache Licensed: 519 >> Generated Documents: 0 >> JavaDocs are generated, thus a license header is optional. >> Generated files do not require license headers. >> 11 Unknown Licenses >> ***************************************************** >> Files with unapproved licenses: >> itests/.idea/encodings.xml >> itests/.idea/jarRepositories.xml >> itests/.idea/modules.xml >> itests/.idea/vcs.xml >> itests/.idea/misc.xml >> itests/.idea/codeStyles/Project.xml >> itests/.idea/codeStyles/codeStyleConfig.xml >> itests/.idea/workspace.xml >> itests/.idea/compiler.xml >> itests/.idea/libraries/DummyUDF.xml >> itests/.idea/libraries/target.xml >> ***************************************************** >> >> ---- Replied Message ---- >> From Shohei Okumiya<[email protected]> <[email protected]> >> Date 11/14/2025 15:28 >> To <[email protected]> <[email protected]> >> Subject Re: [VOTE] Apache Hive 4.2.0 Release Candidate 0 >> Hi, >> >> Thanks for preparing the release artifact. I attempted to build Hive, and >> I didn't see the RAT issue. Might it be a local issue of Butao's >> environment? >> >> These are the steps I tested. >> >> 1. Download `apache-hive-4.2.0-src.tar.gz` >> 2. Untar it >> 3. Prepare a containerized environment with the following Docker command >> 4. `mvn clean install -Pdist,itests -DskipTests` >> >> ``` >> docker run --rm -it \ >> -v $HOME/.m2:/root/.m2 \ >> -v $PWD:/root/hive \ >> -w /root/hive \ >> maven:3.9.11-eclipse-temurin-21 \ >> /bin/bash >> ``` >> >> I have not tested other points; I plan to check them after rc1 is created. >> >> Best, >> Okumin >> >> >> On Fri, Nov 14, 2025 at 2:09 AM Dmitriy Fingerman < >> [email protected]> wrote: >> >>> Hi Butao, >>> >>> Thank you for checking the release candidate artifacts and catching the >>> issue with building Hive Metastore from sources. >>> I found that it happens because the new metastore-client module was >>> forgotten to be added to metastore sources assembly. >>> I opened HIVE-29315 <https://issues.apache.org/jira/browse/HIVE-29315> to >>> fix this issue and am working on it. >>> >>> However, I re-checked, and didn't find the RAT issue when building Hive >>> from sources - the build passed with this command: >>> "mvn clean install -Pdist,itests,iceberg -DskipTests" >>> >>> Thanks, >>> Dmitriy Fingerman >>> >>> On Wed, Nov 12, 2025 at 9:39 PM Butao Zhang <[email protected]> wrote: >>> >>>> Hi Dmitriy, >>>> >>>> Thanks for driving the release! >>>> I tried build the hive & standalone HMS using the source packages, but >>>> failed. Please see the following details: >>>> >>>> ----------------------Hive binary package and src package >>>> validations:----------------------- >>>> [1] Verified signatures and checksums OK >>>> >>>> [2] Failed built from hive source apache-hive-4.2.0-src.tar.gz: >>>> [ERROR] Failed to execute goal >>>> org.apache.rat:apache-rat-plugin:0.16.1:check (default) on project hive: >>>> Too many files with unapproved license: 11 See RAT report in: >>>> /data/work/hive420rel/apache-hive-4.2.0-src/target/rat.txt -> [Help 1] >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >>>> [ERROR] >>>> [ERROR] After correcting the problems, you can resume the build with >>>> the command >>>> [ERROR] mvn <args> -rf :hive >>>> >>>> >>>> --------------------Standalone HMS binary package and src package >>>> validations:------------------ >>>> [1] Verified signatures and checksums OK >>>> >>>> [2] Failed built from Standalone HMS source >>>> hive-standalone-metastore-4.2.0-src.tar.gz: >>>> [INFO] Scanning for projects... >>>> [ERROR] [ERROR] Some problems were encountered while processing the >>>> POMs: >>>> [ERROR] Child module >>>> /data/work/hive420rel/apache-hive-metastore-4.2.0-src/metastore-client of >>>> /data/work/hive420rel/apache-hive-metastore-4.2.0-src/pom.xml does not >>>> exist @ >>>> @ >>>> [ERROR] The build could not read 1 project -> [Help 1] >>>> [ERROR] >>>> [ERROR] The project org.apache.hive:hive-standalone-metastore:4.2.0 >>>> (/data/work/hive420rel/apache-hive-metastore-4.2.0-src/pom.xml) has 1 error >>>> [ERROR] Child module >>>> /data/work/hive420rel/apache-hive-metastore-4.2.0-src/metastore-client of >>>> /data/work/hive420rel/apache-hive-metastore-4.2.0-src/pom.xml does not >>>> exist >>>> [ERROR] >>>> [ERROR] To see the full stack trace of the errors, re-run Maven with >>>> the -e switch. >>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException >>>> >>>> >>>> >>>> ---- Replied Message ---- >>>> From Dmitriy Fingerman<[email protected]> <[email protected]> >>>> Date 11/13/2025 08:36 >>>> To <[email protected]> <[email protected]> >>>> Subject [VOTE] Apache Hive 4.2.0 Release Candidate 0 >>>> Hello Apache Hive community, >>>> >>>> This is a call for vote to release Apache Hive 4.2.0 Release Candidate >>>> 0. >>>> >>>> >>>> Apache Hive 4.2.0 Release Candidate 0 is available here: >>>> https://dist.apache.org/repos/dist/dev/hive/hive-4.2.0/ >>>> >>>> https://dist.apache.org/repos/dist/dev/hive/hive-standalone-metastore-4.2.0/ >>>> >>>> >>>> The checksums are these: >>>> 8984a57af22c40119df88235e8d909e794d9844d1adad49eb860ae8b8113a549 >>>> apache-hive-4.2.0-bin.tar.gz >>>> fd8b19c679aaa53da2dca882576c5f4aa95824c70ffe1c96f73379bd418d79a3 >>>> apache-hive-4.2.0-src.tar.gz >>>> db38b0b8eac65954071237b48e9c03b0e4780388ab1d99839812cc522b7c74c0 >>>> hive-standalone-metastore-4.2.0-bin.tar.gz >>>> 5b757295d07fec4226ff6411047b4a3ab34a2f9e4dadf9b522f65db27d009a04 >>>> hive-standalone-metastore-4.2.0-src.tar.gz >>>> >>>> >>>> You can find the KEYS file here: >>>> https://downloads.apache.org/hive/KEYS >>>> >>>> >>>> Maven artifacts are available here: >>>> https://repository.apache.org/content/repositories/orgapachehive-1141/ >>>> >>>> >>>> The tag release-4.2.0-rc0 has been applied to the source for this >>>> release in github, you can see it at >>>> https://github.com/apache/hive/tree/rel/release-4.2.0-rc0 >>>> >>>> >>>> The git commit hash is: >>>> >>>> https://github.com/apache/hive/commit/76e72a2b1d7406a9ff0ef79ed7329e5b20403dde >>>> >>>> >>>> The vote is open for the next 72 hours and passes if a majority of at >>>> least >>>> three +1 PMC votes are cast. >>>> >>>> >>>> (Only PMC members have binding votes, however, other community members >>>> are encouraged to cast non-binding votes.) >>>> >>>> >>>> [ ] +1 Release this package as Apache Hive 4.2.0 >>>> [ ] +0 >>>> [ ] -1 Do not release this because... >>>> >>>> >>>> Please download, verify, and test. >>>> >>>> >>>> >>>> Thanks, >>>> Dmitriy Fingerman >>>> >>>
