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 >
