You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ha...@apache.org on 2020/04/16 05:01:26 UTC

[kudu] tag 1.12.0-RC1 created (now ae919d4)

This is an automated email from the ASF dual-hosted git repository.

hahao pushed a change to tag 1.12.0-RC1
in repository https://gitbox.apache.org/repos/asf/kudu.git.


      at ae919d4  (commit)
This tag includes the following new commits:

     new e2acd00  [examples] use org.apache.kudu packages v1.12.0
     new 3b0c675  Bump version to 1.12.0 (non-SNAPSHOT)
     new ae919d4  mini-cluster: exclude libpcre for license check

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[kudu] 02/03: Bump version to 1.12.0 (non-SNAPSHOT)

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hahao pushed a commit to tag 1.12.0-RC1
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit 3b0c675b2b09b32fff7edecdbecdbdb3eda13582
Author: Hao Hao <ha...@cloudera.com>
AuthorDate: Wed Apr 15 16:31:16 2020 -0700

    Bump version to 1.12.0 (non-SNAPSHOT)
    
    Change-Id: Idf3159285136a8b7f61d579dec668ac7a47932b9
    Reviewed-on: http://gerrit.cloudera.org:8080/15742
    Reviewed-by: Alexey Serbin <as...@cloudera.com>
    Tested-by: Kudu Jenkins
---
 version.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/version.txt b/version.txt
index 79cd2d3..0eed1a2 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-1.12.0-SNAPSHOT
+1.12.0


[kudu] 01/03: [examples] use org.apache.kudu packages v1.12.0

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hahao pushed a commit to tag 1.12.0-RC1
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit e2acd00a3727b0c434e095855aaca49d2797b98d
Author: Hao Hao <ha...@cloudera.com>
AuthorDate: Wed Apr 15 16:52:29 2020 -0700

    [examples] use org.apache.kudu packages v1.12.0
    
    Change-Id: I988e48b3ffdd1fca016268a3d01dab2815e6eb3d
    Reviewed-on: http://gerrit.cloudera.org:8080/15743
    Reviewed-by: Alexey Serbin <as...@cloudera.com>
    Tested-by: Kudu Jenkins
---
 examples/java/collectl/README.adoc              | 2 +-
 examples/java/collectl/pom.xml                  | 2 +-
 examples/java/insert-loadgen/pom.xml            | 2 +-
 examples/java/java-example/pom.xml              | 2 +-
 examples/quickstart/nifi/README.adoc            | 4 ++--
 examples/quickstart/spark/README.adoc           | 2 +-
 examples/scala/sbt-int-test-example/README.adoc | 6 +++---
 examples/scala/sbt-int-test-example/build.sbt   | 6 +++---
 examples/scala/spark-example/pom.xml            | 2 +-
 9 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/examples/java/collectl/README.adoc b/examples/java/collectl/README.adoc
index 72b317c..c69926d 100644
--- a/examples/java/collectl/README.adoc
+++ b/examples/java/collectl/README.adoc
@@ -87,7 +87,7 @@ If you have Spark available, you can also look at the data in Kudu using Spark,
 
 [source,bash]
 ----
-$ spark2-shell --packages org.apache.kudu:kudu-spark2_2.11:1.11.1
+$ spark2-shell --packages org.apache.kudu:kudu-spark2_2.11:1.12.0
 ----
 
 You can then modify this example script to query the data with SparkSQL:
diff --git a/examples/java/collectl/pom.xml b/examples/java/collectl/pom.xml
index 3fb7bc9..9576530 100644
--- a/examples/java/collectl/pom.xml
+++ b/examples/java/collectl/pom.xml
@@ -28,7 +28,7 @@
   <name>Kudu collectl Example</name>
 
   <properties>
-    <kudu-version>1.11.1</kudu-version>
+    <kudu-version>1.12.0</kudu-version>
   </properties>
 
   <build>
diff --git a/examples/java/insert-loadgen/pom.xml b/examples/java/insert-loadgen/pom.xml
index ac9d643..8733acd 100644
--- a/examples/java/insert-loadgen/pom.xml
+++ b/examples/java/insert-loadgen/pom.xml
@@ -28,7 +28,7 @@
   <name>Random Insert Load Generator for Kudu</name>
 
   <properties>
