{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/presto/issues/3057","labels_url":"https://api.github.com/repos/facebook/presto/issues/3057/labels{/name}","comments_url":"https://api.github.com/repos/facebook/presto/issues/3057/comments","events_url":"https://api.github.com/repos/facebook/presto/issues/3057/events","html_url":"https://github.com/facebook/presto/issues/3057","id":86596091,"number":3057,"title":"Any Tutorial / Example for writing a Presto-ElasticSearch connector ?","user":{"login":"sumanth232","id":4672368,"avatar_url":"https://avatars.githubusercontent.com/u/4672368?v=3","gravatar_id":"","url":"https://api.github.com/users/sumanth232","html_url":"https://github.com/sumanth232","followers_url":"https://api.github.com/users/sumanth232/followers","following_url":"https://api.github.com/users/sumanth232/following{/other_user}","gists_url":"https://api.github.com/users/sumanth232/gists{/gist_id}","starred_url":"https://api.github.com/users/sumanth232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumanth232/subscriptions","organizations_url":"https://api.github.com/users/sumanth232/orgs","repos_url":"https://api.github.com/users/sumanth232/repos","events_url":"https://api.github.com/users/sumanth232/events{/privacy}","received_events_url":"https://api.github.com/users/sumanth232/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-09T13:14:28Z","updated_at":"2015-06-25T15:08:08Z","closed_at":null,"body":"I want to write an ElasticSearch connector to perform JOINS in ElasticSearch using Presto.\r\nCan anyone pls suggest on how to start. Any guidance will be of lot of help."},"comment":{"url":"https://api.github.com/repos/facebook/presto/issues/comments/115287278","html_url":"https://github.com/facebook/presto/issues/3057#issuecomment-115287278","issue_url":"https://api.github.com/repos/facebook/presto/issues/3057","id":115287278,"user":{"login":"sumanth232","id":4672368,"avatar_url":"https://avatars.githubusercontent.com/u/4672368?v=3","gravatar_id":"","url":"https://api.github.com/users/sumanth232","html_url":"https://github.com/sumanth232","followers_url":"https://api.github.com/users/sumanth232/followers","following_url":"https://api.github.com/users/sumanth232/following{/other_user}","gists_url":"https://api.github.com/users/sumanth232/gists{/gist_id}","starred_url":"https://api.github.com/users/sumanth232/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumanth232/subscriptions","organizations_url":"https://api.github.com/users/sumanth232/orgs","repos_url":"https://api.github.com/users/sumanth232/repos","events_url":"https://api.github.com/users/sumanth232/events{/privacy}","received_events_url":"https://api.github.com/users/sumanth232/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T15:08:08Z","updated_at":"2015-06-25T15:08:08Z","body":"The above problem solved after I added a file with the name 'com.facebook.presto.spi.Plugin' in the 'META-INF/services' directory : \r\n```\r\npresto/presto-elasticsearch/src/main/resources/META-INF/services/com.facebook.presto.spi.Plugin\r\n```\r\n\r\nBut, I observed that for the other connectors (except tpch), the same file is present in a different directory : \r\n```\r\npresto/presto-kafka/target/classes/META-INF/services/com.facebook.presto.spi.Plugin\r\npresto/presto-raptor/target/classes/META-INF/services/com.facebook.presto.spi.Plugin\r\n...\r\n...\r\nkafka and raptor do not have a 'src/main/resources/META-INF/services' directory at all\r\n```"}}