On 5/25/23 19:58, vihang karajgaonkar wrote:
I just tried the job and it worked as expected. Thanks! If I understand correctly, the job retains builds for 180 days. Does it mean if there were no commits to a branch for more than 180 days, we will lose the build artifacts eventually?
not entirely - the removal of old builds is a post-build action; which means - if there are no builds; the removal logic will never run https://plugins.jenkins.io/discard-old-build/ on the other hand I wonder how much value a nightly build can still provide after 180 days :) preferably - a real release should be done after some time :) cheers, Zoltan
On Thu, May 25, 2023 at 1:50 AM Zoltan Haindrich <k...@rxd.hu> wrote:Hey Vihang, I've added you as an admin; and I've copied the job as http://ci.hive.apache.org/job/hive-nightly-branch-3/ other option could be to trigger the original job or use parameterized-scheduler but that would configure a real unconditional nightly build - which will just build the same version over-and-over again if there are no changes... ...the current nighly is SCM triggered ; but only once-a-day it makes a check which creates the desired results. the least painfull was to copy the job; I guess no-one touched the pipeline script ever since it was introduced :D cheers, Zoltan On 5/25/23 01:26, vihang karajgaonkar wrote:I created https://issues.apache.org/jira/browse/HIVE-27371 to havenightlybuilds for branch-3. Once that is merged, I think we can have scheduled builds for branch-3 as well. Although, I don't have permissions tocreate anew job for branch-3. Does anyone know how to do it? Thanks, Vihang On Wed, May 24, 2023 at 10:07 AM vihang karajgaonkar <vihan...@apache.org>wrote:The nightly job http://ci.hive.apache.org/job/hive-nightly/ is great.Canwe have this for branch-3 as well since we have been backporting a lotofPRs to branch-3 lately. Thanks, Vihang On Wed, May 24, 2023 at 6:56 AM Zoltan Haindrich <k...@rxd.hu> wrote:Hey, > We already have nightly builds for Hive [1]. > [1] http://ci.hive.apache.org/job/hive-nightly/ ...and hive-dev-box can launch such archives; either by using it like this: https://www.mail-archive.com/dev@hive.apache.org/msg142420.html or with a somewhat longer command you could launch hdb in bazaar mode; and have an HS2 running with a nightly version: docker run --rm -d -p 10000:10000 -v hive-dev-box_work:/work -e HIVE_VERSION=http://ci.hive.apache.org/job/hive-nightly/lastSuccessfulBuild/artifact/archive/apache-hive-4.0.0-nightly-b0b3fde70c-20230524_014711-bin.tar.gz--name hive kgyrtkirk/hive-dev-box:bazaar cheers, Zoltan On 5/24/23 09:15, Stamatis Zampetakis wrote:Hey all, We already have nightly builds for Hive [1]. Do we need something more than that? Best, Stamatis [1] http://ci.hive.apache.org/job/hive-nightly/ On Tue, May 23, 2023 at 9:03 AM vihang karajgaonkar <vihan...@apache.org> wrote:I think there are many benefits like others in this thread suggestedwhichcan be built on top of nightly builds. Having docker images is greatbutfor now I think we can start simple and publish the jars. Many usersstilljust deploy using jars and it would be useful to them. Once we have a docker environment we can add a docker image too to the nightlybuildssothat users can choose their preferred way. On Mon, May 22, 2023 at 11:07 PM Sungwoo Park <glap...@gmail.com>wrote:I think such nightly builds will be useful for testing and debuggingin thefuture. I also wonder if we can somehow create builds even from previouscommits(e.g., for the past few years). Such builds from previous commitsdon'thave to be daily builds, and I think weekly builds (or even monthlybuilds)would also be very useful. The reason I wish such builds were available is to facilitatedebugging andtesting. When tested against the TPC-DS benchmark, the currentmasterbranch has several correctness problems that were introduced aftertherelease of Hive 3.1.2. We have reported all problems known to us in[1] andalso submitted several patches. If such nightly builds had beenavailable,we would have saved quite a bit of time for implementing the patchesbyquickly finding offending commits that introduced new correctnessbugs.In addition, you can find quite a few commits in the master branchthatreport bugs which are not reproduced in Hive 3.1.2. Examples:HIVE-19990,HIVE-14557, HIVE-21132, HIVE-21188, HIVE-21544, HIVE-22114, HIVE-22227, HIVE-22236, HIVE-23911, HIVE-24198, HIVE-22777, HIVE-25170, HIVE-25864, HIVE-26671. (There may be some errors in this list because we compared againstHive3.1.2 with many patches backported.) Such nightly builds can beuseful forfinding root causes of such bugs. Ideally I wish there was an automated procedure to create nightlybuilds,run TPC-DS benchmark, and report correctness/performance results,althoughthis would be quite hard to implement. (I remember Spark implementedthisprocedure in the era of Spark 2, but my memory could be wrong.) [1] https://issues.apache.org/jira/browse/HIVE-26654 On Tue, May 23, 2023 at 10:44 AM Ayush Saxena <ayush...@gmail.com>wrote:Hi Vihang, +1, We were even exploring publishing the docker images of thesnapshotversion as well per commit or maybe weekly, so just shoot 2 dockercommandsand you get a Hive cluster running with master code. Sai, I think to spin up an env via Docker with all these thingsshould bedoable for sure, but would require someone with real good expertisewithdocker as well as setting up these services with Hive. Obviously, Iamnotthat guy :-) @Simhadri has a PR which publishes docker images once a release tagispushed, you can explore to have similar stuff for the Snapshotversion,maybe if that sounds cool -Ayush On Tue, 23 May 2023 at 04:26, Sai Hemanth Gantasala <saihema...@cloudera.com.invalid> wrote:Hi Vihang, +1 on the idea. This is a great idea to quickly test if a certain feature isworking asexpected on a certain branch. This way we test data loss, correctness, or any other unexpectedscenariosthat are Hive specific only. However, I'm wondering if it ispossibletodeploy/test in a kerberized environment or issues involvingauthorizationservices like sentry/ranger. Thanks, Sai. On Mon, May 22, 2023 at 11:15 AM vihang karajgaonkar <vihan...@apache.org>wrote:Hello Team, I have observed that it is a common use-case where users wouldliketotestout unreleased features/bug fixes either to unblock them or testoutifthebug fixes really work as intended in their environments. Today inthecaseof Apache Hive, this is not very user friendly because itrequirestheenduser to build the binaries directly from the hive source code. I found that Apache Spark has a very useful infrastructure [1]whichdeploys nightly snapshots [2] [3] from the branch using githubactions.This is super useful for any user who wants to try out the latestandgreatest using the nightly builds. I was wondering if we should also adopt this. We can use githubactionstoupload the snapshot jars to the public repository (e.g githubpackages)andschedule it as a nightly job. [1] https://issues.apache.org/jira/browse/INFRA-21167 [2]https://github.com/apache/spark/pkgs/container/apache-spark-ci-image[3] https://github.com/apache/spark/pull/30623 I can take a stab at this if the community thinks that this is anicethingto have. Thanks, Vihang
OpenPGP_signature
Description: OpenPGP digital signature