Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEIIDSB-206 adding sample for hdfs #265

Merged
merged 1 commit into from
Jun 25, 2020
Merged

Conversation

aditya300899
Copy link
Member

I Tried for a similar example as in FTP. The error shows :
java.lang.IllegalStateException: Source type 'mysite' not supported on TextTable stock_price. Only "file","rest","amazon-s3" and "ftp" are supported
Is there something wrong that I am doing or the TextTable doesn't support files in hdfs?

@rareddy
Copy link
Member

rareddy commented Jun 24, 2020

try writing example like in the vdb-example case which does not use JPA case.

@aditya300899
Copy link
Member Author

I saw the vdb example! I did not quite follow what it is doing. The user function class and all...

@rareddy
Copy link
Member

rareddy commented Jun 24, 2020

@aditya300899
Copy link
Member Author

You have linked the cassandra example. It also uses the jdbc case, i think. Isn't it?

@rareddy
Copy link
Member

rareddy commented Jun 25, 2020

No it is not using JDBC driver, but I gave that to show how vdb based example works, in the other pattern you do not need to define an explicit VDB, it derives a VDB from sources defined. We call it JPA model, but we have not been paying much attention to that lately

@rareddy rareddy merged commit 446b63e into teiid:master Jun 25, 2020
@rareddy
Copy link
Member

rareddy commented Jun 25, 2020

Thanks @aditya300899

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants