[jira] [Updated] (KAFKA-3591) JmxTool should exit out if a provided query matches no values

2016-04-20 Thread Harsh J (JIRA)

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

Harsh J updated KAFKA-3591:
---
Status: Patch Available  (was: Open)

> JmxTool should exit out if a provided query matches no values
> -
>
> Key: KAFKA-3591
> URL: https://issues.apache.org/jira/browse/KAFKA-3591
> Project: Kafka
>  Issue Type: Improvement
>  Components: tools
>Affects Versions: 0.9.0.0
>Reporter: Harsh J
>Priority: Trivial
>
> Running {{kafka.tools.JmxTool}} with an invalid query, such as 
> {{--object-name "foobar"}} would produce just "time" field outputs given no 
> such object. If there are no matched objects when a query has been explicitly 
> provided, it should exit out instead of just printing the time data.
> (We should not exit if no filter is provided though, i.e. if the KAFKA-2278 
> feature is used)



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


[jira] [Commented] (KAFKA-3591) JmxTool should exit out if a provided query matches no values

2016-04-20 Thread Harsh J (JIRA)

[ 
https://issues.apache.org/jira/browse/KAFKA-3591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15249722#comment-15249722
 ] 

Harsh J commented on KAFKA-3591:


(Please assign to me)

> JmxTool should exit out if a provided query matches no values
> -
>
> Key: KAFKA-3591
> URL: https://issues.apache.org/jira/browse/KAFKA-3591
> Project: Kafka
>  Issue Type: Improvement
>  Components: tools
>Affects Versions: 0.9.0.0
>Reporter: Harsh J
>Priority: Trivial
>
> Running {{kafka.tools.JmxTool}} with an invalid query, such as 
> {{--object-name "foobar"}} would produce just "time" field outputs given no 
> such object. If there are no matched objects when a query has been explicitly 
> provided, it should exit out instead of just printing the time data.
> (We should not exit if no filter is provided though, i.e. if the KAFKA-2278 
> feature is used)



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


[jira] [Created] (KAFKA-3591) JmxTool should exit out if a provided query matches no values

2016-04-20 Thread Harsh J (JIRA)
Harsh J created KAFKA-3591:
--

 Summary: JmxTool should exit out if a provided query matches no 
values
 Key: KAFKA-3591
 URL: https://issues.apache.org/jira/browse/KAFKA-3591
 Project: Kafka
  Issue Type: Improvement
  Components: tools
Affects Versions: 0.9.0.0
Reporter: Harsh J
Priority: Trivial


Running {{kafka.tools.JmxTool}} with an invalid query, such as {{--object-name 
"foobar"}} would produce just "time" field outputs given no such object. If 
there are no matched objects when a query has been explicitly provided, it 
should exit out instead of just printing the time data.

(We should not exit if no filter is provided though, i.e. if the KAFKA-2278 
feature is used)



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