Issue Details (XML | Word | Printable)

Key: KATTA-187
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Trivial Trivial
Assignee: Unassigned
Reporter: Mathias Walter
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Katta

add additional parameters to the Katta client to change the output format for easier scripting and parsing

Created: 11/Mar/11 01:52 PM   Updated: 14/May/11 04:22 PM
Component/s: None
Affects Version/s: 0.6.3
Fix Version/s: 0.6.4

File Attachments: 1. Text File KATTA-187_2.patch (10 kB)



 Description  « Hide
The output tables produced by the katta commands listIndices, listNodes and check are not sorted and contain separation characters. Sometimes it is hard to read the unsorted output and parsing would be easier if no extra separation characters would be present.
It would be useful to have options to supress these separators, order the table and optionally remove the table header.

The attached patch introduces three parameters:

  • -b batch mode
  • -n don't write column names
  • -S sort the index/shard/node names


 All   Comments   Change History   git Commits      Sort Order: Ascending order - Click to sort in descending order
Mathias Walter added a comment - 15/Mar/11 03:26 PM
fixed patch; some lines/separators were still shown

Johannes Zillmann added a comment - 14/May/11 04:22 PM
patch committed (changed 'column name' to 'column header' in command description)