Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy failure with error message 'Failed to create the mapping for DataSource taxi! Response: null' #8

Open
wangyongjunqq opened this issue Apr 4, 2019 · 0 comments

Comments

@wangyongjunqq
Copy link

@amollenkopf
It seems like the api of taxi-source is closed, so i got the error as
java.lang.Exception: Failed to create the mapping for DataSource taxi! Response: null
at org.cam.geo.sink.ElasticsearchUtils$.createDataSource(ElasticsearchUtils.scala:97)
at org.cam.geo.analytics.esri.SpatiotemporalEsriAnalyticTaskWithElasticsearchSink$.main(SpatiotemporalEsriAnalyticTaskWithElasticsearchSink.scala:115)
at org.cam.geo.analytics.esri.SpatiotemporalEsriAnalyticTaskWithElasticsearchSink.main(SpatiotemporalEsriAnalyticTaskWithElasticsearchSink.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:809)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Exception in thread "main" java.lang.Exception: Failed to create the mapping for DataSource taxi!
at org.cam.geo.sink.ElasticsearchUtils$.createDataSource(ElasticsearchUtils.scala:103)
at org.cam.geo.analytics.esri.SpatiotemporalEsriAnalyticTaskWithElasticsearchSink$.main(SpatiotemporalEsriAnalyticTaskWithElasticsearchSink.scala:115)
at org.cam.geo.analytics.esri.SpatiotemporalEsriAnalyticTaskWithElasticsearchSink.main(SpatiotemporalEsriAnalyticTaskWithElasticsearchSink.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:809)
at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:181)
at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:206)
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.lang.Exception: Failed to create the mapping for DataSource taxi! Response: null
at org.cam.geo.sink.ElasticsearchUtils$.createDataSource(ElasticsearchUtils.scala:97)
... 11 more
Do you have any idea about how to fix this?

Sincerely yongjun.wang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant