presto
presto copied to clipboard
fix class loader issue with Elasticsearch's "names.txt" not being found
its a TCCL problem...
org.elasticsearch.env.FailedToResolveConfigException: Failed to resolve config path [names.txt], tried file path [names.txt], path file [~workspace/presto-main/config/names.txt], and classpath
at org.elasticsearch.env.Environment.resolveConfig(Environment.java:242)
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:140)
at org.elasticsearch.node.internal.InternalSettingsPreparer.prepareSettings(InternalSettingsPreparer.java:60)
at org.elasticsearch.client.transport.TransportClient.
the workaround is copying elasticsearch's names.txt to /var/presto/data/config