MuluoXue opened a new issue, #9750:
URL: https://github.com/apache/gravitino/issues/9750
### Version
main branch
### Describe what's wrong
docker 配置
gravitino:
image: apache/gravitino:latest
container_name: gravitino
networks:
- lakehouse_net
ports:
- "8090:8090"
- "9021:9001" # Iceberg REST 服务端口
environment:
# ===== Gravitino 元数据(关键)=====
GRAVITINO_METASTORE_TYPE: relational
GRAVITINO_ENTITY_STORE: relational
GRAVITINO_ENTITY_STORE_RELATIONAL: JDBCBackend
GRAVITINO_ENTITY_STORE_RELATIONAL_JDBCURL:
jdbc:mysql://?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
GRAVITINO_ENTITY_STORE_RELATIONAL_JDBCDRIVER: com.mysql.cj.jdbc.Driver
GRAVITINO_ENTITY_STORE_RELATIONAL_JDBCUSER:
GRAVITINO_ENTITY_STORE_RELATIONAL_JDBCPASSWORD:
GRAVITINO_ENTITY_STORE_RELATIONAL_INITIALIZE: "true"
# ===== Iceberg REST =====
GRAVITINO_AUXSERVICE_NAMES: iceberg-rest
GRAVITINO_ICEBERG_REST_HOST: 0.0.0.0
GRAVITINO_ICEBERG_REST_HTTPPORT: "9001"
GRAVITINO_ICEBERG_REST_WAREHOUSE: s3a://thinbkbi/warehouse
GRAVITINO_ICEBERG_REST_IO_IMPL: org.apache.iceberg.aws.s3.S3FileIO
# ===== MinIO =====
GRAVITINO_ICEBERG_REST_S3_ENDPOINT: http://minio:9000
GRAVITINO_ICEBERG_REST_S3_REGION: us-east-1
GRAVITINO_ICEBERG_REST_S3_ACCESS_KEY_ID: admin
GRAVITINO_ICEBERG_REST_S3_SECRET_ACCESS_KEY: admin123
GRAVITINO_ICEBERG_REST_S3_PATH_STYLE_ACCESS: "true"
GRAVITINO_ICEBERG_REST_S3_SSL_ENABLED: "false"
volumes:
# -
D:/sbwx/datahu/gravitino/conf:/root/gravitino/distribution/package/conf
# -
D:/sbwx/datahu/gravitino/mysql-connector-java-8.0.33.jar:/root/gravitino/distribution/package/libs/mysql-connector-java.jar
-
D:/sbwx/datahu/gravitino/mysql-connector-java-8.0.33.jar:/root/gravitino/libs/mysql-connector-java.jar
depends_on:
- minio
http://localhost:8090/api/metalakes
http://localhost:8090/api/metalakes/lakehouse/catalogs
通过接口创建 metalake 和 catalog 也可以创建成功,但是数据库中也不会自动创建 gravitino 相关的表
问题二:
修改了 iceberg-rest 暴露端口, 访问: http://localhost:8090/ui/metalakes
地址会报错: API rate limit exceeded for 60.249.87.139. (But here's the good news:
Authenticated requests get a higher rate limit. Check out the documentation for
more details.)
<img width="2368" height="747" alt="Image"
src="https://github.com/user-attachments/assets/4467beea-43bd-48bd-87d2-8850c904d555"
/>
<img width="2554" height="918" alt="Image"
src="https://github.com/user-attachments/assets/642a646d-8b61-4dd2-93c3-801161c53170"
/>
### Error message and/or stacktrace
API rate limit exceeded for 60.249.87.139. (But here's the good news:
Authenticated requests get a higher rate limit. Check out the documentation for
more details.)
Unable to process: {
"servlet":"org.eclipse.jetty.servlet.DefaultServlet-77ab22be",
"message":"Not Found",
"url":"/v1/config",
"status":"404"
}
### How to reproduce
[新文件 5.txt](https://github.com/user-attachments/files/24712603/5.txt)
使用配置在docker启动可看到
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]