Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Conversation

@siddharthvipul
Copy link
Collaborator

  • empty directories (holders) for other tools
  • add smallfile parser
  • add sample output of smallfile (read and write)
  • add sample output of the parser

log to stderr? : False
ext.attr.size : 0
ext.attr.count : 0
host = dhcp37-55.lab.eng.blr.redhat.com,thr = 00,elapsed = 22.428904,files = 1000,records = 1000,status = ok

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove all references to internal IPs in public code.

@@ -0,0 +1,84 @@
#!/usr/bin/python3

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make parsers a python module and fix names appropriately.

attr = []
with open(file_name) as fobj:
data_file = fobj.read().split("\n")
for line in data_file:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you looked at whether smallfile already outputs CSV and if you can use that instead?

Copy link
Collaborator

@ShyamsundarR ShyamsundarR Aug 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With th option --output-json smallfile will output JSON data, this maybe more useful from a parsing standpoint.

smallfile does output csv, but that is more for when we give --response-times option, and records response times for each operation. Noting that here. Also, we possibly do not need that.

I would prefer parsing JSON in this case, rather than CLI output.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants