[jira] [Resolved] (KUDU-2222) IO error in UpdateScanDeltaCompactionTest ASAN build

2017-11-21 Thread Andrew Wong (JIRA)

 [ 
https://issues.apache.org/jira/browse/KUDU-?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wong resolved KUDU-.
---
   Resolution: Fixed
Fix Version/s: 1.6.0

> IO error in UpdateScanDeltaCompactionTest ASAN build
> 
>
> Key: KUDU-
> URL: https://issues.apache.org/jira/browse/KUDU-
> Project: Kudu
>  Issue Type: Bug
>  Components: test
>Reporter: Andrew Wong
> Fix For: 1.6.0
>
> Attachments: update_scan_delta_compact-test.txt
>
>
> In a few ASAN builds, update_scan_delta_compact-test fails with the message:
> {{update_scan_delta_compact-test.cc:253] Check failed: _s.ok() Bad status: IO 
> error: Some errors occurred}}
> A nearby warning complains about an RPC timeout, which may point to a 
> stressed execution environment. Regardless, it's not entirely obvious whether 
> that's the only cause of failure given the generic error message.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KUDU-2222) IO error in UpdateScanDeltaCompactionTest ASAN build

2017-11-21 Thread Andrew Wong (JIRA)

[ 
https://issues.apache.org/jira/browse/KUDU-?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16262054#comment-16262054
 ] 

Andrew Wong commented on KUDU-:
---

Todd pushed a fixed as 3a2243774e00d834dfa967171a4f527c881a9e96

> IO error in UpdateScanDeltaCompactionTest ASAN build
> 
>
> Key: KUDU-
> URL: https://issues.apache.org/jira/browse/KUDU-
> Project: Kudu
>  Issue Type: Bug
>  Components: test
>Reporter: Andrew Wong
> Attachments: update_scan_delta_compact-test.txt
>
>
> In a few ASAN builds, update_scan_delta_compact-test fails with the message:
> {{update_scan_delta_compact-test.cc:253] Check failed: _s.ok() Bad status: IO 
> error: Some errors occurred}}
> A nearby warning complains about an RPC timeout, which may point to a 
> stressed execution environment. Regardless, it's not entirely obvious whether 
> that's the only cause of failure given the generic error message.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread Todd Lipcon (JIRA)

[ 
https://issues.apache.org/jira/browse/KUDU-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16261679#comment-16261679
 ] 

Todd Lipcon commented on KUDU-2223:
---

Seems like the FQDN error is fixed, and now you're hitting the fact that 
/tmp/master has a half-initialized layout. Try rm -rf /tmp/master and start the 
master again. I bet your java tests work now, though.

> Failed to add distributed masters: Unable to start Master at index 0
> 
>
> Key: KUDU-2223
> URL: https://issues.apache.org/jira/browse/KUDU-2223
> Project: Kudu
>  Issue Type: Bug
>  Components: build, java
>Affects Versions: 1.6.0
>Reporter: Nacho García Fernández
>
> After successfully building Kudu on my OSX, I try to run the  mvn verify 
> command in the java submodule, but I get the following exception:
> {code:java}
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.kudu.client.TestAlterTable
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.42 
> s <<< FAILURE! - in org.apache.kudu.client.TestAlterTable
> [ERROR] org.apache.kudu.client.TestAlterTable  Time elapsed: 0.42 s  <<< 
> ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
> [INFO] Running org.apache.kudu.client.TestAsyncKuduClient
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.644 
> s <<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduClient
> [ERROR] org.apache.kudu.client.TestAsyncKuduClient  Time elapsed: 0.644 s  
> <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
>   at 
> org.apache.kudu.client.TestAsyncKuduClient.setUpBeforeClass(TestAsyncKuduClient.java:45)
> [INFO] Running org.apache.kudu.client.TestAsyncKuduSession
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.478 
> s <<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduSession
> [ERROR] org.apache.kudu.client.TestAsyncKuduSession  Time elapsed: 0.478 s  
> <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
>   at 
> org.apache.kudu.client.TestAsyncKuduSession.setUpBeforeClass(TestAsyncKuduSession.java:59)
> [INFO] Running org.apache.kudu.client.TestAuthnTokenReacquire
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.601 
> s <<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquire
> [ERROR] org.apache.kudu.client.TestAuthnTokenReacquire  Time elapsed: 0.601 s 
>  <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
>   at 
> org.apache.kudu.client.TestAuthnTokenReacquire.setUpBeforeClass(TestAuthnTokenReacquire.java:55)
> [INFO] Running org.apache.kudu.client.TestAuthnTokenReacquireOpen
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.865 
> s <<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquireOpen
> [ERROR] org.apache.kudu.client.TestAuthnTokenReacquireOpen  Time elapsed: 
> 0.865 s  <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to start a single 
> Master: /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process 
> exited on signal 6
>   at 
> org.apache.kudu.client.TestAuthnTokenReacquireOpen.setUpBeforeClass(TestAuthnTokenReacquireOpen.java:58)
> [INFO] Running org.apache.kudu.client.TestBitSet
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 
> s - in org.apache.kudu.client.TestBitSet
> [INFO] Running org.apache.kudu.client.TestBytes
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 
> s - in org.apache.kudu.client.TestBytes
> [INFO] Running org.apache.kudu.client.TestClientFailoverSupport
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.399 
> s <<< FAILURE! - in org.apache.kudu.client.TestClientFailoverSupport
> [ERROR] org.apache.kudu.client.TestClientFailoverSupport  Time elapsed: 0.399 
> s  <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> 

