druid icon indicating copy to clipboard operation
druid copied to clipboard

Use spark to load the Druid

Open xiaohui0318 opened this issue 6 years ago • 2 comments

Recently, the company is going to go to druid, I am learning the knowledge of storage, but I found that MR was used for data loading. Later, I found the project spark-druid-batch, and found that it was no longer updated. I would like to ask why the community did not develop the spark version of the library code, based on what considerations, is the MR library performance is good enough now or is spark unstable? Please give advice or comments

xiaohui0318 avatar Feb 10 '20 02:02 xiaohui0318

Hi, I'm just another Druid user, so I can't comment on the "why" part of your question, but it might be interesting for you to know that the most recent two Druid releases were heavily focussed on bringing into place a new native ingestion which might eventually be recommendable over both the MR and the Spark based ingestion methods. You can find it here: https://druid.apache.org/docs/latest/ingestion/native-batch.html The index_parallel task along with a new type of Druid node named "indexer" (https://staging-druid.imply.io/docs/design/indexer.html) would be the most recent variant for ingesting data. This new native setup is still labelled as experimental but might soon be the simplest way to ingest data.

sascha-coenen avatar Feb 11 '20 18:02 sascha-coenen

To follow-up on the question and above reply - in some cases, we'd still like to have a way to ingest data directly from Spark. There was a related conversation going on in Druid's user google group and on the Slack channel, and it's now consolidated to Druid's dev mailing list, see here

itaiy avatar Feb 26 '20 13:02 itaiy