You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Mike Percy (Code Review)" <ge...@cloudera.org> on 2019/03/27 00:08:10 UTC
[kudu-CR] RELEASING: add instructions to create binary test JARs
Hello Andrew Wong,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/12868
to review the following change.
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
RELEASING: add instructions to create binary test JARs
Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
---
M RELEASING.adoc
1 file changed, 32 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/68/12868/1
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 1:
(2 comments)
Looks good! A couple clarifying questions/suggestions
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc
File RELEASING.adoc:
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc@160
PS1, Line 160: # Build a binary JAR for the local operating system.
: ./build-support/mini-cluster/build_mini_cluster_binaries.sh
: # Sign and publish the JAR to the Maven staging repository used for the Java artifacts (see above).
: ./build-support/mini-cluster/publish_mini_cluster_binaries.sh -a=deploy -u="<APACHE-LDAP-USERNAME>" -p="<APACHE-LDAP-PASSWORD>"
Probably fine as is, but might also be helpful as a sanity check for people doing this for the first time to add a bit to the comments, details like:
"Build a binary JAR for the local operating system. This will generate JAR files in the mini-cluster subdirectory."
"Sign and publish the JAR to the Maven staging repository using the Java artifacts. This will publish all Kudu binary JARs, out of the current directory unless otherwise specified (see below)."
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc@171
PS1, Line 171: To publish an artifact built by someone else, say on another operating
: system, pass the `-j=directory_name` argument to the publish script to
: specify the location of the JAR file.
Maybe reword as:
"To publish an artifact outside of the `mini-cluster` directory, e.g. because it was built by someone else on another OS, pass the `-j=directory_name` argument to the publishing script to specify the location of the JAR file."
Also, does the user need to be careful about what the contents of directory_name are? Eg do they need to make sure there are no other JAR files in the directory, say if this were a Downloads folder? Or will the script only detect JARs built by the build script?
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Wed, 27 Mar 2019 01:07:00 +0000
Gerrit-HasComments: Yes
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Grant Henke (Code Review)" <ge...@cloudera.org>.
Grant Henke has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Tue, 05 Nov 2019 16:30:23 +0000
Gerrit-HasComments: No
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 2:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/12868/2/RELEASING.adoc
File RELEASING.adoc:
http://gerrit.cloudera.org:8080/#/c/12868/2/RELEASING.adoc@171
PS2, Line 171: result
> nit: resulting
Done
http://gerrit.cloudera.org:8080/#/c/12868/2/RELEASING.adoc@174
PS2, Line 174: m b
> nit: the build/mini-cluster directory
Done
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Tue, 05 Nov 2019 17:39:41 +0000
Gerrit-HasComments: Yes
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 1:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc
File RELEASING.adoc:
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc@160
PS1, Line 160: # Build a binary JAR for the local operating system.
: ./build-support/mini-cluster/build_mini_cluster_binaries.sh
: # Sign and publish the JAR to the Maven staging repository used for the Java artifacts (see above).
: ./build-support/mini-cluster/publish_mini_cluster_binaries.sh -a=deploy -u="<APACHE-LDAP-USERNAME>" -p="<APACHE-LDAP-PASSWORD>"
> Probably fine as is, but might also be helpful as a sanity check for people
I adopted these recommendations with slight modifications.
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc@171
PS1, Line 171: To publish an artifact built by someone else, say on another operating
: system, pass the `-j=directory_name` argument to the publish script to
: specify the location of the JAR file.
> Maybe reword as:
Done.
Yes: the script publishes all JARs in the directory if their name matches pattern kudu-binary-<version>-*.jar and the version in their artifact.version matches the version in the name of the file.
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Fri, 01 Nov 2019 06:01:15 +0000
Gerrit-HasComments: Yes
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Mike Percy (Code Review)" <ge...@cloudera.org>.
Mike Percy has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 1:
Rendered version here: https://github.com/mpercy/kudu/blob/how-to-release-bin-jar-1/RELEASING.adoc
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 1
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Wed, 27 Mar 2019 00:08:34 +0000
Gerrit-HasComments: No
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has uploaded a new patch set (#2) to the change originally created by Mike Percy. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
RELEASING: add instructions to create binary test JARs
Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
---
M RELEASING.adoc
1 file changed, 37 insertions(+), 6 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/68/12868/2
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has uploaded a new patch set (#3) to the change originally created by Mike Percy. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
RELEASING: add instructions to create binary test JARs
Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
---
M RELEASING.adoc
1 file changed, 37 insertions(+), 6 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/68/12868/3
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 3
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
RELEASING: add instructions to create binary test JARs
Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Reviewed-on: http://gerrit.cloudera.org:8080/12868
Reviewed-by: Alexey Serbin <as...@cloudera.com>
Tested-by: Alexey Serbin <as...@cloudera.com>
---
M RELEASING.adoc
1 file changed, 37 insertions(+), 6 deletions(-)
Approvals:
Alexey Serbin: Looks good to me, approved; Verified
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 4
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 3: Verified+1
Documentation-only patch.
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 3
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Tue, 05 Nov 2019 17:40:54 +0000
Gerrit-HasComments: No
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 3: Code-Review+2
Carrying over Andrew's +2 from PS2.
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 3
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Tue, 05 Nov 2019 17:40:33 +0000
Gerrit-HasComments: No
[kudu-CR] RELEASING: add instructions to create binary test JARs
Posted by "Andrew Wong (Code Review)" <ge...@cloudera.org>.
Andrew Wong has posted comments on this change. ( http://gerrit.cloudera.org:8080/12868 )
Change subject: RELEASING: add instructions to create binary test JARs
......................................................................
Patch Set 2: Code-Review+2
(3 comments)
Couple of grammar nits, otherwise LGTM
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc
File RELEASING.adoc:
http://gerrit.cloudera.org:8080/#/c/12868/1/RELEASING.adoc@171
PS1, Line 171: uild a binary JAR for the local operating system. The result JAR is output
: # into the build/mini-cluster directory.
: ./build-support/mini-cluster/build_
> Done.
Gotcha, thanks for clarifying!
http://gerrit.cloudera.org:8080/#/c/12868/2/RELEASING.adoc
File RELEASING.adoc:
http://gerrit.cloudera.org:8080/#/c/12868/2/RELEASING.adoc@171
PS2, Line 171: result
nit: resulting
http://gerrit.cloudera.org:8080/#/c/12868/2/RELEASING.adoc@174
PS2, Line 174: m b
nit: the build/mini-cluster directory
--
To view, visit http://gerrit.cloudera.org:8080/12868
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9c0419b666fe8dfa9394136962189eee97af2d38
Gerrit-Change-Number: 12868
Gerrit-PatchSet: 2
Gerrit-Owner: Mike Percy <mp...@apache.org>
Gerrit-Reviewer: Alexey Serbin <as...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <gr...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <mp...@apache.org>
Gerrit-Comment-Date: Fri, 01 Nov 2019 19:04:57 +0000
Gerrit-HasComments: Yes