This is an automated email from the ASF dual-hosted git repository.

pinal pushed a commit to branch ATLAS-5021_u
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/ATLAS-5021_u by this push:
     new a288a4755 ATLAS-5021: Change atlas properties fileName specific to 
trino
a288a4755 is described below

commit a288a47559517d889657c3e0c3373532bd23f0db
Author: Pinal Shah <[email protected]>
AuthorDate: Thu Sep 4 16:47:32 2025 +0530

    ATLAS-5021: Change atlas properties fileName specific to trino
---
 .../trino-extractor/src/main/bin/run-trino-extractor.sh   |  2 +-
 ...cation.properties => atlas-trino-extractor.properties} | 15 +++++++++------
 distro/src/main/assemblies/atlas-trino-extractor.xml      |  2 +-
 3 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/addons/trino-extractor/src/main/bin/run-trino-extractor.sh 
b/addons/trino-extractor/src/main/bin/run-trino-extractor.sh
index 7c4589a47..3763e6e39 100755
--- a/addons/trino-extractor/src/main/bin/run-trino-extractor.sh
+++ b/addons/trino-extractor/src/main/bin/run-trino-extractor.sh
@@ -74,7 +74,7 @@ then
 fi
 
 JAVA_PROPERTIES="$ATLAS_OPTS -Datlas.log.dir=$ATLAS_LOG_DIR 
-Datlas.log.file=atlas-trino-extractor.log
--Dlogback.configurationFile=atlas-trino-extractor-logback.xml 
-Djdk.httpclient.HttpClient.log=requests"
+-Dlogback.configurationFile=atlas-trino-extractor-logback.xml 
-Datlas.properties=atlas-trino-extractor.properties 
-Djdk.httpclient.HttpClient.log=requests"
 
 IMPORT_ARGS=()
 JVM_ARGS=
diff --git a/addons/trino-extractor/src/main/conf/atlas-application.properties 
b/addons/trino-extractor/src/main/conf/atlas-trino-extractor.properties
similarity index 77%
rename from addons/trino-extractor/src/main/conf/atlas-application.properties
rename to addons/trino-extractor/src/main/conf/atlas-trino-extractor.properties
index 7a09a7e36..96d79bb33 100755
--- a/addons/trino-extractor/src/main/conf/atlas-application.properties
+++ b/addons/trino-extractor/src/main/conf/atlas-trino-extractor.properties
@@ -18,9 +18,9 @@
 ######## Atlas connection ############
 atlas.rest.address=http://localhost:21000/
 
-######## Trino connection ############
-######## If SSL is enabled, append below value with ";SSL=true" ##########
+######## Trino jdbc url, If SSL is enabled, append below value with 
";SSL=true" ##########
 atlas.trino.jdbc.address=jdbc:trino://<host>:<port>/
+
 ######## Trino Server Authentication ############
 atlas.trino.jdbc.user=<username>
 
@@ -34,7 +34,10 @@ atlas.trino.jdbc.user=<username>
 #atlas.trino.catalog.hook.enabled.hive_catalog=true
 #atlas.trino.catalog.hook.enabled.hive_catalog.namespace=cm
 
-atlas.trino.extractor.catalog=
-atlas.trino.extractor.schema=
-atlas.trino.extractor.table=
-atlas.trino.extractor.schedule=
\ No newline at end of file
+######## To run extractor for specific catalog, schema or table ########
+#atlas.trino.extractor.catalog=
+#atlas.trino.extractor.schema=
+#atlas.trino.extractor.table=
+
+######## Cron Expression to run the extractor (Below is example for every 
hour) ########
+#atlas.trino.extractor.schedule=0 0 * * * ? 
\ No newline at end of file
diff --git a/distro/src/main/assemblies/atlas-trino-extractor.xml 
b/distro/src/main/assemblies/atlas-trino-extractor.xml
index 205d43c9c..bffffd67b 100644
--- a/distro/src/main/assemblies/atlas-trino-extractor.xml
+++ b/distro/src/main/assemblies/atlas-trino-extractor.xml
@@ -35,7 +35,7 @@
                 <outputDirectory>/conf</outputDirectory>
                 <includes>
                     <include>atlas-trino-extractor-logback.xml</include>
-                    <include>atlas-application.properties</include>
+                    <include>atlas-trino-extractor.properties</include>
                 </includes>
                 <fileMode>0755</fileMode>
                 <directoryMode>0755</directoryMode>

Reply via email to