You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Costin,
If I see the elasticsearch API, for bulk add, update and delete functionality, the response obtained from execute.actionGet always contains the information such as hasFailure, failureMessages, numberOfActions and other parameters.
However, with spark, saveToES(with or without Meta) returns Unit. Is there a way wherein I can collect the response and see at least certain items such as hasFailure and failureMessage?
The text was updated successfully, but these errors were encountered:
No, one would get an exception in case of failure and the exception message would contain any relevant information.
There are various reasons why that is, the main one being that the connector does not control the runtime (it's YARN, Hadoop, Spark, Akka, etc..) and only an exception can prevent those from assuming everything went okay.
Additionally, in terms of sync/async, distributed vs local things tend to be different and a fail fast stop works consistently across all.
Last but not least, please ask questions on the forums not on the issue tracker.
Hi Costin,
If I see the elasticsearch API, for bulk add, update and delete functionality, the response obtained from execute.actionGet always contains the information such as hasFailure, failureMessages, numberOfActions and other parameters.
However, with spark, saveToES(with or without Meta) returns Unit. Is there a way wherein I can collect the response and see at least certain items such as hasFailure and failureMessage?
The text was updated successfully, but these errors were encountered: