import themen from ‘theme/styles/styled-colors’; import * as theme from ‘react-syntax-highlighter/dist/esm/styles/hljs’; import SyntaxHighlighter from ‘react-syntax-highlighter’;
The Trino Extractor is a comprehensive metadata extraction utility designed for Apache Atlas integration with Trino. It provides discovery, extraction, and synchronization of Trino metadata including catalogs, schemas, tables, and columns into Apache Atlas for enhanced data governance and metadata management.
Configure the atlas-trino-extractor.properties file:
| Property | Description | Default | Example |
|---|---|---|---|
atlas.rest.address | Atlas REST API endpoint | http://localhost:21000/ | https://atlas.company.com:21443/ |
atlas.trino.jdbc.address | Trino JDBC URL | - | jdbc:trino://trino-server:8080/ |
atlas.trino.jdbc.user | Trino username | - | admin |
atlas.trino.jdbc.password | Trino password | "" | password123 |
atlas.trino.namespace | Trino instance namespace | cm | production-cluster |
atlas.trino.catalogs.registered | Catalogs to extract | - | hive,iceberg,mysql |
atlas.trino.catalog.hook.enabled.<catalog-name> | Hook enabled under atlas for this catalog? | false | true |
atlas.trino.catalog.hook.enabled.<catalog-name>.namespace | Namespace under Atlas for this Hook | cm | cm |
atlas.trino.extractor.schedule | Cron expression | - | 0 0 2 * * ? |
| Option | Long Form | Description | Example |
|---|---|---|---|
-c | --catalog | Extract specific catalog | -c hive_catalog |
-s | --schema | Extract specific schema | -s sales_data |
-t | --table | Extract specific table | -t customer_orders |
-cx | --cronExpression | Schedule with cron expression | -cx "0 0 2 * * ?" |
-h | --help | Display help information | -h |
Q: Why are some entities not appearing in Atlas?
A: Check catalog registration, permissions, and network connectivity. Review logs for specific errors.
Q: How do I handle large clusters with thousands of tables?
A: Use selective extraction, increase memory allocation, schedule during off-peak hours, and process catalogs individually.