[jira] [Resolved] (KUDU-2165) alter_table-test has mysterious TSAN warnings

2017-11-21 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/KUDU-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon resolved KUDU-2165.
---
   Resolution: Fixed
 Assignee: Todd Lipcon
Fix Version/s: 1.6.0

Committed a relatively simple workaround in 
f343a67306790bdcbd6688a472199d2bb25afa2c

> alter_table-test has mysterious TSAN warnings
> -
>
> Key: KUDU-2165
> URL: https://issues.apache.org/jira/browse/KUDU-2165
> Project: Kudu
>  Issue Type: Bug
>Affects Versions: 1.6.0
>Reporter: Adar Dembo
>Assignee: Todd Lipcon
> Fix For: 1.6.0
>
> Attachments: alter_table-test.txt
>
>
> I say "mysterious" because the warnings don't show one half of the stack 
> trace, so it's not immediately clear where the race is.
> Here are the warnings. I'm attaching the full log too.
> {noformat}
> ==
> WARNING: ThreadSanitizer: data race (pid=1945)
>   Write of size 8 at 0x7b0c000913b0 by main thread:
> #0 operator delete(void*) 
> /home/jenkins-slave/workspace/kudu-master/2/thirdparty/src/llvm-4.0.0.src/projects/compiler-rt/lib/tsan/rtl/tsan_new_delete.cc:73
>  (alter_table-test+0x4db471)
> #1 kudu::AtomicGauge::~AtomicGauge() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/util/metrics.h:768:7 
> (libtablet.so+0x15a561)
> #2 kudu::RefCountedThreadSafe kudu::DefaultRefCountedThreadSafeTraits 
> >::DeleteInternal(kudu::Metric const*) 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/gutil/ref_counted.h:153:44
>  (libmaster.so+0xc1787)
> #3 
> kudu::DefaultRefCountedThreadSafeTraits::Destruct(kudu::Metric 
> const*) 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/gutil/ref_counted.h:116:5
>  (libmaster.so+0xc1749)
> #4 kudu::RefCountedThreadSafe kudu::DefaultRefCountedThreadSafeTraits >::Release() const 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/gutil/ref_counted.h:144:7
>  (libmaster.so+0xc1709)
> #5 scoped_refptr::~scoped_refptr() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/gutil/ref_counted.h:266:13
>  (libtablet.so+0x1596aa)
> #6 kudu::CacheMetrics::~CacheMetrics() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/util/cache_metrics.h:27:8
>  (libkudu_util.so+0xe8cda)
> #7 
> kudu::DefaultDeleter::operator()(kudu::CacheMetrics*) 
> const 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/gutil/gscoped_ptr.h:145:5
>  (libkudu_util.so+0xe8c9e)
> #8 kudu::internal::gscoped_ptr_impl kudu::DefaultDeleter >::reset(kudu::CacheMetrics*) 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/gutil/gscoped_ptr.h:254:7
>  (libkudu_util.so+0xe9404)
> #9 gscoped_ptr kudu::DefaultDeleter >::reset(kudu::CacheMetrics*) 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/gutil/gscoped_ptr.h:375:46
>  (libkudu_util.so+0xe9370)
> #10 kudu::(anonymous 
> namespace)::ShardedLRUCache::SetMetrics(scoped_refptr 
> const&) 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/util/cache.cc:464:14 
> (libkudu_util.so+0xe6840)
> #11 
> kudu::cfile::BlockCache::StartInstrumentation(scoped_refptr
>  const&) 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/cfile/block_cache.cc:96:11
>  (libcfile.so+0x72af4)
> #12 kudu::master::Master::Init() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/master/master.cc:118:38 
> (libmaster.so+0xe5ff6)
> #13 kudu::master::MiniMaster::Start() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/master/mini_master.cc:92:3
>  (libmaster.so+0x10070e)
> #14 kudu::cluster::InternalMiniCluster::StartSingleMaster() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/mini-cluster/internal_mini_cluster.cc:173:3
>  (libmini-cluster.so+0x3f0cf)
> #15 kudu::cluster::InternalMiniCluster::Start() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/mini-cluster/internal_mini_cluster.cc:102:5
>  (libmini-cluster.so+0x3e03b)
> #16 kudu::AlterTableTest::SetUp() 
> /home/jenkins-slave/workspace/kudu-master/2/src/kudu/integration-tests/alter_table-test.cc:137:5
>  (alter_table-test+0x512f9f)
> #17 void 
> testing::internal::HandleSehExceptionsInMethodIfSupported void>(testing::Test*, void (testing::Test::*)(), char const*) 
> /home/jenkins-slave/workspace/kudu-master/2/thirdparty/src/googletest-release-1.8.0/googletest/src/gtest.cc:2402:10
>  (libgmock.so+0x52b39)
> #18 void 
> testing::internal::HandleExceptionsInMethodIfSupported void>(testing::Test*, void (testing::Test::*)(), char const*) 
> /home/jenkins-slave/workspace/kudu-master/2/thirdparty/src/googletest-release-1.8.0/googletest/src/gtest.cc:2438
>  (libgmock.so+0x52b39)
> #19 testing::Test::Run() 
> 

[jira] [Commented] (KUDU-2220) GetEndOfChainX509 does not return end-user cert

2017-11-21 Thread Sailesh Mukil (JIRA)

[ 
https://issues.apache.org/jira/browse/KUDU-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16261326#comment-16261326
 ] 

Sailesh Mukil commented on KUDU-2220:
-

Commit in:
https://github.com/apache/kudu/commit/3e59fd7b14b4a2ba2846621df04093cce9024688

> GetEndOfChainX509 does not return end-user cert
> ---
>
> Key: KUDU-2220
> URL: https://issues.apache.org/jira/browse/KUDU-2220
> Project: Kudu
>  Issue Type: Bug
>  Components: security
>Affects Versions: 1.5.0
>Reporter: Sailesh Mukil
>Assignee: Sailesh Mukil
> Fix For: 1.6.0
>
>
> KUDU-2091 introduced a function GetEndOfChainX509() which was supposed to 
> return the "end-user" certificate. However, the end-user certificate is not 
> at the end of the chain, but rather at the beginning of the chain as 
> specificed by the RFC:
> https://tools.ietf.org/html/rfc5246#section-7.4.2
> {quote}This is a sequence (chain) of certificates.  The sender's certificate 
> MUST come first in the list.  Each following certificate MUST directly 
> certify the one preceding it.{quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Comment Edited] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KUDU-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16261314#comment-16261314
 ] 

Nacho García Fernández edited comment on KUDU-2223 at 11/21/17 7:12 PM:


Example of surefire logs:

{code:java}
19:58:04.892 [INFO - Time-limited test] (MiniKuduCluster.java:145) Starting 
process: [/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu, test, 
mini_cluster, --serialization=pb]
19:58:05.054 [DEBUG - Time-limited test] (MiniKuduCluster.java:113) Request: 
create_cluster {
  num_masters: 3
  num_tservers: 0
  enable_kerberos: false
}

19:58:05.063 [DEBUG - Time-limited test] (MiniKuduCluster.java:123) Response:
19:58:05.063 [DEBUG - Time-limited test] (MiniKuduCluster.java:113) Request: 
start_cluster {
}

