You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Alexey Serbin (Code Review)" <ge...@cloudera.org> on 2019/11/13 02:19:28 UTC

[kudu-CR] [mini-cluster] fix on building mini-cluster JAR

Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/14702


Change subject: [mini-cluster] fix on building mini-cluster JAR
......................................................................

[mini-cluster] fix on building mini-cluster JAR

Prior to this patch, build_mini_cluster_binaries.sh script didn't
properly handle the case of running in the same workspace that
was used to build the mini-cluster JAR for prior releases.  That
might result in not building the required JAR, so no binary
content would be uploaded by running publish_mini_cluster_binaries.sh
script later on.

This patch fixes the issue: by default, the build directory
is re-created upon every run of the build_mini_cluster_binaries.sh
script unless MINI_CLUSTER_NO_FRESH_BUILD environment variable is set.
Also, even if MINI_CLUSTER_NO_FRESH_BUILD is set and the build directory
is not re-created, the script now warns on ambiguity when multiple
artifact directories are present.

Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
---
M build-support/mini-cluster/build_mini_cluster_binaries.sh
1 file changed, 16 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/14702/1
-- 
To view, visit http://gerrit.cloudera.org:8080/14702
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
Gerrit-Change-Number: 14702
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>

[kudu-CR] [mini-cluster] fix on building mini-cluster JAR

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Hello Kudu Jenkins, Adar Dembo, Grant Henke, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/14702

to look at the new patch set (#2).

Change subject: [mini-cluster] fix on building mini-cluster JAR
......................................................................

[mini-cluster] fix on building mini-cluster JAR

Prior to this patch, build_mini_cluster_binaries.sh script didn't
properly handle the case of running in the same workspace that
was used to build the mini-cluster JAR for prior releases.  That
might result in not building the required JAR, so no binary
content would be uploaded by running publish_mini_cluster_binaries.sh
script later on.

This patch fixes the issue: by default, the build directory
is re-created upon every run of the build_mini_cluster_binaries.sh
script unless MINI_CLUSTER_NO_FRESH_BUILD environment variable is set.
Also, even if MINI_CLUSTER_NO_FRESH_BUILD is set and the build directory
is not re-created, the script now warns on ambiguity when multiple
artifact directories are present.

Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
---
M build-support/mini-cluster/build_mini_cluster_binaries.sh
1 file changed, 18 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/14702/2
-- 
To view, visit http://gerrit.cloudera.org:8080/14702
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
Gerrit-Change-Number: 14702
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)

[kudu-CR] [mini-cluster] fix on building mini-cluster JAR

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/14702 )

Change subject: [mini-cluster] fix on building mini-cluster JAR
......................................................................


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/14702/1/build-support/mini-cluster/build_mini_cluster_binaries.sh
File build-support/mini-cluster/build_mini_cluster_binaries.sh:

http://gerrit.cloudera.org:8080/#/c/14702/1/build-support/mini-cluster/build_mini_cluster_binaries.sh@81
PS1, Line 81:   mv $BUILD_ROOT $BUILD_ROOT.$suffix
> Maybe log this action?
Done


http://gerrit.cloudera.org:8080/#/c/14702/1/build-support/mini-cluster/build_mini_cluster_binaries.sh@134
PS1, Line 134:   echo "ERROR: this script can handle only single kudu-binary artifact;"
> Maybe log all of the matching artifacts?
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/14702
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
Gerrit-Change-Number: 14702
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 13 Nov 2019 15:23:14 +0000
Gerrit-HasComments: Yes

[kudu-CR] [mini-cluster] fix on building mini-cluster JAR

Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/14702 )

Change subject: [mini-cluster] fix on building mini-cluster JAR
......................................................................


Patch Set 1: Code-Review+2

(2 comments)

http://gerrit.cloudera.org:8080/#/c/14702/1/build-support/mini-cluster/build_mini_cluster_binaries.sh
File build-support/mini-cluster/build_mini_cluster_binaries.sh:

http://gerrit.cloudera.org:8080/#/c/14702/1/build-support/mini-cluster/build_mini_cluster_binaries.sh@81
PS1, Line 81:   mv $BUILD_ROOT $BUILD_ROOT.$suffix
Maybe log this action?


http://gerrit.cloudera.org:8080/#/c/14702/1/build-support/mini-cluster/build_mini_cluster_binaries.sh@134
PS1, Line 134:   echo "ERROR: this script can handle only single kudu-binary artifact;"
Maybe log all of the matching artifacts?



-- 
To view, visit http://gerrit.cloudera.org:8080/14702
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
Gerrit-Change-Number: 14702
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 13 Nov 2019 06:24:01 +0000
Gerrit-HasComments: Yes

[kudu-CR] [mini-cluster] fix on building mini-cluster JAR

Posted by "Adar Dembo (Code Review)" <ge...@cloudera.org>.
Adar Dembo has posted comments on this change. ( http://gerrit.cloudera.org:8080/14702 )

Change subject: [mini-cluster] fix on building mini-cluster JAR
......................................................................


Patch Set 2: Code-Review+2


-- 
To view, visit http://gerrit.cloudera.org:8080/14702
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
Gerrit-Change-Number: 14702
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Wed, 13 Nov 2019 17:38:30 +0000
Gerrit-HasComments: No

[kudu-CR] [mini-cluster] fix on building mini-cluster JAR

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/14702 )

Change subject: [mini-cluster] fix on building mini-cluster JAR
......................................................................

[mini-cluster] fix on building mini-cluster JAR

Prior to this patch, build_mini_cluster_binaries.sh script didn't
properly handle the case of running in the same workspace that
was used to build the mini-cluster JAR for prior releases.  That
might result in not building the required JAR, so no binary
content would be uploaded by running publish_mini_cluster_binaries.sh
script later on.

This patch fixes the issue: by default, the build directory
is re-created upon every run of the build_mini_cluster_binaries.sh
script unless MINI_CLUSTER_NO_FRESH_BUILD environment variable is set.
Also, even if MINI_CLUSTER_NO_FRESH_BUILD is set and the build directory
is not re-created, the script now warns on ambiguity when multiple
artifact directories are present.

Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
Reviewed-on: http://gerrit.cloudera.org:8080/14702
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>
---
M build-support/mini-cluster/build_mini_cluster_binaries.sh
1 file changed, 18 insertions(+), 1 deletion(-)

Approvals:
  Kudu Jenkins: Verified
  Adar Dembo: Looks good to me, approved

-- 
To view, visit http://gerrit.cloudera.org:8080/14702
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic2d5c2a83e2a0ab959e2eb7898d47ab736cd1e1f
Gerrit-Change-Number: 14702
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <ad...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)