Comments (8)
Hi there, thanks for your interest in ES-Hadoop!
The exception message here essentially provides the answer you're looking for:
Cannot find mapping for :logs- - one is required before using Spark SQL
You are trying to load a dataset into spark for an index that the client cannot confirm exists. Please create the index before trying to read it, or if it exists already, make sure that the user account used for authentication is allowed to access the data.
from elasticsearch-hadoop.
Hi Jbaiera, Thanks for response. The Index exists and all the privileges were given to particular user when we try to load the local index we are able to load the data but when we try to load the data from remote index which is :logs- we are unable to load data. Remote Index has two local indexes east and west regions then the logs present under local indexes
from elasticsearch-hadoop.
I'm a bit confused here, are you talking about using the index via cross cluster search?
from elasticsearch-hadoop.
Yes
from elasticsearch-hadoop.
I'm trying to load data from ELK cross cluster search with an index pattern but I'm unable to load data and getting the above error. Please help me with the changes I need to make while pulling the logs.
from elasticsearch-hadoop.
Unfortunately, after taking a look through ES-Hadoop, we do not currently support reading from remote indices via cross cluster search. This is because ES-Hadoop needs access to each index's mapping data in order to correctly deserialize it in Hadoop/Spark. Remote indices do not support the retrieval of their mappings, only basic search operations are provided.
One way we could handle this in ES-Hadoop would be to investigate using the field capabilities API to obtain the mapping data, but this would require changes to the library itself; It's not really a work around for the problem. Unfortunately, there's no workaround that I'm aware of other than connecting to the remote cluster via ES-Hadoop directly.
I'll file a new issue for CCS support and link it here, sorry for the inconvenience!
from elasticsearch-hadoop.
Thanks for your response. Could you please create the ticket and attach it here.
from elasticsearch-hadoop.
I have opened #2107 for this
from elasticsearch-hadoop.
Related Issues (20)
- ELK to Databricks Data load HOT 1
- hello, is async http support? HOT 1
- Nested objects fail parsing in Spark SQL when empty objects present
- Latency Spike during Spark Structured Streaming HOT 2
- Upgrade to Spark 3.4.x HOT 3
- Policy about type name in index name is too harsh HOT 3
- Unable to build the newly cloned project due to invalid dependency paths
- Spark dependency is not compatible resulting in compile error HOT 1
- 7.17.11 failed backwards compatibility for 5.5.3 HOT 4
- [Bug][CVE-2019-10172] found CVE in the latest release 8.12.2 and 8.9.1 HOT 1
- Es.write.operation documentation is deceptive on default values when used via spark HOT 1
- spark read long datatype error HOT 3
- ES-hadoop is not compatible with spark 3.5.1 HOT 7
- Stop using deprecated "stored" field in scripts for updates
- Automatic index creation fails with Elasticsearch >= 8.6.0 HOT 6
- Option es.read.field.*.include unable to take field names containing a colon
- Unable to index with elasticsearch-spark on serverless elasticsearch HOT 1
- What's the status on Elasticsearch 8.13 support? HOT 3
- Add support for creating suggester fields with weights
- Does Elasticsearch-Hadoop support HTTPS proxy connections ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elasticsearch-hadoop.