Github user kaysoky commented on the issue:

    https://github.com/apache/mesos/pull/162
  
    LGTM.
    
    Checked the UI by running a couple agents:
    ```
    bin/mesos-master.sh --work_dir=/tmp/master --ip=127.0.0.1
    bin/mesos-agent.sh --master=localhost:5050 --work_dir=/tmp/agent1
    bin/mesos-agent.sh --master=localhost:5050 --work_dir=/tmp/agent2 
--port=5052
    bin/mesos-agent.sh --master=localhost:5050 --work_dir=/tmp/agent3 
--port=5053
    ```
    Commenting out this line: 
    
https://github.com/apache/mesos/blob/fb23845214088bf48dd0e9e0324cafa3643d574a/src/cli/execute.cpp#L453
    
    Then building and running:
    ```
    src/mesos-execute --master=localhost:5050 --command="sleep 1000" 
--name="Hoarding task"
    ```
    
    As expected, the UI showed 1 CPU of usage, consistently.  Checking the 
"Offers" tab showed one offer for each agent (hoarded).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to