PredictionIO / template-scala-parallel-universal-recommendation

PredictiionIO Template for Universal Recommender
111 stars 48 forks source link

does it compatible with es 6.x? #65

Open kuchksara opened 6 years ago

kuchksara commented 6 years ago

i get the following error when using elasticsearch 6.1.2. but everything ok when switch to es 5.x.

Exception in thread "main" org.apache.predictionio.shaded.org.elasticsearch.client.ResponseException: PUT http://localhost:9200/pio_meta/_mapping/apps: HTTP/1.1 400 Bad Request {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [pio_meta] as the final mapping would have more than 1 type: [sequences, apps]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [pio_meta] as the final mapping would have more than 1 type: [sequences, apps]"},"status":400}

pferrel commented 6 years ago

We don’t support ES 6 yet. ES 5.x is required.

From: makan ghahari notifications@github.com notifications@github.com Reply: PredictionIO/template-scala-parallel-universal-recommendation reply@reply.github.com reply@reply.github.com Date: March 27, 2018 at 6:57:16 AM To: PredictionIO/template-scala-parallel-universal-recommendation template-scala-parallel-universal-recommendation@noreply.github.com template-scala-parallel-universal-recommendation@noreply.github.com Cc: Subscribed subscribed@noreply.github.com subscribed@noreply.github.com Subject: [PredictionIO/template-scala-parallel-universal-recommendation] does it compatible with es 6.x? (#65)

i get the following error when using elasticsearch 6.1.2. but everything ok when switch to es 5.x.

Exception in thread "main" org.apache.predictionio.shaded.org.elasticsearch.client.ResponseException: PUT http://localhost:9200/pio_meta/_mapping/apps: HTTP/1.1 400 Bad Request {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Rejecting mapping update to [pio_meta] as the final mapping would have more than 1 type: [sequences, apps]"}],"type":"illegal_argument_exception","reason":"Rejecting mapping update to [pio_meta] as the final mapping would have more than 1 type: [sequences, apps]"},"status":400}

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PredictionIO/template-scala-parallel-universal-recommendation/issues/65, or mute the thread https://github.com/notifications/unsubscribe-auth/AAT8S8wSwOYbwTxmFTLN5sTypkRSnpsnks5tikU6gaJpZM4S8-Tg .