Opened 51 years ago
Last modified 10 years ago
#896 new task
IZ590: commands show only table headers as output
Reported by: | afisch | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | hedeby | Version: | 1.0u1 |
Severity: | Keywords: | Sun cli | |
Cc: |
Description
[Imported from gridengine issuezilla http://gridengine.sunsource.net/issues/show_bug.cgi?id=590]
Issue #: 590 Platform: Sun Reporter: afisch (afisch) Component: hedeby OS: All Subcomponent: cli Version: 1.0u1 CC: None defined Status: NEW Priority: P4 Resolution: Issue type: TASK Target milestone: 1.0u5next Assigned to: adoerr (adoerr) QA Contact: adoerr URL: * Summary: commands show only table headers as output Status whiteboard: Attachments: Issue 590 blocks: Votes for issue 590: Vote for this issue Opened: Mon Nov 3 10:09:00 -0700 2008 ------------------------ Description: if the filter options for the modify_log_level, command do not match any jvm the following output is shown: ./sdmadm -s sdmaf mll -l x=OFF -h y -j z jvm host logger level --------------------- This problem is also visible in other commands, like show_log_level and show_blacklist ./sdmadm -s sdmaf sll -h x -j y jvm host logger level --------------------- ./sdmadm -s sdmaf sb service resource id ------------------- Evaluation: The problem is rated as p4 task. It is not a bug, but the output is not reasonable. Suggested fix / work around: Fix: An appropriate message like: "No matching JVMs found." should be shown instead Work around: Not needed / not a bug. Analysis: A check for an empty result and the appropriate message has to be included in: com.sun.grid.grm.cli.cmd.administration.GetLoggingCliCommand#124 com.sun.grid.grm.cli.cmd.administration.SetLoggingCliCommand#129 com.sun.grid.grm.cli.cmd.monitoring.ShowBlackListCliCommand#75 It should be checked if other commands suffer from the same problem. How to test: The commands should be tested with TS tests. The commands should be called in two ways: 1.) Call the command that at least one line is formatted with the table output 2.) Call the command that any result is filtered and an empty table is expected. ETC: 1.5 PD ------- Additional comments from rhierlmeier Wed Nov 25 07:21:10 -0700 2009 ------- Milestone changed
Note: See
TracTickets for help on using
tickets.