[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2015-08-18 Thread Greg Mann (JIRA)

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

Greg Mann updated MESOS-1751:
-
Assignee: (was: Dominic Hamon)

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2014-11-11 Thread Dominic Hamon (JIRA)

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

Dominic Hamon updated MESOS-1751:
-
Sprint: Mesos Q3 Sprint 6, Twitter Q4 Sprint 1, Twitter Mesos Q4 Sprint 2  
(was: Mesos Q3 Sprint 6, Twitter Q4 Sprint 1, Twitter Mesos Q4 Sprint 2, 
Twitter Mesos Q4 Sprint 3)

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Assignee: Dominic Hamon
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2014-11-03 Thread Dominic Hamon (JIRA)

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

Dominic Hamon updated MESOS-1751:
-
Sprint: Mesos Q3 Sprint 6, Twitter Q4 Sprint 1, Twitter Mesos Q4 Sprint 2, 
Twitter Mesos Q4 Sprint 3  (was: Mesos Q3 Sprint 6, Twitter Q4 Sprint 1, 
Twitter Mesos Q4 Sprint 2)

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Assignee: Dominic Hamon
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2014-10-20 Thread Dominic Hamon (JIRA)

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

Dominic Hamon updated MESOS-1751:
-
Sprint: Mesos Q3 Sprint 6, Twitter Q4 Sprint 1, Twitter Q4 Sprint 2  (was: 
Mesos Q3 Sprint 6, Twitter Q4 Sprint 1, Mesosphere Q4 Sprint 1)

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Assignee: Dominic Hamon
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2014-10-06 Thread Dominic Hamon (JIRA)

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

Dominic Hamon updated MESOS-1751:
-
Sprint: Mesos Q3 Sprint 6, Mesos Q3 Sprint 7  (was: Mesos Q3 Sprint 6)

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Assignee: Dominic Hamon
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2014-09-22 Thread Dominic Hamon (JIRA)

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

Dominic Hamon updated MESOS-1751:
-
Shepherd: Benjamin Mahler

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Assignee: Dominic Hamon
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2014-09-22 Thread Dominic Hamon (JIRA)

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

Dominic Hamon updated MESOS-1751:
-
Sprint: Mesos Q3 Sprint 6

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Assignee: Dominic Hamon
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (MESOS-1751) Request for stats.json cannot be fulfilled after stopping the framework

2014-09-22 Thread Dominic Hamon (JIRA)

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

Dominic Hamon updated MESOS-1751:
-
Story Points: 5

 Request for stats.json cannot be fulfilled after stopping the framework 
 --

 Key: MESOS-1751
 URL: https://issues.apache.org/jira/browse/MESOS-1751
 Project: Mesos
  Issue Type: Bug
  Components: test
Affects Versions: 0.21.0
 Environment: Test case launched on Mac OS X Mavericks.
Reporter: Alexander Rukletsov
Assignee: Dominic Hamon
Priority: Minor

 Request for stats.json to master from a test case doesn't work after 
 calling frameworks' {{driver.stop()}}. However, it works for state.json. I 
 think the problem is related to {{stats()}} continuation {{_stats()}}. The 
 following test illustrates the issue:
 {code:title=TestCase.cpp|borderStyle=solid}
 TEST_F(MasterTest, RequestAfterDriverStop)
 {
   TryPIDMaster  master = StartMaster();
   ASSERT_SOME(master);
   TryPIDSlave  slave = StartSlave();
   ASSERT_SOME(slave);
   MockScheduler sched;
   MesosSchedulerDriver driver(
   sched, DEFAULT_FRAMEWORK_INFO, master.get(), DEFAULT_CREDENTIAL);
   driver.start();
   
   Futureprocess::http::Response response_before =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_before);
   driver.stop();
   Futureprocess::http::Response response_after =
   process::http::get(master.get(), stats.json);
   AWAIT_READY(response_after);
   driver.join();
   Shutdown();  // Must shutdown before 'containerizer' gets deallocated.
 }
 {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)