-    <kudu-version>1.11.1</kudu-version>
+    <kudu-version>1.12.0</kudu-version>
   </properties>
 
   <build>
diff --git a/examples/java/java-example/pom.xml b/examples/java/java-example/pom.xml
index f7482bf..007fef0 100644
--- a/examples/java/java-example/pom.xml
+++ b/examples/java/java-example/pom.xml
@@ -28,7 +28,7 @@
   <name>Kudu Java Client Examples</name>
 
   <properties>
-    <kudu-version>1.11.1</kudu-version>
+    <kudu-version>1.12.0</kudu-version>
   </properties>
 
   <build>
diff --git a/examples/quickstart/nifi/README.adoc b/examples/quickstart/nifi/README.adoc
index de91033..c775ea5 100644
--- a/examples/quickstart/nifi/README.adoc
+++ b/examples/quickstart/nifi/README.adoc
@@ -55,7 +55,7 @@ docker run -it --rm --network="docker_default" maven:latest bin/bash
 # Download the kudu-client-tools jar which has the kudu-client and all the dependencies.
 mkdir jars
 mvn dependency:copy \
-    -Dartifact=org.apache.kudu:kudu-client-tools:1.11.1 \
+    -Dartifact=org.apache.kudu:kudu-client-tools:1.12.0 \
     -DoutputDirectory=jars
 # Run the jshell with the jar on the classpath.
 jshell --class-path jars/*
@@ -163,7 +163,7 @@ example of the code to allow you to query the `random_user` table:
 
 [source,bash]
 ----
-spark-shell --packages org.apache.kudu:kudu-spark2_2.11:1.11.1
+spark-shell --packages org.apache.kudu:kudu-spark2_2.11:1.12.0
 ----
 
 [source,scala]
diff --git a/examples/quickstart/spark/README.adoc b/examples/quickstart/spark/README.adoc
index 3ff435c..d507996 100644
--- a/examples/quickstart/spark/README.adoc
+++ b/examples/quickstart/spark/README.adoc
@@ -69,7 +69,7 @@ Run the `spark-shell` with the `kudu-spark` package:
 
 [source,bash]
 ----
-spark-shell --packages org.apache.kudu:kudu-spark2_2.11:1.11.1
+spark-shell --packages org.apache.kudu:kudu-spark2_2.11:1.12.0
 ----
 
 NOTE: The examples below assume you are in the `spark-shell` with the
diff --git a/examples/scala/sbt-int-test-example/README.adoc b/examples/scala/sbt-int-test-example/README.adoc
index 435abab..8a3f823 100644
--- a/examples/scala/sbt-int-test-example/README.adoc
+++ b/examples/scala/sbt-int-test-example/README.adoc
@@ -57,9 +57,9 @@ lazy val root = (project in file("."))
     Defaults.itSettings,
     name := "sbt-int-test-example",
     libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "it,test",
-    libraryDependencies += "org.apache.kudu" % "kudu-client" % "1.11.1",
-    libraryDependencies += "org.apache.kudu" % "kudu-test-utils" % "1.11.1" % "it", //<2>
-    libraryDependencies += "org.apache.kudu" % "kudu-binary" % "1.11.1" % "it" classifier osDetectorClassifier.value, //<3>
+    libraryDependencies += "org.apache.kudu" % "kudu-client" % "1.12.0",
+    libraryDependencies += "org.apache.kudu" % "kudu-test-utils" % "1.12.0" % "it", //<2>
+    libraryDependencies += "org.apache.kudu" % "kudu-binary" % "1.12.0" % "it" classifier osDetectorClassifier.value, //<3>
     libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3",
   )
 ----
diff --git a/examples/scala/sbt-int-test-example/build.sbt b/examples/scala/sbt-int-test-example/build.sbt
index 4624981..090be58 100644
--- a/examples/scala/sbt-int-test-example/build.sbt
+++ b/examples/scala/sbt-int-test-example/build.sbt
@@ -30,8 +30,8 @@ lazy val root = (project in file("."))
     Defaults.itSettings,
     name := "sbt-int-test-example",
     libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.8" % "it,test",
-    libraryDependencies += "org.apache.kudu" % "kudu-client" % "1.11.1",
-    libraryDependencies += "org.apache.kudu" % "kudu-test-utils" % "1.11.1" % "it",
-    libraryDependencies += "org.apache.kudu" % "kudu-binary" % "1.11.1" % "it" classifier osDetectorClassifier.value,
+    libraryDependencies += "org.apache.kudu" % "kudu-client" % "1.12.0",
+    libraryDependencies += "org.apache.kudu" % "kudu-test-utils" % "1.12.0" % "it",
+    libraryDependencies += "org.apache.kudu" % "kudu-binary" % "1.12.0" % "it" classifier osDetectorClassifier.value,
     libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3",
   )
diff --git a/examples/scala/spark-example/pom.xml b/examples/scala/spark-example/pom.xml
index e62171a..b81600a 100644
--- a/examples/scala/spark-example/pom.xml
+++ b/examples/scala/spark-example/pom.xml
@@ -28,7 +28,7 @@
   <name>Kudu Spark Examples</name>
 
   <properties>
-    <kudu-version>1.11.1</kudu-version>
+    <kudu-version>1.12.0</kudu-version>
   </properties>
 
   <build>


[kudu] 03/03: mini-cluster: exclude libpcre for license check

Posted by ha...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hahao pushed a commit to tag 1.12.0-RC1
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit ae919d457cda36d854f81732b34af2384441d436
Author: Hao Hao <ha...@cloudera.com>
AuthorDate: Wed Apr 15 14:38:26 2020 -0700

    mini-cluster: exclude libpcre for license check
    
    While building mini cluster binaries on centos7, I saw error message
    'unknown license: lib/libpcre.so.1' during license check on artifact.
    By running lddtree on the binary, I found out libpcre is introduced
    as transitive dependency
    
    libcurl.so.4 => /root/kudu/thirdparty/installed/uninstrumented/lib/libcurl.so.4
            libk5crypto.so.3 => /lib64/libk5crypto.so.3
                libkrb5support.so.0 => /lib64/libkrb5support.so.0
                    libselinux.so.1 => /lib64/libselinux.so.1
                        libpcre.so.1 => /lib64/libpcre.so.1
    
    This patch excludes 'libpcre' for license check to account for licensing
    information only relevant to the binary artifacts.
    
    Change-Id: I0fc69eaf57025b1ce2f7857808e60218dc4f2771
    Reviewed-on: http://gerrit.cloudera.org:8080/15738
    Tested-by: Kudu Jenkins
    Reviewed-by: Alexey Serbin <as...@cloudera.com>
    (cherry picked from commit cd95fef01d19674a8c43784bc4f3cd0ef1f4b5ac)
    Reviewed-on: http://gerrit.cloudera.org:8080/15744
    Tested-by: Hao Hao <ha...@cloudera.com>
---
 build-support/mini-cluster/relocate_binaries_for_mini_cluster.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py b/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
index 21bed54..f3c0aad 100755
--- a/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
+++ b/build-support/mini-cluster/relocate_binaries_for_mini_cluster.py
@@ -52,7 +52,9 @@ KEY_PATH = 'path'
 PAT_SASL_LIBPLAIN = re.compile(r'libplain')
 
 # Exclude libraries that are (L)GPL-licensed and libraries that are not
-# portable across Linux kernel versions.
+# portable across Linux kernel versions. One exception is 'libpcre', which
+# is BSD-licensed. It is excluded because it is a transitive dependency
+# introduced by 'libselinux'.
 PAT_LINUX_LIB_EXCLUDE = re.compile(r"""(libpthread|
                                         libc|
                                         libstdc\+\+|
@@ -66,6 +68,7 @@ PAT_LINUX_LIB_EXCLUDE = re.compile(r"""(libpthread|
                                         libcom_err|
                                         libdb-[\d.]+|
                                         libselinux|
+                                        libpcre|
                                         libtinfo
                                        )\.so""", re.VERBOSE)