It's a bug. The target option is ignored in the code (with a plethora
of TODO comments).
Tom
On 11/17/2010 11:14 AM, Jason Lee wrote:
> I have a question about generate-jvm-report. Perhaps I don't
> understand exactly how it's supposed to work. Here's my scenario. I
> created a cluster, c1, then added a system-property to server:
>
> $ asadmin create-cluster c1
> $ asadmin create-system-properties TEST_PROP=abc
> $ asadmin generate-jvm-report | grep TEST_PROP
> TEST_PROP = abc
> $ asadmin generate-jvm-report --target c1 | grep TEST_PROP
> TEST_PROP = abc
>
> It seems that TEST_PROP should not be showing up in the JVM report for
> c1. Am I wrong?
>