19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) I1121 
19:58:05.079746 3212440512 external_mini_cluster.cc:771] Running 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_wal_dir=/tmp/kudutest-214522293/minicluster-data/master-0/wal
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_data_dirs=/tmp/kudutest-214522293/minicluster-data/master-0/data
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--block_manager=file
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_interface=localhost
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--ipki_ca_key_size=1024
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--tsk_num_rsa_bits=512
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--rpc_bind_addresses=127.0.0.1:11030
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_interface=127.0.0.1
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_port=0
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--never_fsync
19:58:05.082 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--ipki_server_key_size=1024
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--enable_minidumps=false
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--redact=none
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--metrics_log_interval_ms=1000
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--logtostderr
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--logbuflevel=-1
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--log_dir=/tmp/kudutest-214522293/minicluster-data/master-0/logs
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--server_dump_info_path=/tmp/kudutest-214522293/minicluster-data/master-0/data/info.pb
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--server_dump_info_format=pb
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--rpc_server_allow_ephemeral_ports
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--unlock_experimental_flags
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--unlock_unsafe_flags
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--master_addresses=127.0.0.1:11030,127.0.0.1:11031,127.0.0.1:11032 with env {}
19:58:05.095 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
WARNING: Logging before InitGoogleLogging() is written to STDERR
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.095039 3212440512 flags.cc:391] Enabled unsafe flag: 
--rpc_server_allow_ephemeral_ports=true
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.095845 3212440512 flags.cc:391] Enabled unsafe flag: --never_fsync=true
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096652 3212440512 flags.cc:391] Enabled experimental flag: 
--ipki_ca_key_size=1024
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096664 3212440512 flags.cc:391] Enabled experimental flag: 
--ipki_server_key_size=1024
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096679 3212440512 flags.cc:391] Enabled experimental flag: 
--tsk_num_rsa_bits=512
19:58:05.097 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) I1121 
19:58:05.097530 3212440512 master_main.cc:66] Master server non-default flags:
19:58:05.097 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_data_dirs=/tmp/kudutest-214522293/minicluster-data/master-0/data

[jira] [Comment Edited] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KUDU-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16261314#comment-16261314
 ] 

Nacho García Fernández edited comment on KUDU-2223 at 11/21/17 7:11 PM:


Example of surefire logs:

{code:java}
19:58:04.892 [INFO - Time-limited test] (MiniKuduCluster.java:145) Starting 
process: [/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu, test, 
mini_cluster, --serialization=pb]
19:58:05.054 [DEBUG - Time-limited test] (MiniKuduCluster.java:113) Request: 
create_cluster {
  num_masters: 3
  num_tservers: 0
  enable_kerberos: false
}

19:58:05.063 [DEBUG - Time-limited test] (MiniKuduCluster.java:123) Response:
19:58:05.063 [DEBUG - Time-limited test] (MiniKuduCluster.java:113) Request: 
start_cluster {
}

19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) I1121 
19:58:05.079746 3212440512 external_mini_cluster.cc:771] Running 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_wal_dir=/tmp/kudutest-214522293/minicluster-data/master-0/wal
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_data_dirs=/tmp/kudutest-214522293/minicluster-data/master-0/data
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--block_manager=file
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_interface=localhost
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--ipki_ca_key_size=1024
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--tsk_num_rsa_bits=512
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--rpc_bind_addresses=127.0.0.1:11030
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_interface=127.0.0.1
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_port=0
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--never_fsync
19:58:05.082 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--ipki_server_key_size=1024
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--enable_minidumps=false
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--redact=none
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--metrics_log_interval_ms=1000
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--logtostderr
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--logbuflevel=-1
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--log_dir=/tmp/kudutest-214522293/minicluster-data/master-0/logs
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--server_dump_info_path=/tmp/kudutest-214522293/minicluster-data/master-0/data/info.pb
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--server_dump_info_format=pb
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--rpc_server_allow_ephemeral_ports
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--unlock_experimental_flags
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--unlock_unsafe_flags
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--master_addresses=127.0.0.1:11030,127.0.0.1:11031,127.0.0.1:11032 with env {}
19:58:05.095 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
WARNING: Logging before InitGoogleLogging() is written to STDERR
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.095039 3212440512 flags.cc:391] Enabled unsafe flag: 
--rpc_server_allow_ephemeral_ports=true
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.095845 3212440512 flags.cc:391] Enabled unsafe flag: --never_fsync=true
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096652 3212440512 flags.cc:391] Enabled experimental flag: 
--ipki_ca_key_size=1024
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096664 3212440512 flags.cc:391] Enabled experimental flag: 
--ipki_server_key_size=1024
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096679 3212440512 flags.cc:391] Enabled experimental flag: 
--tsk_num_rsa_bits=512
19:58:05.097 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) I1121 
19:58:05.097530 3212440512 master_main.cc:66] Master server non-default flags:
19:58:05.097 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_data_dirs=/tmp/kudutest-214522293/minicluster-data/master-0/data

[jira] [Commented] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KUDU-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16261314#comment-16261314
 ] 

