mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-27 08:44:49 +00:00
Merge pull request #149 from open-metadata/docs
Docs: Add ElasticSearch docker warning
This commit is contained in:
commit
21ae968689
@ -50,6 +50,12 @@ metadata ingest -c ./pipelines/sample_users.json
|
|||||||
### Index Sample Data into ElasticSearch
|
### Index Sample Data into ElasticSearch
|
||||||
|
|
||||||
Start Elastic Search Docker:
|
Start Elastic Search Docker:
|
||||||
|
{% hint style="warning" %}
|
||||||
|
Below command to run elastic search docker stores the indexed data in memory.
|
||||||
|
If you stop the container it will lose any data on restart.
|
||||||
|
Please re-run the metadata_to_es workflow again to index the data upon starting
|
||||||
|
the container.
|
||||||
|
{% endhint %}
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.10.2
|
docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.10.2
|
||||||
|
|||||||
@ -15,10 +15,6 @@ description: >-
|
|||||||
|
|
||||||
* Docker >= 20.10.x
|
* Docker >= 20.10.x
|
||||||
|
|
||||||
**Ports to access once the docker is up:**
|
|
||||||
|
|
||||||
* OpenMetadata UI: 8585
|
|
||||||
* Scheduler UI: 7777
|
|
||||||
{% endhint %}
|
{% endhint %}
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -27,6 +23,20 @@ cd OpenMetadata/docker/metadata
|
|||||||
docker-compose up
|
docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Above command brings up all the necessary services
|
||||||
|
|
||||||
|
1. MySQL
|
||||||
|
2. ElasticSearch
|
||||||
|
3. OpenMetadata Sever
|
||||||
|
4. Ingestion with SimpleScheduler
|
||||||
|
|
||||||
|
To access the OpenMetadata
|
||||||
|
|
||||||
|
Open [http://localhost:8585](http://localhost:8585) in your browser
|
||||||
|
|
||||||
|
Scheduler UI available at [http://localhost:7777](http://localhost:7777)
|
||||||
|
|
||||||
|
|
||||||
## Run Manually
|
## Run Manually
|
||||||
|
|
||||||
{% hint style="success" %}
|
{% hint style="success" %}
|
||||||
@ -90,9 +100,9 @@ cd openmetadata-1.0.0-SNAPSHOT
|
|||||||
|
|
||||||
* Install MySQL
|
* Install MySQL
|
||||||
|
|
||||||
```text
|
```text
|
||||||
brew install mysql
|
brew install mysql
|
||||||
```
|
```
|
||||||
|
|
||||||
* Configure MySQL
|
* Configure MySQL
|
||||||
|
|
||||||
@ -113,10 +123,10 @@ cd openmetadata-1.0.0-SNAPSHOT
|
|||||||
|
|
||||||
2. Run bootstrap scripts to initiate the database and tables
|
2. Run bootstrap scripts to initiate the database and tables
|
||||||
|
|
||||||
```text
|
```text
|
||||||
cd openmetadata-0.3.0
|
cd openmetadata-0.3.0
|
||||||
./bootstrap/bootstrap_storage.sh migrate
|
./bootstrap/bootstrap_storage.sh migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Start the OpenMetadata Server
|
3. Start the OpenMetadata Server
|
||||||
|
|
||||||
@ -124,4 +134,14 @@ cd openmetadata-1.0.0-SNAPSHOT
|
|||||||
cd openmetadata-0.3.0
|
cd openmetadata-0.3.0
|
||||||
./bin/openmetadata.sh start
|
./bin/openmetadata.sh start
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Ingest Sample Data
|
||||||
|
|
||||||
|
Previous steps starts the OpenMetadataServer. To start using using it
|
||||||
|
we need to run ElasticSearch and ingest sample metadata. Please follow the below
|
||||||
|
guide
|
||||||
|
|
||||||
|
[Ingest Sample Data](./metadata-ingestion/ingest-sample-data.md)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user