Can not start esrally after installed


(Nick) #1

After installed I try to run it but there's some errors...

[root@NETLOGS ~]# esrally configure

    ____        ____
   / __ \____ _/ / /_  __
  / /_/ / __ `/ / / / / /
 / _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /
                /____/

Running simple configuration. Run the advanced configuration with:

  esrally configure --advanced-config


WARNING: Will overwrite existing config file at [/root/.rally/rally.ini]

* Autodetecting available third-party software
  git    : [OK]
  gradle : [OK]
  JDK    : [OK]
[root@NETLOGS ~]# esrally --distribution-version=5.6.4 --track=http_logs

    ____        ____
   / __ \____ _/ / /_  __
  / /_/ / __ `/ / / / / /
 / _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /
                /____/

[INFO] Writing logs to /root/.rally/logs/rally_out_20180206T093649Z.log
[INFO] Preparing for race ...
[INFO] Rally will delete the benchmark candidate after the benchmark
[ERROR] Cannot race. ('Error on host 127.0.0.1', AttributeError("'NoneType' object has no attribute 'startswith'",))

Getting further help:
*********************
* Check the log files in /root/.rally/logs for errors.
* Read the documentation at https://esrally.readthedocs.io/en/0.9.1/
* Ask a question on the forum at https://discuss.elastic.co/c/elasticsearch/rally
* Raise an issue at https://github.com/elastic/rally/issues and include the log files in /root/.rally/logs.

-------------------------------
[INFO] FAILURE (took 5 seconds)
-------------------------------
2018-02-06 09:56:08,360 PID:24349 root INFO ---- Actor System shutdown
2018-02-06 09:56:08,361 PID:24343 rally.main INFO Actor system is still running. Waiting...
2018-02-06 09:56:09,363 PID:24343 rally.main INFO Shutdown completed.
2018-02-06 09:56:09,363 PID:24343 root ERROR Cannot run subcommand [race].
Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/esrally/rally.py", line 543, in dispatch_sub_command
    race(cfg)
  File "/usr/lib/python3.4/site-packages/esrally/rally.py", line 473, in race
    with_actor_system(lambda c: racecontrol.run(c), cfg)
  File "/usr/lib/python3.4/site-packages/esrally/rally.py", line 493, in with_actor_system
    runnable(cfg)
  File "/usr/lib/python3.4/site-packages/esrally/rally.py", line 473, in <lambda>
    with_actor_system(lambda c: racecontrol.run(c), cfg)
  File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 382, in run 
    raise e
  File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 379, in run 
    pipeline(cfg)
  File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 63, in __call__
    self.target(cfg)
  File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 319, in from_distribution
    return race(cfg, distribution=True)
  File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 281, in race
    raise exceptions.RallyError(result.message, result.cause)
esrally.exceptions.RallyError: ('Error on host 127.0.0.1', NotADirectoryError(20, 'Not a directory'))

(Daniel Mitterdorfer) #2

Can you please share the contents of ~/.rally/rally.ini? This looks as if something is fishy w.r.t. to detecting the JDK version.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.