Grant Henke has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/15336 )

Change subject: [scripts] Update parse_metrics_log.py to make it usable in 
other scripts
......................................................................

[scripts] Update parse_metrics_log.py to make it usable in other scripts

This wraps the functionality in parse_metrics_log.py in a class
so that it can be used from another python script.

It maintains the old functionality by moving the print statement
to the main function, from the process function.

I will use this so I can wrap this script in some of my performance
analysis work.

Change-Id: Ia107b54a7efc45f9877e7c0b9405cefb550c38f2
Reviewed-on: http://gerrit.cloudera.org:8080/15336
Reviewed-by: Andrew Wong <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/scripts/parse_metrics_log.py
1 file changed, 121 insertions(+), 111 deletions(-)

Approvals:
  Andrew Wong: Looks good to me, approved
  Kudu Jenkins: Verified

--
To view, visit http://gerrit.cloudera.org:8080/15336
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia107b54a7efc45f9877e7c0b9405cefb550c38f2
Gerrit-Change-Number: 15336
Gerrit-PatchSet: 3
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to