Nacho García Fernández commented on KUDU-2223:
--

Example of surefire logs:

{code:java}
19:58:04.892 [INFO - Time-limited test] (MiniKuduCluster.java:145) Starting 
process: [/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu, test, 
mini_cluster, --serialization=pb]
19:58:05.054 [DEBUG - Time-limited test] (MiniKuduCluster.java:113) Request: 
create_cluster {
  num_masters: 3
  num_tservers: 0
  enable_kerberos: false
}

19:58:05.063 [DEBUG - Time-limited test] (MiniKuduCluster.java:123) Response:
19:58:05.063 [DEBUG - Time-limited test] (MiniKuduCluster.java:113) Request: 
start_cluster {
}

19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) I1121 
19:58:05.079746 3212440512 external_mini_cluster.cc:771] Running 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_wal_dir=/tmp/kudutest-214522293/minicluster-data/master-0/wal
19:58:05.080 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_data_dirs=/tmp/kudutest-214522293/minicluster-data/master-0/data
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--block_manager=file
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_interface=localhost
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--ipki_ca_key_size=1024
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--tsk_num_rsa_bits=512
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--rpc_bind_addresses=127.0.0.1:11030
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_interface=127.0.0.1
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--webserver_port=0
19:58:05.081 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--never_fsync
19:58:05.082 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--ipki_server_key_size=1024
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--enable_minidumps=false
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--redact=none
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--metrics_log_interval_ms=1000
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--logtostderr
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--logbuflevel=-1
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--log_dir=/tmp/kudutest-214522293/minicluster-data/master-0/logs
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--server_dump_info_path=/tmp/kudutest-214522293/minicluster-data/master-0/data/info.pb
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--server_dump_info_format=pb
19:58:05.083 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--rpc_server_allow_ephemeral_ports
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--unlock_experimental_flags
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--unlock_unsafe_flags
19:58:05.084 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--master_addresses=127.0.0.1:11030,127.0.0.1:11031,127.0.0.1:11032 with env {}
19:58:05.095 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
WARNING: Logging before InitGoogleLogging() is written to STDERR
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.095039 3212440512 flags.cc:391] Enabled unsafe flag: 
--rpc_server_allow_ephemeral_ports=true
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.095845 3212440512 flags.cc:391] Enabled unsafe flag: --never_fsync=true
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096652 3212440512 flags.cc:391] Enabled experimental flag: 
--ipki_ca_key_size=1024
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096664 3212440512 flags.cc:391] Enabled experimental flag: 
--ipki_server_key_size=1024
19:58:05.096 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) W1121 
19:58:05.096679 3212440512 flags.cc:391] Enabled experimental flag: 
--tsk_num_rsa_bits=512
19:58:05.097 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) I1121 
19:58:05.097530 3212440512 master_main.cc:66] Master server non-default flags:
19:58:05.097 [INFO - cluster stderr printer] (MiniKuduCluster.java:437) 
--fs_data_dirs=/tmp/kudutest-214522293/minicluster-data/master-0/data
19:58:05.097 [INFO - cluster stderr printer] 

[jira] [Resolved] (KUDU-2220) GetEndOfChainX509 does not return end-user cert

