Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support .gzipped benchmark data #87

Closed
danielmitterdorfer opened this issue Apr 26, 2016 · 1 comment
Closed

Support .gzipped benchmark data #87

danielmitterdorfer opened this issue Apr 26, 2016 · 1 comment
Labels
enhancement Improves the status quo :Usability Makes Rally easier to use
Milestone

Comments

@danielmitterdorfer
Copy link
Member

Currently we only support .zip and .bz2. We should maybe also support gzipped data sets.

Currently, we get the following trace:

Traceback (most recent call last):
  File "/usr/local/bin/esrally", line 9, in <module>
    load_entry_point('esrally==0.2.1.dev0', 'console_scripts', 'esrally')()
  File "/home/dm/rally/esrally/rally.py", line 238, in main
    success = race_control.start(subcommand)
  File "/home/dm/rally/esrally/racecontrol.py", line 260, in start
    pipeline.run(t)
  File "/home/dm/rally/esrally/racecontrol.py", line 88, in run
    step.run(track)
  File "/home/dm/rally/esrally/racecontrol.py", line 27, in run
    self.command(self.ctx, track)
  File "/home/dm/rally/esrally/racecontrol.py", line 116, in prepare_track
    ctx.marshal.setup(track)
  File "/home/dm/rally/esrally/track/track.py", line 346, in setup
    unzipped_data_set_path = self._unzip(data_set_path)
  File "/home/dm/rally/esrally/track/track.py", line 406, in _unzip
    io.unzip(data_set_path, io.dirname(data_set_path))
  File "/home/dm/rally/esrally/utils/io.py", line 68, in unzip
    raise RuntimeError("Unsupported file extension '%s'. Cannot unzip '%s'" % (extension, zip_name))
RuntimeError: Unsupported file extension '.gz'. Cannot unzip '/home/dm/rally-test/data/logging/logs.json.gz'
@danielmitterdorfer danielmitterdorfer added enhancement Improves the status quo help wanted We'd be happy about a community contribution :Usability Makes Rally easier to use labels Apr 26, 2016
@danielmitterdorfer danielmitterdorfer added this to the Backlog milestone Apr 26, 2016
@danielmitterdorfer
Copy link
Member Author

Closed by #88

@danielmitterdorfer danielmitterdorfer modified the milestones: 0.2.1, Backlog Apr 28, 2016
@danielmitterdorfer danielmitterdorfer removed the help wanted We'd be happy about a community contribution label Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves the status quo :Usability Makes Rally easier to use
Projects
None yet
Development

No branches or pull requests

1 participant