You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2020/05/19 16:37:19 UTC
[kudu] branch master updated (47ffe04 -> 3fc3ffd)
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git.
from 47ffe04 [docs] fix incorrect branch name in README.adoc
new 799ba6e [docs] add blog post announcement as part of a release
new 775c0e1 [examples] use org.apache.kudu packages v1.12.0
new 3fc3ffd [thirdparty] Fix Snappy build to add -fPIC
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.
Summary of changes:
RELEASING.adoc | 3 +++
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 +-
thirdparty/build-definitions.sh | 3 ++-
11 files changed, 19 insertions(+), 15 deletions(-)
[kudu] 02/03: [examples] use org.apache.kudu packages v1.12.0
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 775c0e1ea803e20de9fe910151df88c17e6c73e7
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
(cherry picked from commit e2acd00a3727b0c434e095855aaca49d2797b98d)
Reviewed-on: http://gerrit.cloudera.org:8080/15953
Reviewed-by: Grant Henke <gr...@apache.org>
---
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] 01/03: [docs] add blog post announcement as part of a release
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 799ba6e61f7534d0c86765d8f6b7d5575c27f379
Author: hahao <ha...@apache.org>
AuthorDate: Mon May 18 15:54:14 2020 -0700
[docs] add blog post announcement as part of a release
Change-Id: I9bcb826f671ee7878b6e7a66ed9a77256847a153
Reviewed-on: http://gerrit.cloudera.org:8080/15951
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
RELEASING.adoc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/RELEASING.adoc b/RELEASING.adoc
index d8eb039..e75a2c7 100644
--- a/RELEASING.adoc
+++ b/RELEASING.adoc
@@ -368,6 +368,9 @@ Note: You can upload to the test PyPi by adding
. Once the review is finished and the commit is pushed, update the website following
these link:https://github.com/apache/kudu/#deploying-changes-to-the-apache-kudu-web-site[instructions].
+. Add a release blog post about the new release, similar to
+ link:https://kudu.apache.org/2019/07/09/apache-kudu-1-10-0-release.html[this].
+
. About 24 hours after all artifacts have been published, send an email to
user@kudu.apache.org, dev@kudu.apache.org, and announce@apache.org to
announce the new release. The email should be similar to
[kudu] 03/03: [thirdparty] Fix Snappy build to add -fPIC
Posted by al...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 3fc3ffdfffbedb4334f362511be68c02bc31cf95
Author: Grant Henke <gr...@apache.org>
AuthorDate: Tue May 19 08:34:14 2020 -0500
[thirdparty] Fix Snappy build to add -fPIC
When upgrading Snappy in https://gerrit.cloudera.org/#/c/15927/
I accidentally removed the --with-pic option when converting
the build from autoconf to cmake. This caused issues in some
build environments such as:
21:34:13 /usr/bin/ld: ../../../../../thirdparty/installed/uninstrumented/lib/libsnappy.a(snappy-sinksource.cc.o): relocation R_X86_64_32S against `_ZTVN6snappy6SourceE' can not be used when making a shared object; recompile with -fPIC
21:34:13 ../../../../../thirdparty/installed/uninstrumented/lib/libsnappy.a: error adding symbols: Bad value
21:34:13 collect2: error: ld returned 1 exit status
This patch fixes this by adding back -fPIC to the CFLAGS and
CXXFLAGS similar to other cmake builds in thirdparty.
Change-Id: I48452275c052c9bf54845604fad2deeb002ae0d0
Reviewed-on: http://gerrit.cloudera.org:8080/15957
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <as...@cloudera.com>
---
thirdparty/build-definitions.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/thirdparty/build-definitions.sh b/thirdparty/build-definitions.sh
index 017fd3d..109ed4f 100644
--- a/thirdparty/build-definitions.sh
+++ b/thirdparty/build-definitions.sh
@@ -520,7 +520,8 @@ build_snappy() {
mkdir -p $SNAPPY_BDIR
pushd $SNAPPY_BDIR
rm -Rf CMakeCache.txt CMakeFiles/
- CFLAGS="$EXTRA_CFLAGS" \
+ CFLAGS="$EXTRA_CFLAGS -fPIC" \
+ CXXFLAGS="$EXTRA_CXXFLAGS -fPIC" \
cmake \
-DCMAKE_BUILD_TYPE=release \
-DBUILD_STATIC_LIBS=ON \