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/03/06 18:28:41 UTC

[1/2] hbase git commit: HBASE-20134 dev-support scripts should use mktemp instead of hard-coding /tmp.

Repository: hbase
Updated Branches:
  refs/heads/master b7fb2df15 -> 7889df371


HBASE-20134 dev-support scripts should use mktemp instead of hard-coding /tmp.

Signed-off-by: Mike Drob <md...@apache.org>


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

Branch: refs/heads/master
Commit: ff7f5ecb0ff8f540730f923d5114b102e6049f5e
Parents: b7fb2df
Author: Sean Busbey <bu...@apache.org>
Authored: Mon Mar 5 23:40:25 2018 -0600
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Mar 6 12:22:09 2018 -0600

----------------------------------------------------------------------
 dev-support/hbase_nightly_source-artifact.sh          | 11 +++++------
 dev-support/jenkins-scripts/generate-hbase-website.sh | 13 ++++++-------
 2 files changed, 11 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/ff7f5ecb/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 b334fa5..9458324 100755
--- a/dev-support/hbase_nightly_source-artifact.sh
+++ b/dev-support/hbase_nightly_source-artifact.sh
@@ -21,7 +21,7 @@ function usage {
   echo "Usage: ${0} [options] /path/to/component/checkout"
   echo ""
   echo "    --intermediate-file-dir /path/to/use  Path for writing listings and diffs. must exist."
-  echo "                                          defaults to making a directory in /tmp."
+  echo "                                          defaults to making a directory via mktemp."
   echo "    --unpack-temp-dir /path/to/use        Path for unpacking tarball. default to"
   echo "                                          'unpacked_src_tarball' in intermediate directory."
   echo "    --maven-m2-initial /path/to/use       Path for maven artifacts while building in"
@@ -67,11 +67,10 @@ fi
 component_dir="$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"
 
 if [ -z "${working_dir}" ]; then
-  working_dir=/tmp
-  while [[ -e ${working_dir} ]]; do
-    working_dir=/tmp/hbase-srctarball-test-${RANDOM}.${RANDOM}
-  done
-  mkdir "${working_dir}"
+  if ! working_dir="$(mktemp -d -t hbase-srctarball-test)" ; then
+    echo "Failed to create temporary working directory. Please specify via --unpack-temp-dir"
+    exit 1
+  fi
 else
   # absolutes please
   working_dir="$(cd "$(dirname "${working_dir}")"; pwd)/$(basename "${working_dir}")"

http://git-wip-us.apache.org/repos/asf/hbase/blob/ff7f5ecb/dev-support/jenkins-scripts/generate-hbase-website.sh
----------------------------------------------------------------------
diff --git a/dev-support/jenkins-scripts/generate-hbase-website.sh b/dev-support/jenkins-scripts/generate-hbase-website.sh
index c25c895..b6277d0 100644
--- a/dev-support/jenkins-scripts/generate-hbase-website.sh
+++ b/dev-support/jenkins-scripts/generate-hbase-website.sh
@@ -40,7 +40,7 @@ function usage {
   echo ""
   echo "    --working-dir /path/to/use  Path for writing logs and a local checkout of hbase-site repo."
   echo "                                if given must exist."
-  echo "                                defaults to making a directory in /tmp."
+  echo "                                defaults to making a directory via mktemp."
   echo "    --local-repo /path/for/maven/.m2  Path for putting local maven repo."
   echo "                                if given must exist."
   echo "                                defaults to making a clean directory in --working-dir."
@@ -77,12 +77,11 @@ fi
 component_dir="$(cd "$(dirname "$1")"; pwd)/$(basename "$1")"
 
 if [ -z "${working_dir}" ]; then
-  echo "[DEBUG] defaulting to creating a directory in /tmp"
-  working_dir=/tmp
-  while [[ -e ${working_dir} ]]; do
-    working_dir=/tmp/hbase-generate-website-${RANDOM}.${RANDOM}
-  done
-  mkdir "${working_dir}"
+  echo "[DEBUG] defaulting to creating a directory via mktemp"
+  if ! working_dir="$(mktemp -d -t hbase-generate-website)" ; then
+    echo "Failed to create temporary working directory. Please specify via --working-dir"
+    exit 1
+  fi
 else
   # absolutes please
   working_dir="$(cd "$(dirname "${working_dir}")"; pwd)/$(basename "${working_dir}")"


[2/2] hbase git commit: HBASE-20072 remove 1.1 release line from the prerequisite tables.

Posted by bu...@apache.org.
HBASE-20072 remove 1.1 release line from the prerequisite tables.

Signed-off-by: Ted Yu <yu...@gmail.com>


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

Branch: refs/heads/master
Commit: 7889df37118a0593dfb0156c6edf1bb96d4c94b9
Parents: ff7f5ec
Author: Sean Busbey <bu...@apache.org>
Authored: Sat Feb 24 13:13:40 2018 -0600
Committer: Sean Busbey <bu...@apache.org>
Committed: Tue Mar 6 12:24:21 2018 -0600

----------------------------------------------------------------------
 src/main/asciidoc/_chapters/configuration.adoc | 34 +++++++++------------
 1 file changed, 15 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7889df37/src/main/asciidoc/_chapters/configuration.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/_chapters/configuration.adoc b/src/main/asciidoc/_chapters/configuration.adoc
index 4ed7254..5b604d3 100644
--- a/src/main/asciidoc/_chapters/configuration.adoc
+++ b/src/main/asciidoc/_chapters/configuration.adoc
@@ -111,10 +111,6 @@ This section lists required services and some required system configuration.
 |yes
 |yes
 
-|1.1
-|yes
-|Running with JDK 8 will work but is not well tested.
-
 |===
 
 NOTE: HBase will neither build nor compile with Java 6.
@@ -206,22 +202,22 @@ Use the following legend to interpret this table:
 * "X" = not supported
 * "NT" = Not tested
 
-[cols="1,1,1,1,1", options="header"]
+[cols="1,1,1,1", options="header"]
 |===
-| | HBase-1.1.x | HBase-1.2.x | HBase-1.3.x | HBase-2.0.x
-|Hadoop-2.0.x-alpha | X | X | X | X
-|Hadoop-2.1.0-beta | X | X | X | X
-|Hadoop-2.2.0 | NT | X  | X | X
-|Hadoop-2.3.x | NT | X  | X | X
-|Hadoop-2.4.x | S | S | S | X
-|Hadoop-2.5.x | S | S | S | X
-|Hadoop-2.6.0 | X | X | X | X
-|Hadoop-2.6.1+ | NT | S | S | S
-|Hadoop-2.7.0 | X | X | X | X
-|Hadoop-2.7.1+ | NT | S | S | S
-|Hadoop-2.8.0 | X | X | X | X
-|Hadoop-2.8.1 | X | X | X | X
-|Hadoop-3.0.0 | NT | NT | NT | NT
+| | HBase-1.2.x | HBase-1.3.x | HBase-2.0.x
+|Hadoop-2.0.x-alpha | X | X | X
+|Hadoop-2.1.0-beta | X | X | X
+|Hadoop-2.2.0 | X  | X | X
+|Hadoop-2.3.x | X  | X | X
+|Hadoop-2.4.x | S | S | X
+|Hadoop-2.5.x | S | S | X
+|Hadoop-2.6.0 | X | X | X
+|Hadoop-2.6.1+ | S | S | S
+|Hadoop-2.7.0 | X | X | X
+|Hadoop-2.7.1+ | S | S | S
+|Hadoop-2.8.0 | X | X | X
+|Hadoop-2.8.1 | X | X | X
+|Hadoop-3.0.0 | NT | NT | NT
 |===
 
 .Hadoop Pre-2.6.1 and JDK 1.8 Kerberos