Neil Conway created MESOS-4589:
----------------------------------
Summary: Consider changing the format for printing empty Resources
Key: MESOS-4589
URL: https://issues.apache.org/jira/browse/MESOS-4589
Project: Mesos
Issue Type: Improvement
Components: general
Reporter: Neil Conway
Priority: Minor
Right now, we emit log messages like:
{code}
I0203 11:31:35.524353 3747840 slave.cpp:2340] Updated checkpointed resources
from to cpus(role, test-principal):1; mem(role, test-principal):512
{code}
At first glance, this looks like it contains a grammatical error. We might
consider either
1. Adding a pair of starting/trailing characters to the printed format of a
{{Resources}} -- e.g., {{<cpus(role, test-principal):1; mem(role,
test-principal):512>}}, empty Resources would be {{<>}}.
2. When including a {{Resources}} value in a log message, wrap it in quotation
marks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)