Can Teiid be used to access parquet files stored in external directory (out side the web container) in Wildfly web application? Appreciate any help on this
Asked
Active
Viewed 68 times
1 Answers
0
yes, you can here is the translator [1] the data can be in a file, hdfs or S3 is done as part of [2]. You can see an example in WildFly here [3].
it looks like we have not added in the Teiid SpringBoot, but should be simple enough to add if you are using that.
[1] http://teiid.github.io/teiid-documents/master/content/reference/r_parquet-translator.html

Ramesh Reddy
- 554
- 1
- 3
- 8
-
I am getting an error when configuring the resource adapter, is there a way I can share the cli commands and error that I am getting. – Himesh Narana May 11 '21 at 15:58
-
when configuring the file resource adapter I am getting the following error, Can you let me know what could be the reason?. Failure: {"WFLYCTL0080: Failed services" => {"jboss.ra.deployment.\"org.jboss.teiid.resource-adapter.file:main_file\"" => "WFLYJCA0046: Failed to start RA deployment [file] Caused by: org.jboss.jca.deployers.common.DeployException: IJ020060: Unable to inject: org.teiid.resource.adapter.file.FileManagedConnectionFactory property: Parentdirectory value: C:\\development\\wild fly-19.1.0.Final/teiidfiles"}} – Himesh Narana May 12 '21 at 13:29
-
Is `C:\\development\\wild fly-19.1.0.Final/teiidfiles` accessible from your wildfly server? to define the resource adapter you can directly edit the `standalone-teiid.xml` file and add resource adapater there. – Ramesh Reddy May 12 '21 at 16:21