[ 
https://issues.apache.org/jira/browse/MESOS-817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13831764#comment-13831764
 ] 

Yan Xu edited comment on MESOS-817 at 11/25/13 10:57 PM:
---------------------------------------------------------

Still getting it at the same location.

{noformat}
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1125 08:58:22.898201 56400 process.cpp:1555] libprocess is initialized on 
x.x.x.x:59218 for 24 cpus
I1125 08:58:22.898695 56400 logging.cpp:123] Logging to 
/home/jyx/abc/logs/abc/tests/TestScheduler_test_start_cronjob_ExpireLeadingSchedulerZKSession_JobStatusRunning/masters/1
I1125 08:58:22.899061 56400 main.cpp:126] Build: 2013-11-15 08:18:58 by jyx
I1125 08:58:22.899080 56400 main.cpp:127] Starting Mesos master
2013-11-25 08:58:22,901:56400(0x7f1b8637b940):ZOO_INFO@log_env@658: Client 
environment:zookeeper.version=zookeeper C client 3.3.4
2013-11-25 08:58:22,904:56400(0x7f1b8637b940):ZOO_INFO@log_env@662: Client 
environment:host.name=abc
2013-11-25 08:58:22,904:56400(0x7f1b8637b940):ZOO_INFO@log_env@669: Client 
environment:os.name=Linux
2013-11-25 08:58:22,904:56400(0x7f1b8637b940):ZOO_INFO@log_env@670: Client 
environment:os.arch=2.6.44-t13.el5
2013-11-25 08:58:22,904:56400(0x7f1b8637b940):ZOO_INFO@log_env@671: Client 
environment:os.version=#1 SMP Fri Nov 8 11:56:01 PST 2013
2013-11-25 08:58:22,904:56400(0x7f1b8637b940):ZOO_INFO@log_env@679: Client 
environment:user.name=(null)
F1125 08:58:22.900377 56429 future.hpp:661] Check failed: !isPending() Future 
was in PENDING after await()
2013-11-25 08:58:22,905:56400(0x7f1b8637b940):ZOO_INFO@log_env@687: Client 
environment:user.home=/home/jyx
2013-11-25 08:58:22,905:56400(0x7f1b8637b940):ZOO_INFO@log_env@699: Client 
environment:user.dir=/home/jyx/abc/libs_master/sbin
2013-11-25 08:58:22,905:56400(0x7f1b8637b940):ZOO_INFO@zookeeper_init@727: 
Initiating client connection, host=localhost:52118 sessionTimeout=10000 
watcher=0x7f1b8ff40624 sessionId=0 sessionPasswd=<null> context=0x7f1b78010d50 
flags=0
*** Check failure stack trace: ***
I1125 08:58:22.900603 56407 master.cpp:285] Master started on x.x.x.x:59218
I1125 08:58:22.905462 56407 master.cpp:299] Master ID: 
201311250858-1740121354-59218-56400
I1125 08:58:22.905493 56407 master.cpp:309] Master allowing unauthenticated 
frameworks to register!!
2013-11-25 08:58:22,905:56400(0x7f1b7df5b940):ZOO_INFO@check_events@1585: 
initiated connection to server [127.0.0.1:52118]
I1125 08:58:22.906421 56415 master.cpp:85] No whitelist given. Advertising 
offers for all slaves
I1125 08:58:22.906419 56418 hierarchical_allocator_process.hpp:302] 
Initializing hierarchical allocator process with master : [email protected]:59218
    @     0x7f1b901f4d0d  google::LogMessage::Fail()
    @     0x7f1b901f8cf7  google::LogMessage::SendToLog()
I1125 08:58:22.910454 56428 contender.cpp:122] Joining the ZK group with data: 
'[email protected]:59218'
I1125 08:58:22.910461 56416 master.cpp:666] Successfully attached file 
'/home/jyx/abc/logs/abc/tests/TestScheduler_test_start_cronjob_ExpireLeadingSchedulerZKSession_JobStatusRunning/masters/1/mesos-master.INFO'
    @     0x7f1b901f75f4  google::LogMessage::Flush()
    @     0x7f1b901f7826  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f1b8ff3ea0e  process::Future<>::get()
    @     0x7f1b8ff2eab4  Watcher::Watcher()
    @     0x7f1b8ff707ae  ProcessWatcher<>::ProcessWatcher()
    @     0x7f1b8ff498cb  zookeeper::GroupProcess::initialize()
    @     0x7f1b900c7bac  process::ProcessManager::resume()
    @     0x7f1b900c86dc  process::schedule()
    @     0x7f1b8eee683d  start_thread
    @     0x7f1b8d6af26d  clone
WARNING: Logging before InitGoogleLogging() is written to STDERR
{noformat}


was (Author: xujyan):
Still getting it at the same location.

{noformat}
F1125 08:58:22.900377 56429 future.hpp:661] Check failed: !isPending() Future 
was in PENDING after await()
    @     0x7f1b901f4d0d  google::LogMessage::Fail()
    @     0x7f1b901f8cf7  google::LogMessage::SendToLog()
    @     0x7f1b901f75f4  google::LogMessage::Flush()
    @     0x7f1b901f7826  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f1b8ff3ea0e  process::Future<>::get()
    @     0x7f1b8ff2eab4  Watcher::Watcher()
    @     0x7f1b8ff707ae  ProcessWatcher<>::ProcessWatcher()
    @     0x7f1b8ff498cb  zookeeper::GroupProcess::initialize()
    @     0x7f1b900c7bac  process::ProcessManager::resume()
    @     0x7f1b900c86dc  process::schedule()
    @     0x7f1b8eee683d  start_thread
    @     0x7f1b8d6af26d  clone
{noformat}

> CHECK is Future.get() can fail.
> -------------------------------
>
>                 Key: MESOS-817
>                 URL: https://issues.apache.org/jira/browse/MESOS-817
>             Project: Mesos
>          Issue Type: Bug
>         Environment: Linux gcc 4.2.1
>            Reporter: Jie Yu
>            Assignee: Jie Yu
>
> template <typename T>
> T Future<T>::get() const
> {
>   if (!isReady()) {
>     await();
>   }
>   CHECK(!isPending()) << "Future was in PENDING after await()";
>   if (!isReady()) {
>     if (isFailed()) {
>       std::cerr << "Future::get() but state == FAILED: "
>                 << failure()  << std::endl;
>     } else if (isDiscarded()) {
>       std::cerr << "Future::get() but state == DISCARDED" << std::endl;
>     }
>     abort();
>   }
>   assert(data->t != NULL);
>   return *data->t;
> }
> This CHECK can fail:
> CHECK(!isPending()) << "Future was in PENDING after await()";



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to