Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT USE] Add data model and initial implementation for backup #15

Open
wants to merge 119 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
66e9eda
ZOOKEEPER-3651: try to fix flaky NettyServerCnxnFactoryTest
symat Dec 16, 2019
be57cc2
ZOOKEEPER-3653: Audit Log feature fails in a stand alone zookeeper setup
sujithsimon22 Dec 19, 2019
a21632b
ZooKeeper 3.6.0 release notes draft
eolivelli Dec 19, 2019
97b2f8c
ZOOKEEPER-3648: remove Hadoop logo in the ZooKeeper documentation
rabi-kumar Dec 23, 2019
dbe29a9
ZOOKEEPER-3056: fix documentation.
hanm Dec 23, 2019
034bcda
ZOOKEEPER-3512: Real time data consistency check during broadcast time
lvfangmin Dec 27, 2019
59f7bbf
ZOOKEEPER-3668: Clean up release package for 3.6.0
eolivelli Jan 6, 2020
d01dac1
ZOOKEEPER-3640: Implement "batch mode" in cli_mt
ztzg Jan 6, 2020
260c889
ZOOKEEPER-3638: Update Jetty to 9.4.24.v20191120
coheigea Jan 6, 2020
3aa3029
ZOOKEEPER-2083: Remove deprecated class AuthFastLeaderElection
rabi-kumar Jan 9, 2020
901d82c
ZOOKEEPER-3649: Add a line break in ls -s CLI
rabi-kumar Jan 9, 2020
dc673cb
ZOOKEEPER-3411: Remove deprecated ls2 and rmr command
rabi-kumar Jan 9, 2020
dc57f63
Update release notes
eolivelli Jan 11, 2020
fea678d
ZOOKEEPER-3695: Source release tarball does not match repository in 3…
Jan 17, 2020
b4d9e57
ZOOKEEPER-3677: owasp checker failing for - CVE-2019-17571 Apache Log…
eolivelli Jan 18, 2020
261f8b8
ZOOKEEPER-3667: Setting jute.maxbuffer value in hexadecimal throws Ex…
sujithsimon22 Jan 20, 2020
1066de7
ZOOKEEPER-3613: ZKConfig fails to return proper value on getBoolean()…
sujithsimon22 Jan 20, 2020
ad425ce
ZOOKEEPER-3669: Use switch Statement in ClientCnxn SendThread
belugabehr Jan 21, 2020
cf2e5d1
ZOOKEEPER-3482: add unit tests for client SASL authentication over SSL
symat Jan 22, 2020
b0debb0
ZOOKEEPER-3699: upgrade jackson-databind to address CVE-2019-20330
phunt Jan 23, 2020
8352f78
ZOOKEEPER-3698: fixing NoRouteToHostException when starting large clu…
symat Jan 23, 2020
6495a7a
ZOOKEEPER-1936: Server exits when unable to create data directory due…
anmolnar Jan 23, 2020
56a6a03
ZOOKEEPER-3704: upgrade maven dependency-check to 5.3.0
phunt Jan 23, 2020
2a6f1e3
ZOOKEEPER-3567: add SSL support for zkpython
symat Jan 27, 2020
eedf26b
ZOOKEEPER-1105: wait for server response in C client zookeeper_close
symat Jan 28, 2020
9b6badb
ZOOKEEPER-3701: Split brain on log disk full
anmolnar Jan 28, 2020
2c232e3
Update release notes before 3.6.0rc1
eolivelli Jan 29, 2020
1ec2481
ZOOKEEPER-3231: Purge task may lost data when the recent snapshots ar…
maoling Jan 30, 2020
955b4bf
ZOOKEEPER-3695: Source release tarball does not match repository in 3…
eolivelli Feb 1, 2020
fc43a29
ZOOKEEPER-3708: Move Logging Code into Logging Guard in Learner
belugabehr Feb 3, 2020
4d36ede
ZOOKEEPER-3716: upgrade netty 4.1.42 to address CVE-2019-20444 CVE-20…
phunt Feb 4, 2020
d95c5a3
ZOOKEEPER-3715: fix Kerberos test failures for new JDK versions
symat Feb 4, 2020
3008ab7
ZOOKEEPER-3703: publish a test JAR
Feb 4, 2020
5bf63d7
Update release notes for 3.6.0rc2
eolivelli Feb 4, 2020
824d26f
ZOOKEEPER-3710: [trivial bug] fix compile error in PurgeTxnTest intro…
maoling Jan 31, 2020
d4681c7
ZOOKEEPER-3720: Fix rolling upgrade failure (invalid protocol version)
symat Feb 16, 2020
3da01e0
Fix release notes for 3.6.0rc3
eolivelli Feb 17, 2020
9807f0a
ZOOKEEPER-3734: upgrade jackson-databind to address CVE-2020-8840
eolivelli Feb 23, 2020
3c4f24b
ZOOKEEPER-3733: Fix issues reported in 3.6.0rc3
eolivelli Feb 24, 2020
5919360
Update release notes
eolivelli Feb 25, 2020
06d4a8f
ZOOKEEPER-3741: fix buffer length in C client causing warning with ne…
symat Feb 27, 2020
3dcc996
ZOOKEEPER-3737: Detect log4j 1.2 jmx support better
ctubbsii Mar 1, 2020
a93ff0f
ZOOKEEPER-3738: Use mavanagaiata for git commit id
ctubbsii Mar 2, 2020
5628639
ZOOKEEPER-3740: fix flaky PurgeTxnTest.testPurgeWhenLogRollingInProgress
symat Mar 3, 2020
e99e78d
Start ZooKeeper 3.6.1-SNAPSHOT
eolivelli Mar 3, 2020
29b0122
ZOOKEEPER-2164: Quorum members can not rejoin after restart
symat Mar 12, 2020
f7eca70
ZOOKEEPER-3751: upgrade jackson-databind to 2.10 from 2.9
phunt Mar 14, 2020
cb8456c
ZOOKEEPER-3745: Update copyright notices from 2019 to 2020
tisonkun Mar 14, 2020
a1d1654
ZOOKEEPER-3758: Leader reachability check fails with single address
symat Mar 19, 2020
d3ac233
ZOOKEEPER-3739: Remove unsupported com.sun API
ctubbsii Mar 20, 2020
001ed3b
ZOOKEEPER-3763: Restore ZKUtil.deleteRecursive in order to help compa…
Mar 22, 2020
97db693
ZOOKEEPER-3756: Members slow to rejoin quorum using Kubernetes
symat Mar 23, 2020
891d81d
ZOOKEEPER-3760: remove a useless throwing CliException
lingjinjiang Mar 26, 2020
c5f55eb
ZOOKEEPER-3689: zkCli/ZooKeeperMain relies on system properties for T…
sankalpbhatia Mar 26, 2020
07449c6
ZOOKEEPER-3755: Use maven to create fatjar
sushantmane Mar 26, 2020
1a28de7
ZOOKEEPER-3771: Update zk-merge-pr script to Python3
tisonkun Mar 31, 2020
68466c8
ZOOKEEPER-3769: handling malformed Leader Election notification messages
symat Apr 7, 2020
5062c39
ZOOKEEPER-3780: restore Version.getRevision() to be bacward compatible
nkalmar Apr 7, 2020
17374c0
ZOOKEEPER-3785: Make sources buildable with JDK14
eolivelli Apr 7, 2020
1d25e0f
ZooKeeper 3.6.1 release notes
eolivelli Apr 10, 2020
754cf01
ZOOKEEPER-3726: invalid ipv6 address comparison in C client
vtyulb Apr 11, 2020
e2aef19
ZOOKEEPER-3793: Request throttling is broken when RequestThrottler is…
hanm Apr 12, 2020
37e3032
Add ZOOKEEPER-3793 to release notes
eolivelli Apr 12, 2020
8a8ec3d
ZOOKEEPER-3794: upgrade netty to address CVE-2020-11612
phunt Apr 15, 2020
4d1ddef
ZOOKEEPER-3738: Fix VerGen when mvngit.commit.id is null
ctubbsii Apr 15, 2020
fbe16c9
add ZOOKEEPER-3794 to release notes
eolivelli Apr 15, 2020
d7b78e0
Prepared 3.6.1
eolivelli Apr 15, 2020
1964b1b
Prepared 3.6.2-SNAPSHOT
eolivelli Apr 15, 2020
7cc5e6a
Fix pom.xml files that contained bad version 3.7.0-SNAPSHOT
eolivelli Apr 17, 2020
c5b4c23
ZOOKEEPER-3797: Conflict between fatjar and full-build Maven profiles
eolivelli Apr 18, 2020
b57d0e9
add ZOOKEEPER-3726 and ZOOKEEPER-3797 to release notes
eolivelli Apr 19, 2020
2400149
ZOOKEEPER-3802: Fix rat checks in full-build and fatjar
ctubbsii Apr 20, 2020
e64a74f
Add ZOOKEEPER-3802 to release notes
eolivelli Apr 21, 2020
21221ac
ZOOKEEPER-3790: zkpython compilation and testing issues
ztzg Apr 27, 2020
adb0d29
ZOOKEEPER-3678: Remove Redundant GroupID from Maven POMs
belugabehr Jan 13, 2020
8bd0d5e
ZOOKEEPER-3679: Upgrade maven-compiler-plugin For ZooKeeper-jute
belugabehr Jan 8, 2020
5b548ff
ZOOKEEPER-3794: upgrade netty to address CVE-2020-11612 - fixed file …
phunt May 4, 2020
6f23dfb
ZOOKEEPER-3817: suppress log4j SmtpAppender related CVE-2020-9488
symat May 4, 2020
aa930d8
ZOOKEEPER-3813: FileChangeWatcherTest is broken on Mac
anmolnar May 4, 2020
02816bb
ZOOKEEPER-3772: JettyAdminServer should not allow Http TRACE method
lingjinjiang May 5, 2020
cbfb839
ZOOKEEPER-3761: Upgrade JLine version to 2.14.6
May 12, 2020
6cf8b02
ZOOKEEPER-3818: client SSL support for zkServer.sh status command
symat May 12, 2020
16ddfea
ZOOKEEPER-3834: Do Not Set Explicit Test Includes in POM
belugabehr May 20, 2020
977881f
ZOOKEEPER-3792: fix apidocs path
nkalmar May 21, 2020
751d63a
ZOOKEEPER-3832: ZKHostnameVerifier rejects valid certificates with su…
anmolnar May 21, 2020
48f037f
ZOOKEEPER-3829: fix rolling restart when dynamic reconfig is disabled
symat May 29, 2020
cf131e7
ZOOKEEPER-3845: Add metric JVM_PAUSE_TIME
Jun 8, 2020
352fea2
ZOOKEEPER-3856: Add a couple metrics to track inflight diff syncs and…
Jun 8, 2020
4abe50c
ZOOKEEPER-3831: add a compatibility test module
Randgalt Jun 8, 2020
5e73d16
ZOOKEEPER-3831: [ADDENDUM] fix apache-rat error, add missing apache l…
nkalmar Jun 10, 2020
8ae8d33
ZOOKEEPER-3857: ZooKeeper branch-3.6 doesn't build after Curator test…
tamaashu Jun 10, 2020
9d0e374
ZOOKEEPER-3865: fix backward-compatibility for ZooKeeperServer constr…
symat Jun 19, 2020
08b30f9
ZOOKEEPER-3878: Client connection fails if IPV6 is not enclosed in sq…
Jul 13, 2020
b796192
ZOOKEEPER-3896: Migrate Jenkins jobs to Jenkinsfile based Pipeline
anmolnar Jul 24, 2020
59cb1d1
ZOOKEEPER-3896: PollSCM hourly only to let previous builds to finish
anmolnar Jul 24, 2020
0535fac
ZOOKEEPER-3896: Remove badly behaving PollSCM trigger
anmolnar Jul 27, 2020
536593f
ZOOKEEPER-3112: fix fd leak due to UnresolvedAddressException on connect
Jul 28, 2020
c6495b6
ZOOKEEPER-3896: Added separate Jenkinsfile for PreCommit jobs + disab…
anmolnar Jul 29, 2020
f6b7b1b
ZOOKEEPER-3876: zkServer.sh status command fails when IPV6 is configured
arshadmohammad Jul 29, 2020
3dbfdf9
ZOOKEEPER-3895: Client side NullPointerException in case of empty Mul…
eolivelli Jul 29, 2020
07400df
ZOOKEEPER-3885: add locking for watchers hashtables
tudor Jul 31, 2020
8bcaf7b
ZOOKEEPER-3905: Race condition causes sessions to be created for clie…
anmolnar Aug 12, 2020
b1e0380
ZOOKEEPER-3896: Added cleanup bits to all ZK builds
anmolnar Aug 14, 2020
ec272f3
ZOOKEEPER-3913: Upgrade to Netty 4.1.50.Final
odidev Aug 21, 2020
b42d76c
ZOOKEEPER-3893: Enhance documentation for property ssl.clientAuth
sankalpbhatia Aug 24, 2020
3d31714
ZOOKEEPER-3801: update CI link to https://ci-hadoop.apache.org/view/Z…
eolivelli Aug 27, 2020
cea9801
ZOOKEEPER-3924: Netty and JLine Licenses are inconsistent with jars i…
eolivelli Sep 3, 2020
df7900d
prepare 3.6.2 release notes
eolivelli Aug 30, 2020
10358c3
Fix 3.6.2 release notes
eolivelli Aug 31, 2020
1198472
add item to release notes
eolivelli Sep 4, 2020
803c7f1
Prepared 3.6.2
eolivelli Sep 4, 2020
dab3e3f
Add GitHub Action workflows
narendly Sep 1, 2020
5a0cd41
Add distribution management for Bintray
narendly Sep 3, 2020
5fbe83a
Change groupId and metadata
narendly Sep 1, 2020
9719ad6
Add various operational metrics
Dec 11, 2018
e5b42ef
Merge pull request #6 from runderwo/runderwo/li-dev/release-3.6.2-1
runderwo Nov 15, 2020
9f9c737
Init commit
narendly Nov 18, 2020
759fce4
Iteration 2
narendly Nov 18, 2020
1bce059
Implement findValidSnapshots()
narendly Dec 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/dist-management.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
diff --git a/pom.xml b/pom.xml
index b8c0d9a9d..7c2674e63 100755
--- a/pom.xml
+++ b/pom.xml
@@ -920,5 +920,12 @@
</plugin>
</plugins>
</reporting>
-
+
+ <distributionManagement>
+ <repository>
+ <id>bintray-linkedin-maven</id>
+ <name>linkedin-maven</name>
+ <url>https://api.bintray.com/maven/linkedin/maven/zookeeper/;publish=1;override=1</url>
+ </repository>
+ </distributionManagement>
</project>
49 changes: 49 additions & 0 deletions .github/workflows/ci-bintray-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
#
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
##
name: Publish to Bintray

