You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by mp...@apache.org on 2016/03/04 22:39:12 UTC

[1/4] incubator-kudu git commit: KUDU-1357. Increase timeout for RemoteBootstrapITest.TestSlowBootstrapDoesntFail

Repository: incubator-kudu
Updated Branches:
  refs/heads/master 826b7720f -> 07e8422f9


KUDU-1357. Increase timeout for RemoteBootstrapITest.TestSlowBootstrapDoesntFail

This test has been very flaky, 10s is likely not enough under certain
tpyes of load. Ran 100 iters under TSAN and 100 iters in release mode
and got no failures.

Change-Id: Iefaf97d1292157340d7bbe2bd26f376ae77f0820
Reviewed-on: http://gerrit.cloudera.org:8080/2435
Tested-by: Kudu Jenkins
Reviewed-by: Mike Percy <mp...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/394d6ce9
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/394d6ce9
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/394d6ce9

Branch: refs/heads/master
Commit: 394d6ce923fb18264e2210df5770c6aadf4e32ae
Parents: 826b772
Author: Mike Percy <mp...@apache.org>
Authored: Thu Mar 3 15:09:24 2016 +0200
Committer: Mike Percy <mp...@apache.org>
Committed: Fri Mar 4 09:44:26 2016 +0000

----------------------------------------------------------------------
 src/kudu/integration-tests/remote_bootstrap-itest.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/394d6ce9/src/kudu/integration-tests/remote_bootstrap-itest.cc