2017-11-21 Thread Todd Lipcon (JIRA)

 [ 
https://issues.apache.org/jira/browse/KUDU-2220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Todd Lipcon resolved KUDU-2220.
---
   Resolution: Fixed
Fix Version/s: 1.6.0

> GetEndOfChainX509 does not return end-user cert
> ---
>
> Key: KUDU-2220
> URL: https://issues.apache.org/jira/browse/KUDU-2220
> Project: Kudu
>  Issue Type: Bug
>  Components: security
>Affects Versions: 1.5.0
>Reporter: Sailesh Mukil
>Assignee: Sailesh Mukil
> Fix For: 1.6.0
>
>
> KUDU-2091 introduced a function GetEndOfChainX509() which was supposed to 
> return the "end-user" certificate. However, the end-user certificate is not 
> at the end of the chain, but rather at the beginning of the chain as 
> specificed by the RFC:
> https://tools.ietf.org/html/rfc5246#section-7.4.2
> {quote}This is a sequence (chain) of certificates.  The sender's certificate 
> MUST come first in the list.  Each following certificate MUST directly 
> certify the one preceding it.{quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread Todd Lipcon (JIRA)

[ 
https://issues.apache.org/jira/browse/KUDU-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16261216#comment-16261216
 ] 

Todd Lipcon commented on KUDU-2223:
---

Can you share what's in the Java test logs for the failed tests? They should be 
under the surefire-reports directory. My guess is that will contain the 
necessary info to see why the master won't start. Alternatively maybe just try 
running 'kudu-master -fs-wal-dir /tmp/master' and see what error it exits with.

> Failed to add distributed masters: Unable to start Master at index 0
> 
>
> Key: KUDU-2223
> URL: https://issues.apache.org/jira/browse/KUDU-2223
> Project: Kudu
>  Issue Type: Bug
>  Components: build, java
>Affects Versions: 1.5.0
>Reporter: Nacho García Fernández
>
> After successfully building Kudu on my OSX, I try to run the  mvn verify 
> command in the java submodule, but I get the following exception:
> {code:java}
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> [INFO] Running org.apache.kudu.client.TestAlterTable
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.42 
> s <<< FAILURE! - in org.apache.kudu.client.TestAlterTable
> [ERROR] org.apache.kudu.client.TestAlterTable  Time elapsed: 0.42 s  <<< 
> ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
> [INFO] Running org.apache.kudu.client.TestAsyncKuduClient
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.644 
> s <<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduClient
> [ERROR] org.apache.kudu.client.TestAsyncKuduClient  Time elapsed: 0.644 s  
> <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
>   at 
> org.apache.kudu.client.TestAsyncKuduClient.setUpBeforeClass(TestAsyncKuduClient.java:45)
> [INFO] Running org.apache.kudu.client.TestAsyncKuduSession
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.478 
> s <<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduSession
> [ERROR] org.apache.kudu.client.TestAsyncKuduSession  Time elapsed: 0.478 s  
> <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
>   at 
> org.apache.kudu.client.TestAsyncKuduSession.setUpBeforeClass(TestAsyncKuduSession.java:59)
> [INFO] Running org.apache.kudu.client.TestAuthnTokenReacquire
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.601 
> s <<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquire
> [ERROR] org.apache.kudu.client.TestAuthnTokenReacquire  Time elapsed: 0.601 s 
>  <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> masters: Unable to start Master at index 0: 
> /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited 
> on signal 6
>   at 
> org.apache.kudu.client.TestAuthnTokenReacquire.setUpBeforeClass(TestAuthnTokenReacquire.java:55)
> [INFO] Running org.apache.kudu.client.TestAuthnTokenReacquireOpen
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.865 
> s <<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquireOpen
> [ERROR] org.apache.kudu.client.TestAuthnTokenReacquireOpen  Time elapsed: 
> 0.865 s  <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to start a single 
> Master: /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process 
> exited on signal 6
>   at 
> org.apache.kudu.client.TestAuthnTokenReacquireOpen.setUpBeforeClass(TestAuthnTokenReacquireOpen.java:58)
> [INFO] Running org.apache.kudu.client.TestBitSet
> [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 
> s - in org.apache.kudu.client.TestBitSet
> [INFO] Running org.apache.kudu.client.TestBytes
> [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 
> s - in org.apache.kudu.client.TestBytes
> [INFO] Running org.apache.kudu.client.TestClientFailoverSupport
> [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.399 
> s <<< FAILURE! - in org.apache.kudu.client.TestClientFailoverSupport
> [ERROR] org.apache.kudu.client.TestClientFailoverSupport  Time elapsed: 0.399 
> s  <<< ERROR!
> org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
> 

[jira] [Updated] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KUDU-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nacho García Fernández updated KUDU-2223:
-
Description: 
After successfully building Kudu on my OSX, I try to run the  mvn verify 
command in the java submodule, but I get the following exception:

{code:java}
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.kudu.client.TestAlterTable
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.42 s 
<<< FAILURE! - in org.apache.kudu.client.TestAlterTable
[ERROR] org.apache.kudu.client.TestAlterTable  Time elapsed: 0.42 s  <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited on 
signal 6

[INFO] Running org.apache.kudu.client.TestAsyncKuduClient
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.644 s 
<<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduClient
[ERROR] org.apache.kudu.client.TestAsyncKuduClient  Time elapsed: 0.644 s  <<< 
ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited on 
signal 6
at 
org.apache.kudu.client.TestAsyncKuduClient.setUpBeforeClass(TestAsyncKuduClient.java:45)

[INFO] Running org.apache.kudu.client.TestAsyncKuduSession
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.478 s 
<<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduSession
[ERROR] org.apache.kudu.client.TestAsyncKuduSession  Time elapsed: 0.478 s  <<< 
ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited on 
signal 6
at 
org.apache.kudu.client.TestAsyncKuduSession.setUpBeforeClass(TestAsyncKuduSession.java:59)

[INFO] Running org.apache.kudu.client.TestAuthnTokenReacquire
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.601 s 
<<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquire
[ERROR] org.apache.kudu.client.TestAuthnTokenReacquire  Time elapsed: 0.601 s  
<<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited on 
signal 6
at 
org.apache.kudu.client.TestAuthnTokenReacquire.setUpBeforeClass(TestAuthnTokenReacquire.java:55)

[INFO] Running org.apache.kudu.client.TestAuthnTokenReacquireOpen
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.865 s 
<<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquireOpen
[ERROR] org.apache.kudu.client.TestAuthnTokenReacquireOpen  Time elapsed: 0.865 
s  <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to start a single 
Master: /Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestAuthnTokenReacquireOpen.setUpBeforeClass(TestAuthnTokenReacquireOpen.java:58)

[INFO] Running org.apache.kudu.client.TestBitSet
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 s 
- in org.apache.kudu.client.TestBitSet
[INFO] Running org.apache.kudu.client.TestBytes
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 s 
- in org.apache.kudu.client.TestBytes
[INFO] Running org.apache.kudu.client.TestClientFailoverSupport
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.399 s 
<<< FAILURE! - in org.apache.kudu.client.TestClientFailoverSupport
[ERROR] org.apache.kudu.client.TestClientFailoverSupport  Time elapsed: 0.399 s 
 <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/0xNacho/dev/github/kudu/build/latest/bin/kudu-master: process exited on 
signal 6
at 
org.apache.kudu.client.TestClientFailoverSupport.setUpBeforeClass(TestClientFailoverSupport.java:35)

[INFO] Running org.apache.kudu.client.TestColumnRangePredicate
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s 
- in org.apache.kudu.client.TestColumnRangePredicate
[INFO] Running org.apache.kudu.client.TestConnectionCache
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.43 s 
<<< FAILURE! - in org.apache.kudu.client.TestConnectionCache
[ERROR] test(org.apache.kudu.client.TestConnectionCache)  Time elapsed: 0.375 s 
 <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 

[jira] [Updated] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/KUDU-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nacho García Fernández updated KUDU-2223:
-
Description: 
After successfully building Kudu on my OSX, I try to run the  mvn verify 
command in the java submodule, but I get the following exception:

{code:java}
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.kudu.client.TestAlterTable
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.42 s 
<<< FAILURE! - in org.apache.kudu.client.TestAlterTable
[ERROR] org.apache.kudu.client.TestAlterTable  Time elapsed: 0.42 s  <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6

[INFO] Running org.apache.kudu.client.TestAsyncKuduClient
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.644 s 
<<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduClient
[ERROR] org.apache.kudu.client.TestAsyncKuduClient  Time elapsed: 0.644 s  <<< 
ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestAsyncKuduClient.setUpBeforeClass(TestAsyncKuduClient.java:45)

[INFO] Running org.apache.kudu.client.TestAsyncKuduSession
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.478 s 
<<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduSession
[ERROR] org.apache.kudu.client.TestAsyncKuduSession  Time elapsed: 0.478 s  <<< 
ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestAsyncKuduSession.setUpBeforeClass(TestAsyncKuduSession.java:59)

[INFO] Running org.apache.kudu.client.TestAuthnTokenReacquire
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.601 s 
<<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquire
[ERROR] org.apache.kudu.client.TestAuthnTokenReacquire  Time elapsed: 0.601 s  
<<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestAuthnTokenReacquire.setUpBeforeClass(TestAuthnTokenReacquire.java:55)

[INFO] Running org.apache.kudu.client.TestAuthnTokenReacquireOpen
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.865 s 
<<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquireOpen
[ERROR] org.apache.kudu.client.TestAuthnTokenReacquireOpen  Time elapsed: 0.865 
s  <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to start a single 
Master: /Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: 
process exited on signal 6
at 
org.apache.kudu.client.TestAuthnTokenReacquireOpen.setUpBeforeClass(TestAuthnTokenReacquireOpen.java:58)

[INFO] Running org.apache.kudu.client.TestBitSet
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 s 
- in org.apache.kudu.client.TestBitSet
[INFO] Running org.apache.kudu.client.TestBytes
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 s 
- in org.apache.kudu.client.TestBytes
[INFO] Running org.apache.kudu.client.TestClientFailoverSupport
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.399 s 
<<< FAILURE! - in org.apache.kudu.client.TestClientFailoverSupport
[ERROR] org.apache.kudu.client.TestClientFailoverSupport  Time elapsed: 0.399 s 
 <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestClientFailoverSupport.setUpBeforeClass(TestClientFailoverSupport.java:35)

[INFO] Running org.apache.kudu.client.TestColumnRangePredicate
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s 
- in org.apache.kudu.client.TestColumnRangePredicate
[INFO] Running org.apache.kudu.client.TestConnectionCache
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.43 s 
<<< FAILURE! - in org.apache.kudu.client.TestConnectionCache
[ERROR] test(org.apache.kudu.client.TestConnectionCache)  Time elapsed: 0.375 s 
 <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to 

[jira] [Created] (KUDU-2223) Failed to add distributed masters: Unable to start Master at index 0

2017-11-21 Thread JIRA
Nacho García Fernández created KUDU-2223:


 Summary: Failed to add distributed masters: Unable to start Master 
at index 0
 Key: KUDU-2223
 URL: https://issues.apache.org/jira/browse/KUDU-2223
 Project: Kudu
  Issue Type: Bug
  Components: build, java
Affects Versions: 1.5.0
Reporter: Nacho García Fernández


After successfuly building Kudu on my OSX, I try to mvn verify in the java 
submodule, but I get the following exception:

{code:java}
[INFO] ---
[INFO]  T E S T S
[INFO] ---
[INFO] Running org.apache.kudu.client.TestAlterTable
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.42 s 
<<< FAILURE! - in org.apache.kudu.client.TestAlterTable
[ERROR] org.apache.kudu.client.TestAlterTable  Time elapsed: 0.42 s  <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6

[INFO] Running org.apache.kudu.client.TestAsyncKuduClient
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.644 s 
<<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduClient
[ERROR] org.apache.kudu.client.TestAsyncKuduClient  Time elapsed: 0.644 s  <<< 
ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestAsyncKuduClient.setUpBeforeClass(TestAsyncKuduClient.java:45)

[INFO] Running org.apache.kudu.client.TestAsyncKuduSession
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.478 s 
<<< FAILURE! - in org.apache.kudu.client.TestAsyncKuduSession
[ERROR] org.apache.kudu.client.TestAsyncKuduSession  Time elapsed: 0.478 s  <<< 
ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestAsyncKuduSession.setUpBeforeClass(TestAsyncKuduSession.java:59)

[INFO] Running org.apache.kudu.client.TestAuthnTokenReacquire
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.601 s 
<<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquire
[ERROR] org.apache.kudu.client.TestAuthnTokenReacquire  Time elapsed: 0.601 s  
<<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestAuthnTokenReacquire.setUpBeforeClass(TestAuthnTokenReacquire.java:55)

[INFO] Running org.apache.kudu.client.TestAuthnTokenReacquireOpen
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.865 s 
<<< FAILURE! - in org.apache.kudu.client.TestAuthnTokenReacquireOpen
[ERROR] org.apache.kudu.client.TestAuthnTokenReacquireOpen  Time elapsed: 0.865 
s  <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to start a single 
Master: /Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: 
process exited on signal 6
at 
org.apache.kudu.client.TestAuthnTokenReacquireOpen.setUpBeforeClass(TestAuthnTokenReacquireOpen.java:58)

[INFO] Running org.apache.kudu.client.TestBitSet
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 s 
- in org.apache.kudu.client.TestBitSet
[INFO] Running org.apache.kudu.client.TestBytes
[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 s 
- in org.apache.kudu.client.TestBytes
[INFO] Running org.apache.kudu.client.TestClientFailoverSupport
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.399 s 
<<< FAILURE! - in org.apache.kudu.client.TestClientFailoverSupport
[ERROR] org.apache.kudu.client.TestClientFailoverSupport  Time elapsed: 0.399 s 
 <<< ERROR!
org.apache.kudu.client.NonRecoverableException: Failed to add distributed 
masters: Unable to start Master at index 0: 
/Users/n.garcia.fernandez/dev/github/kudu/build/latest/bin/kudu-master: process 
exited on signal 6
at 
org.apache.kudu.client.TestClientFailoverSupport.setUpBeforeClass(TestClientFailoverSupport.java:35)

[INFO] Running org.apache.kudu.client.TestColumnRangePredicate
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.106 s 
- in org.apache.kudu.client.TestColumnRangePredicate
[INFO] Running org.apache.kudu.client.TestConnectionCache
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.43 s 
<<< FAILURE! -