on:
release:
branches:
- 'li-dev/**'
types: [published]
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"
id: extract_branch
- name: Update the version
run: |
sh .github/workflows/version-upgrade.sh ${{ steps.extract_branch.outputs.branch }}
- name: Build with Maven
run: |
mvn clean deploy -DskipTests -s .github/workflows/settings.xml -DretryFailedDeploymentCount=3
env:
MVN_DEPLOY_BINTRAY_KEY: ${{ secrets.MVN_DEPLOY_BINTRAY_KEY }}
MVN_DEPLOY_BINTRAY_USER: ${{ secrets.MVN_DEPLOY_BINTRAY_USER }}

79 changes: 79 additions & 0 deletions .github/workflows/settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'
xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>

<!-- Resolve arficacts -->
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
<id>
bintray-linkedin-maven
</id>
<name>
bintray
</name>
<url>
https://linkedin.bintray.com/maven
</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>
false
</enabled>
</snapshots>
<id>
bintray-linkedin-maven
</id>
<name>
bintray-plugins
</name>
<url>
https://linkedin.bintray.com/maven
</url>
</pluginRepository>
</pluginRepositories>
<id>
bintray
</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>
bintray
</activeProfile>
</activeProfiles>

<!-- Bintray credentials - env vars are secrets that come from linkedin/zookeeper repo secrets -->
<servers>
<server>
<id>bintray-linkedin-maven</id>
<username>${env.MVN_DEPLOY_BINTRAY_USER}</username>
<password>${env.MVN_DEPLOY_BINTRAY_KEY}</password>
</server>
</servers>
</settings>
52 changes: 52 additions & 0 deletions .github/workflows/version-upgrade.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/bin/sh

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#

