I am working through the elastic lab 1.4. I am not using virtual lab, I am running mine locally.
For some reason I did not have the blogs_sql.conf when I installed Elastic. So, I found an example on the web, created the file, and put it into the datasets directory.
Now I am trying to run logstash with the following command from the lab manual
An illegal reflective access operation has occurred
Also, I get a lot of output, but most errors are associated with permissions like the one below.
Error: unable to load /home/troy/elastic/postgresql-42.2.9.jar from :jdbc_driver_library, file not readable (please check user and group permissions for the path)
Exception: LogStash::PluginLoadingError
I have done a chmod on all the files, and the permissions should be fine. Please let me know if you have any ideas as to what the problem is.
And yet logstash says they are not. I would suggest using strace (or the equivalent on your flavour of UNIX) to trace all the system calls. Write all that to a file and after the error grep for postgresql-42 in it.
You can ignore the illegal reflective access message. At some point whoever owns that code will get around to fixing it and a new version of logstash will pick up the new code.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.