You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2018/08/21 14:16:32 UTC

[1/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Repository: hbase
Updated Branches:
  refs/heads/branch-1 d1ebc3d2a -> e50020750
  refs/heads/branch-1.2 7e473dded -> 1a477b115
  refs/heads/branch-1.3 0d19ec9a5 -> 9dc7ec11e
  refs/heads/branch-1.4 8b42c5fbd -> f778a952a
  refs/heads/branch-2 3787c7295 -> 98da781ec
  refs/heads/branch-2.0 efa54012b -> d9252da73
  refs/heads/branch-2.1 798cb1d79 -> 57d8778bf
  refs/heads/master bb3494134 -> 23d54f858


HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/e5002075
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e5002075
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e5002075

Branch: refs/heads/branch-1
Commit: e500207503bb84eb91713d2362b7850657e44c81
Parents: d1ebc3d
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:03:34 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh             | 3 +++
 dev-support/hbase_nightly_source-artifact.sh | 3 ++-
 src/main/asciidoc/_chapters/developer.adoc   | 4 ++++
 3 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/e5002075/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 0b19690..1a7ec0b 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/e5002075/dev-support/hbase_nightly_source-artifact.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase_nightly_source-artifact.sh b/dev-support/hbase_nightly_source-artifact.sh
index cde3b30..2e23994 100755
--- a/dev-support/hbase_nightly_source-artifact.sh
+++ b/dev-support/hbase_nightly_source-artifact.sh
@@ -161,7 +161,8 @@ fi
 
 cd "${unpack_dir}"
 echo "Follow the ref guide section on making a RC: Step 8 Build the binary tarball."
-if mvn -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
+# N.B. Older JDK7 requires the TLSv1.2 in order to talk to maven central
+if mvn -Dhttps.protocols=TLSv1.2 -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
     assembly:single >"${working_dir}/srctarball_install.log" 2>&1; then
   echo "Building a binary tarball from the source tarball succeeded."
 else

http://git-wip-us.apache.org/repos/asf/hbase/blob/e5002075/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index e41597c..35dc481 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -472,7 +472,11 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
+===== Failure to find dependencies with "protocol_version" error
 
+Many maven repositories, most notably Maven Central, now require TLSv1.2 for HTTPS connections. On older JDK7 instances you may need to manually add +-Dhttps.protocols=TLSv1.2+ to your Maven command line invocation.
+
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:https://issues.apache.org/jira/browse/MSITE-286[officially ugly] though.


[8/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Posted by bu...@apache.org.
HBASE-21074 JDK7 builds need to be done with TLSv1.2.

* for master and branches-2 we skip the jdk7 stuff

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/d9252da7
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/d9252da7
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/d9252da7

Branch: refs/heads/branch-2.0
Commit: d9252da73af397823f1220b6fa44edd236c87586
Parents: efa5401
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:16:07 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh           | 3 +++
 src/main/asciidoc/_chapters/developer.adoc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d9252da7/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 9e10926..62a589e 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/d9252da7/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index 6d0a7d1..935d6e6 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -482,7 +482,7 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
-
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:https://issues.apache.org/jira/browse/MSITE-286[officially ugly] though.


[6/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Posted by bu...@apache.org.
HBASE-21074 JDK7 builds need to be done with TLSv1.2.

* for master and branches-2 we skip the jdk7 stuff

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/98da781e
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/98da781e
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/98da781e

Branch: refs/heads/branch-2
Commit: 98da781ecfd0d2ed85b1691b87c6ee55dc160d54
Parents: 3787c72
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:15:26 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh           | 3 +++
 src/main/asciidoc/_chapters/developer.adoc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/98da781e/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 6d1b87f..1d8b7fb 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/98da781e/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index 6d0a7d1..935d6e6 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -482,7 +482,7 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
-
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:https://issues.apache.org/jira/browse/MSITE-286[officially ugly] though.


[5/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Posted by bu...@apache.org.
HBASE-21074 JDK7 builds need to be done with TLSv1.2.

* for master and branches-2 we skip the jdk7 stuff

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/23d54f85
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/23d54f85
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/23d54f85

Branch: refs/heads/master
Commit: 23d54f8587853ebf3f210c4d98784f3ce7d43b99
Parents: bb34941
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:14:48 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh           | 3 +++
 src/main/asciidoc/_chapters/developer.adoc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/23d54f85/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 1ca32ee..26ca2a3 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/23d54f85/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index 6d0a7d1..935d6e6 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -482,7 +482,7 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
-
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:https://issues.apache.org/jira/browse/MSITE-286[officially ugly] though.


[2/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Posted by bu...@apache.org.
HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f778a952
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f778a952
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f778a952

Branch: refs/heads/branch-1.4
Commit: f778a952a3001d7f39788638089c2d2b4fa9b68f
Parents: 8b42c5f
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:04:36 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh             | 3 +++
 dev-support/hbase_nightly_source-artifact.sh | 3 ++-
 src/main/asciidoc/_chapters/developer.adoc   | 4 ++++
 3 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/f778a952/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index c1bd8e6..88bfff2 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/f778a952/dev-support/hbase_nightly_source-artifact.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase_nightly_source-artifact.sh b/dev-support/hbase_nightly_source-artifact.sh
index 9458324..f3655e0 100755
--- a/dev-support/hbase_nightly_source-artifact.sh
+++ b/dev-support/hbase_nightly_source-artifact.sh
@@ -172,7 +172,8 @@ fi
 
 cd "${unpack_dir}"
 echo "Follow the ref guide section on making a RC: Step 8 Build the binary tarball."
-if mvn -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
+# N.B. Older JDK7 requires the TLSv1.2 in order to talk to maven central
+if mvn -Dhttps.protocols=TLSv1.2 -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
     assembly:single >"${working_dir}/srctarball_install.log" 2>&1; then
   echo "Building a binary tarball from the source tarball succeeded."
 else

http://git-wip-us.apache.org/repos/asf/hbase/blob/f778a952/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index e41597c..35dc481 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -472,7 +472,11 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
+===== Failure to find dependencies with "protocol_version" error
 
+Many maven repositories, most notably Maven Central, now require TLSv1.2 for HTTPS connections. On older JDK7 instances you may need to manually add +-Dhttps.protocols=TLSv1.2+ to your Maven command line invocation.
+
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:https://issues.apache.org/jira/browse/MSITE-286[officially ugly] though.


[3/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Posted by bu...@apache.org.
HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9dc7ec11
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9dc7ec11
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9dc7ec11

Branch: refs/heads/branch-1.3
Commit: 9dc7ec11eb9b2c0ba876388151e396599faf5a87
Parents: 0d19ec9
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:05:13 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh             | 3 +++
 dev-support/hbase_nightly_source-artifact.sh | 3 ++-
 src/main/asciidoc/_chapters/developer.adoc   | 4 ++++
 3 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/9dc7ec11/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 1b313f4..df65c43 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/9dc7ec11/dev-support/hbase_nightly_source-artifact.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase_nightly_source-artifact.sh b/dev-support/hbase_nightly_source-artifact.sh
index 9458324..f3655e0 100755
--- a/dev-support/hbase_nightly_source-artifact.sh
+++ b/dev-support/hbase_nightly_source-artifact.sh
@@ -172,7 +172,8 @@ fi
 
 cd "${unpack_dir}"
 echo "Follow the ref guide section on making a RC: Step 8 Build the binary tarball."
-if mvn -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
+# N.B. Older JDK7 requires the TLSv1.2 in order to talk to maven central
+if mvn -Dhttps.protocols=TLSv1.2 -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
     assembly:single >"${working_dir}/srctarball_install.log" 2>&1; then
   echo "Building a binary tarball from the source tarball succeeded."
 else

http://git-wip-us.apache.org/repos/asf/hbase/blob/9dc7ec11/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index c1ed297..28e61a5 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -418,7 +418,11 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
+===== Failure to find dependencies with "protocol_version" error
 
+Many maven repositories, most notably Maven Central, now require TLSv1.2 for HTTPS connections. On older JDK7 instances you may need to manually add +-Dhttps.protocols=TLSv1.2+ to your Maven command line invocation.
+
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:http://jira.codehaus.org/browse/MSITE-286[officially


[7/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Posted by bu...@apache.org.
HBASE-21074 JDK7 builds need to be done with TLSv1.2.

* for master and branches-2 we skip the jdk7 stuff

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/57d8778b
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/57d8778b
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/57d8778b

Branch: refs/heads/branch-2.1
Commit: 57d8778bf2538be58e0a890532e356adef1c38ff
Parents: 798cb1d
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:15:46 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh           | 3 +++
 src/main/asciidoc/_chapters/developer.adoc | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/57d8778b/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 6d1b87f..1d8b7fb 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/57d8778b/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index 6d0a7d1..935d6e6 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -482,7 +482,7 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
-
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:https://issues.apache.org/jira/browse/MSITE-286[officially ugly] though.


[4/8] hbase git commit: HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Posted by bu...@apache.org.
HBASE-21074 JDK7 builds need to be done with TLSv1.2.

Signed-off-by: Michael Stack <st...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/1a477b11
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/1a477b11
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/1a477b11

Branch: refs/heads/branch-1.2
Commit: 1a477b115419bfcf21e3ff2b5a693738c4542c8e
Parents: 7e473dd
Author: Sean Busbey <bu...@apache.org>
Authored: Sun Aug 19 22:29:46 2018 -0500
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Aug 21 09:05:38 2018 -0500

----------------------------------------------------------------------
 dev-support/hbase-personality.sh             | 3 +++
 dev-support/hbase_nightly_source-artifact.sh | 3 ++-
 src/main/asciidoc/_chapters/developer.adoc   | 4 ++++
 3 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/1a477b11/dev-support/hbase-personality.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase-personality.sh b/dev-support/hbase-personality.sh
index 1b313f4..df65c43 100755
--- a/dev-support/hbase-personality.sh
+++ b/dev-support/hbase-personality.sh
@@ -115,6 +115,9 @@ function personality_modules
   clear_personality_queue
 
   extra="-DHBasePatchProcess"
+  if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
+    extra="${extra} -Dhttps.protocols=TLSv1.2"
+  fi
 
   if [[ -n "${HADOOP_PROFILE}" ]]; then
     extra="${extra} -Dhadoop.profile=${HADOOP_PROFILE}"

http://git-wip-us.apache.org/repos/asf/hbase/blob/1a477b11/dev-support/hbase_nightly_source-artifact.sh
----------------------------------------------------------------------
diff --git a/dev-support/hbase_nightly_source-artifact.sh b/dev-support/hbase_nightly_source-artifact.sh
index 9458324..f3655e0 100755
--- a/dev-support/hbase_nightly_source-artifact.sh
+++ b/dev-support/hbase_nightly_source-artifact.sh
@@ -172,7 +172,8 @@ fi
 
 cd "${unpack_dir}"
 echo "Follow the ref guide section on making a RC: Step 8 Build the binary tarball."
-if mvn -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
+# N.B. Older JDK7 requires the TLSv1.2 in order to talk to maven central
+if mvn -Dhttps.protocols=TLSv1.2 -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
     assembly:single >"${working_dir}/srctarball_install.log" 2>&1; then
   echo "Building a binary tarball from the source tarball succeeded."
 else

http://git-wip-us.apache.org/repos/asf/hbase/blob/1a477b11/src/main/asciidoc/_chapters/developer.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc
index e49143b..2c9631d 100644
--- a/src/main/asciidoc/_chapters/developer.adoc
+++ b/src/main/asciidoc/_chapters/developer.adoc
@@ -414,7 +414,11 @@ mvn -DskipTests package assembly:single deploy
 
 [[build.gotchas]]
 ==== Build Gotchas
+===== Failure to find dependencies with "protocol_version" error
 
+Many maven repositories, most notably Maven Central, now require TLSv1.2 for HTTPS connections. On older JDK7 instances you may need to manually add +-Dhttps.protocols=TLSv1.2+ to your Maven command line invocation.
+
+===== Maven Site failure
 If you see `Unable to find resource 'VM_global_library.vm'`, ignore it.
 It's not an error.
 It is link:http://jira.codehaus.org/browse/MSITE-286[officially