# Enable below when using locally/manually
# cd ../../

echo There are $# arguments to $0: $*
if [ "$#" -eq 2 ]; then
version=$1
new_version=$2
else
version=`grep -A 4 "<groupId>com.linkedin.zookeeper</groupId>" pom.xml | grep "<version>" | awk 'BEGIN {FS="[<,>]"};{print $3}'`

# just use the given version as the new version
new_version=$1

# Below version upgrade logic is left here just in case

# minor_version=`echo $version | cut -d'.' -f3`
# major_version=`echo $version | cut -d'.' -f1` # should be 0
# submajor_version=`echo $version | cut -d'.' -f2`

# new_minor_version=`expr $minor_version + 1`
# new_version=`echo $version | sed -e "s/${minor_version}/${new_minor_version}/g"`
# new_version="$major_version.$submajor_version.$new_minor_version"
fi
echo "bump up: $version -> $new_version"

for MODULE in $(find . -name 'pom.xml')
do
echo "bump up $MODULE"
sed -i "s/${version}/${new_version}/g" $MODULE
grep -C 1 "$new_version" $MODULE
done
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ zookeeper-server/version-2/*
# SVN
.svn
.revision
git.properties

# Eclipse
.metadata
Expand Down
79 changes: 79 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

pipeline {
agent {
label 'Hadoop'
}

options {
disableConcurrentBuilds()
buildDiscarder(logRotator(daysToKeepStr: '14'))
timeout(time: 2, unit: 'HOURS')
timestamps()
}

triggers {
cron('@daily')
}

stages {
stage('Prepare') {
matrix {
agent any
axes {
axis {
name 'JAVA_VERSION'
values 'JDK 1.8 (latest)', 'JDK 11 (latest)'
}
}

tools {
maven "Maven (latest)"
jdk "${JAVA_VERSION}"
}

stages {
stage('BuildAndTest') {
steps {
git 'https://github.com/apache/zookeeper'
sh "git clean -fxd"
sh "mvn verify spotbugs:check checkstyle:check -Pfull-build -Dsurefire-forkcount=4"
}
post {
always {
junit '**/target/surefire-reports/TEST-*.xml'
archiveArtifacts '**/target/*.jar'
}
// Jenkins pipeline jobs fill slaves on PRs without this :(
cleanup() {
script {
sh label: 'Cleanup workspace', script: '''
# See HADOOP-13951
chmod -R u+rxw "${WORKSPACE}"
'''
deleteDir()
}
}
}
}
}
}
}
}
}
63 changes: 63 additions & 0 deletions Jenkinsfile-PreCommit
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

