Unable to load cassandra data into elasticsearch

One Star

Unable to load cassandra data into elasticsearch

Hi all,
I'm trying to load Cassandra data into elastic search.For that I've used my job flow as
tCassandraInput----->tMap------>tElasticsearchIndex.
Upto tMap everything is working fine. But I'm getting error while loading into elastic search index as below
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
    The method settingsBuilder() is undefined for the type Settings
    The method builder() is undefined for the type TransportClient
    at local_project.sample_0_1.sample.tCassandraInput_1Process(sample.java:904)
       at local_project.sample_0_1.sample.runJobInTOS(sample.java:1453)
    at local_project.sample_0_1.sample.main(sample.java:1310)
I tries in many ways.But nothing works for me.Please help me out in resolving the issue.Any help would be greatly appreciated.
Thank you in advance.
Moderator

Re: Unable to load cassandra data into elasticsearch

Hi,
Have you clicked on the Code tab aside the Designer to see the java code of job?
Is it working well when you use tCassandraInput----->tMap--->tLogRow?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Unable to load cassandra data into elasticsearch

i have the same issue 
what should i do?
Four Stars

Re: Unable to load cassandra data into elasticsearch

Hi all,
I got the same problem with Talend Big Data 6.3.1.
Dedicated libraries are load for ES >2.*
Have someone a solution about this issue ?
Six Stars

Re: Unable to load cassandra data into elasticsearch

Hi,
Have you clicked on the Code tab aside the Designer to see the java code of job?
Is it working well when you use tCassandraInput----->tMap--->tLogRow?

Best regards
Sabrina

Hi Sabrina,
I have the same problem and, I suppose, with your question you are willing to know if it depends on the third-party component.
Definitely yes, of course.
Well, Talend officiale components for ElasticSearch are only available with a 'big-data' license of Talend, and we don't have, since it is not really our target. We use Elasticsearch for few stuff, not really big data. 
I see, probably, the third-party component has some bugs.
Is there a way to try (as trial, i.e.) the official Elasticsearch Talend components?
Thank you,
Lorenzo