Bug 1036675

Summary: VDB Containing UDF Source Model Cannot Be Deployed
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Dan Florian <dflorian>
Component: ToolingAssignee: Van Halbert <vhalbert>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, dflorian, vhalbert
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Mac OS   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Some users of Teiid Designer are finding that when they try to deploy a VDB containing a relational UDF function model, an error is reported: "One or more models in VDB are either missing a translator name or have a translator name that is not found on the current Teiid instance."
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-04 22:34:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
VDB containing relational UDF source model none

Description Dan Florian 2013-12-02 13:13:54 UTC
Description of problem:

When I try to deploy a VDB containing a relational UDF function model, I get an error saying "One or more models in VDB are either missing a translator name or have a translator name that is not found on the current Teiid instance." The translator name for the function model is empty; but the translator names for the other source models contained in the VDB are non-empty and do exist on the server.

Version-Release number of selected component (if applicable):

DV 6.0.0 ER4
JBDS 7.1.0 CR1
JBIS 4.1.3 Beta5
Teiid Designer 8.3.0 CR1
OS X 10.9

How reproducible:

Always

Steps to Reproduce (executing E2EYahooUdfTestScript):

Using Teiid Designer:

1. Select VDB containing UDF source model
2. Right-click > Modeling > Deploy

Actual results:

"VDB Not Deployed" error dialog is displayed.

Expected results:

VDB is deployed

Additional info:

None

Comment 3 Dan Florian 2013-12-02 13:24:47 UTC
Created attachment 831573 [details]
VDB containing relational UDF source model

Comment 4 JBoss JIRA Server 2013-12-03 19:51:00 UTC
Barry LaFond <blafond> made a comment on jira TEIIDDES-1970

Note that the MarketData.xmi source model does not include translator nor connection profile info, so no data source (JNDI) can be deployed/created automatically from Designer's PreviewManager.getOrCreateDataSource() method.

This method is called when a VDB is deployed, including the preview vdb for the MarketData.xmi model.

Comment 5 JBoss JIRA Server 2013-12-03 20:06:03 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIIDDES-1970

I am attaching a yahoo translator from my local build. For future references, if you want yahoo transator, build Teiid locally and it will be in "connectors/sandbox/translator-yahoo".

It does not need any connector associated with it, just like "loopback"

Comment 6 JBoss JIRA Server 2013-12-03 20:07:17 UTC
Ramesh Reddy <rareddy> made a comment on jira TEIIDDES-1970

Yahoo Translator

Comment 7 JBoss JIRA Server 2013-12-04 21:51:25 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1970 to Resolved

Comment 8 JBoss JIRA Server 2013-12-04 21:51:25 UTC
Barry LaFond <blafond> made a comment on jira TEIIDDES-1970

TEIIDDES-1973 & TEIIDDES-1974 addressed some issues that were preventing the VDB from trying to be deployed through Teiid.  The use-case should now include creating the UDF in a View model instead of source model there-by making this JIRA obsolete.

Comment 9 JBoss JIRA Server 2014-05-07 21:04:08 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1970 to Closed