pipeline {
agent {
label 'Hadoop'
}

options {
disableConcurrentBuilds()
buildDiscarder(logRotator(daysToKeepStr: '14'))
timeout(time: 2, unit: 'HOURS')
timestamps()
}

tools {
maven "Maven (latest)"
jdk "JDK 1.8 (latest)"
}

stages {
stage('BuildAndTest') {
steps {
git 'https://github.com/apache/zookeeper'
sh "git clean -fxd"
sh "mvn verify spotbugs:check checkstyle:check -Pfull-build -Dsurefire-forkcount=4"
}
post {
always {
junit '**/target/surefire-reports/TEST-*.xml'
}
}
}
}

post {
// Jenkins pipeline jobs fill slaves on PRs without this :(
cleanup() {
script {
sh label: 'Cleanup workspace', script: '''
# See HADOOP-13951
chmod -R u+rxw "${WORKSPACE}"
'''
deleteDir()
}
}
}
}
2 changes: 1 addition & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Apache ZooKeeper
Copyright 2009-2014 The Apache Software Foundation
Copyright 2009-2020 The Apache Software Foundation

This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ is voted on and approved by the Apache ZooKeeper PMC:

https://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/

## Java 8

If you are going to compile with Java 1.8, you should use a
recent release at u211 or above.

# Contributing
We always welcome new contributors to the project! See [How to Contribute](https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute) for details on how to submit patch through pull request and our contribution workflow.

Expand Down
6 changes: 3 additions & 3 deletions README_packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ yum install python-setuptools
yum install openssl openssl-devel
```

On Ubuntu:
On Ubuntu (in case of 16.4+):

```
apt-get install cppunit
apt-get install python-setuptools
apt-get install libcppunit-dev
apt-get install python-setuptools python2.7-dev
apt-get install openssl libssl-dev
```

Expand Down
Loading