----------------------------------------------------------------------
diff --git a/src/kudu/integration-tests/remote_bootstrap-itest.cc b/src/kudu/integration-tests/remote_bootstrap-itest.cc
index c058e70..f79874b 100644
--- a/src/kudu/integration-tests/remote_bootstrap-itest.cc
+++ b/src/kudu/integration-tests/remote_bootstrap-itest.cc
@@ -683,7 +683,7 @@ TEST_F(RemoteBootstrapITest, TestDisableRemoteBootstrap_NoTightLoopWhenTabletDel
 // Test that if a remote bootstrap is taking a long time but the client peer is still responsive,
 // the leader won't mark it as failed.
 TEST_F(RemoteBootstrapITest, TestSlowBootstrapDoesntFail) {
-  MonoDelta timeout = MonoDelta::FromSeconds(10);
+  MonoDelta timeout = MonoDelta::FromSeconds(30);
   vector<string> ts_flags, master_flags;
   ts_flags.push_back("--enable_leader_failure_detection=false");
   ts_flags.push_back("--remote_bootstrap_dowload_file_inject_latency_ms=5000");


[3/4] incubator-kudu git commit: docs: Replace links to github.com/cloudera/kudu with apache/incubator-kudu

Posted by mp...@apache.org.
docs: Replace links to github.com/cloudera/kudu with apache/incubator-kudu

Change-Id: I17d8d28e3f3c72c5bb1032b47f343004b480571b
Reviewed-on: http://gerrit.cloudera.org:8080/2403
Tested-by: Kudu Jenkins
Reviewed-by: Misty Stanley-Jones <mi...@apache.org>


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

Branch: refs/heads/master
Commit: e01760261a8c55b8f74c7ccc6c5ae7666ec4d659
Parents: f12748f
Author: Mike Percy <mp...@apache.org>
Authored: Wed Mar 2 13:20:43 2016 +0200
Committer: Mike Percy <mp...@apache.org>
Committed: Fri Mar 4 21:20:02 2016 +0000

----------------------------------------------------------------------
 docs/contributing.adoc  |  2 +-
 docs/developing.adoc    |  4 ++--
 docs/installation.adoc  | 14 +++++++-------
 docs/release_notes.adoc |  2 +-
 4 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/e0176026/docs/contributing.adoc
----------------------------------------------------------------------
diff --git a/docs/contributing.adoc b/docs/contributing.adoc
index 4d8c96f..d649c82 100644
--- a/docs/contributing.adoc
+++ b/docs/contributing.adoc
@@ -49,7 +49,7 @@ is called `origin`. When you fetch or pull, you will do so from `origin`.
 +
 [source,bash]
 ----
-git clone https://github.com/cloudera/kudu
+git clone https://github.com/apache/incubator-kudu kudu
 ----
 
 . Change to the new `kudu` directory.

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/e0176026/docs/developing.adoc
----------------------------------------------------------------------
diff --git a/docs/developing.adoc b/docs/developing.adoc
index c53d1f1..d0fe73e 100644
--- a/docs/developing.adoc
+++ b/docs/developing.adoc
@@ -99,8 +99,8 @@ and using Impala with Kudu, including several `impala-shell` examples.
 == Integration with MapReduce, YARN, and Other Frameworks
 
 Kudu was designed to integrate with MapReduce, YARN, Spark, and other frameworks in
-the Hadoop ecosystem. See link:https://github.com/cloudera/kudu/blob/master/java/kudu-client-tools/src/main/java/org/kududb/mapreduce/tools/RowCounter.java[RowCounter.java]
+the Hadoop ecosystem. See link:https://github.com/apache/incubator-kudu/blob/master/java/kudu-client-tools/src/main/java/org/kududb/mapreduce/tools/RowCounter.java[RowCounter.java]
 and
-link:https://github.com/cloudera/kudu/blob/master/java/kudu-client-tools/src/main/java/org/kududb/mapreduce/tools/ImportCsv.java[ImportCsv.java]
+link:https://github.com/apache/incubator-kudu/blob/master/java/kudu-client-tools/src/main/java/org/kududb/mapreduce/tools/ImportCsv.java[ImportCsv.java]
 for examples which you can model your own integrations on. Stay tuned for more examples
 using YARN and Spark in the future.

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/e0176026/docs/installation.adoc
----------------------------------------------------------------------
diff --git a/docs/installation.adoc b/docs/installation.adoc
index cdc9746..2db8779 100644
--- a/docs/installation.adoc
+++ b/docs/installation.adoc
@@ -238,7 +238,7 @@ $ sudo gem install asciidoctor
 +
 [source,bash]
 ----
-$ git clone https://github.com/cloudera/kudu
+$ git clone https://github.com/apache/incubator-kudu kudu
 $ cd kudu
 ----
 
@@ -333,7 +333,7 @@ $ sudo apt-get install asciidoctor xsltproc
 +
 [source,bash]
 ----
-$ git clone https://github.com/cloudera/kudu
+$ git clone https://github.com/apache/incubator-kudu kudu
 $ cd kudu
 ----
 
@@ -385,7 +385,7 @@ the steps marked *Optional* above.
 sudo apt-get -y install git autoconf automake libboost-thread-dev \
   libboost-system-dev curl gcc g++ libsasl2-dev libsasl2-modules \
   libtool ntp patch pkg-config make rsync unzip vim-common gdb python
-git clone https://github.com/cloudera/kudu
+git clone https://github.com/apache/incubator-kudu kudu
 cd kudu
 thirdparty/build-if-necessary.sh
 mkdir -p build/release
@@ -427,7 +427,7 @@ popd
 +
 [source,bash]
 ----
-$ git clone https://github.com/cloudera/kudu
+$ git clone https://github.com/apache/incubator-kudu kudu
 $ cd kudu
 ----
 
@@ -480,7 +480,7 @@ pushd boost_1_59_0
 ./bootstrap.sh
 ./b2 --with-system --with-thread
 popd
-git clone https://github.com/cloudera/kudu
+git clone https://github.com/apache/incubator-kudu kudu
 cd kudu
 thirdparty/build-if-necessary.sh
 mkdir -p build/release
@@ -518,7 +518,7 @@ $ brew install autoconf automake cmake libtool pkg-config boost pstree
 +
 [source,bash]
 ----
-$ git clone https://github.com/cloudera/kudu
+$ git clone https://github.com/apache/incubator-kudu kudu
 $ cd kudu
 ----
 
@@ -550,7 +550,7 @@ are installed.
 #!/bin/bash
 
 brew install autoconf automake cmake libtool pkg-config boost pstree
-git clone https://github.com/cloudera/kudu
+git clone https://github.com/apache/incubator-kudu kudu
 cd kudu
 thirdparty/build-if-necessary.sh
 mkdir -p build/release

http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/e0176026/docs/release_notes.adoc
----------------------------------------------------------------------
diff --git a/docs/release_notes.adoc b/docs/release_notes.adoc
index 463989e..b70a0f3 100644
--- a/docs/release_notes.adoc
+++ b/docs/release_notes.adoc
@@ -347,7 +347,7 @@ ASF.
 === Resources
 
 - link:http://getkudu.io[Kudu Website]
-- link:http://github.com/cloudera/kudu[Kudu Github Repository]
+- link:http://github.com/apache/incubator-kudu[Kudu GitHub Repository]
 - link:index.html[Kudu Documentation]
 
 === Installation Options


[2/4] incubator-kudu git commit: dist_test: re-copy system dependencies if modification time changes

Posted by mp...@apache.org.
dist_test: re-copy system dependencies if modification time changes

If the user installs a new version of a system library dependency,
we should probably re-copy it when submitting a dist-test.

Change-Id: If76d1bfe239e0ff827bc362be5f926e4d7e2fbb7
Reviewed-on: http://gerrit.cloudera.org:8080/2440
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>


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

Branch: refs/heads/master
Commit: f12748f8d5c6f26940cec4a1e647ff8048ab8919
Parents: 394d6ce
Author: Todd Lipcon <to...@apache.org>
Authored: Thu Mar 3 08:19:55 2016 -0800
Committer: Todd Lipcon <to...@apache.org>
Committed: Fri Mar 4 19:39:48 2016 +0000

----------------------------------------------------------------------
 build-support/dist_test.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/f12748f8/build-support/dist_test.py
----------------------------------------------------------------------
diff --git a/build-support/dist_test.py b/build-support/dist_test.py
index 2f53293..c03dad2 100755
--- a/build-support/dist_test.py
+++ b/build-support/dist_test.py
@@ -164,7 +164,9 @@ def copy_system_library(lib):
   if not os.path.exists(sys_lib_dir):
     os.makedirs(sys_lib_dir)
   dst = os.path.join(sys_lib_dir, os.path.basename(lib))
-  if not os.path.exists(dst):
+  # Copy if it doesn't exist, or the mtimes don't match.
+  # Using shutil.copy2 preserves the mtime after the copy (like cp -p)
+  if not os.path.exists(dst) or os.stat(dst).st_mtime != os.stat(lib).st_mtime:
     logging.info("Copying system library %s to %s...", lib, dst)
     shutil.copy2(rel_to_abs(lib), dst)
   return dst


[4/4] incubator-kudu git commit: Disable SSL in curl

Posted by mp...@apache.org.
Disable SSL in curl

We don't use HTTPS in our curl utility calls, and removing it should
make it possible to push to the dist_test server (Ubuntu 14.04) from
CentOS 6, since they have different versions of libssl. We don't
distribute our own version of libssl because it's a security library
that should be patchable at the OS package level.

The only change is adding --without-ssl. The rest of the changes were
just reordering of the arguments to be alphabetical.

Change-Id: I7bec72cc0f382cd27897c3d84891db153019ed3e
Reviewed-on: http://gerrit.cloudera.org:8080/2434
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/07e8422f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/07e8422f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/07e8422f

Branch: refs/heads/master
Commit: 07e8422f962e9448d18cbbf1405d4740ed8b4a25
Parents: e017602
Author: Mike Percy <mp...@apache.org>
Authored: Thu Mar 3 10:14:28 2016 +0200
Committer: Mike Percy <mp...@apache.org>
Committed: Fri Mar 4 21:34:41 2016 +0000

----------------------------------------------------------------------
 thirdparty/build-definitions.sh | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/07e8422f/thirdparty/build-definitions.sh
----------------------------------------------------------------------
diff --git a/thirdparty/build-definitions.sh b/thirdparty/build-definitions.sh
index 67d899d..b7bdb62 100644
--- a/thirdparty/build-definitions.sh
+++ b/thirdparty/build-definitions.sh
@@ -248,21 +248,22 @@ build_curl() {
   # use this for testing our own HTTP endpoints at this point in time.
   cd $CURL_DIR
   ./configure --prefix=$PREFIX \
-    --disable-ftp \
+    --disable-dict \
     --disable-file \
+    --disable-ftp \
+    --disable-gopher \
+    --disable-imap \
+    --disable-ipv6 \
     --disable-ldap \
     --disable-ldaps \
+    --disable-manual \
+    --disable-pop3 \
     --disable-rtsp \
-    --disable-dict \
+    --disable-smtp \
     --disable-telnet \
     --disable-tftp \
-    --disable-pop3 \
-    --disable-imap \
-    --disable-smtp \
-    --disable-gopher \
-    --disable-manual \
     --without-librtmp \
-    --disable-ipv6
+    --without-ssl
   make -j$PARALLEL
   make install
 }