[JBoss JIRA] Created: (TEIID-623) Updating Common Extension Classpath With New/Changed UDF JARs Does Not Make Those JARs Visible Even After A UDF Reload
by Dan Florian (JIRA)
Updating Common Extension Classpath With New/Changed UDF JARs Does Not Make Those JARs Visible Even After A UDF Reload
----------------------------------------------------------------------------------------------------------------------
Key: TEIID-623
URL: https://jira.jboss.org/jira/browse/TEIID-623
Project: Teiid
Issue Type: Bug
Components: AdminApi
Affects Versions: 6.1.0
Reporter: Dan Florian
Assignee: Steven Hawkins
Priority: Blocker
In Teiid Designer, after a new UDF JAR is added the following code is executed:
EmbeddedAdmin admin = (EmbeddedAdmin)adminConnection.getAdminAPI();
admin.setSystemProperty(DQPEmbeddedProperties.COMMON_EXTENSION_CLASPATH, buildUDFClasspath());
admin.reloadUDF();
The buildUDFClasspath() method builds an extension jar classpath with just the UDF JARS. So it would look something like this:
extensionjar:udfjar1.jar;extensionjar:udfjar2
When the Designer tries to query using Teiid embedded that new JAR is not found on the extension classpath. The reload should pick up the newly added or updated JARS on the extension classpath.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (TEIID-634) Missing message when password is null (MMAdmin)
by Paul Nittel (JIRA)
Missing message when password is null (MMAdmin)
-----------------------------------------------
Key: TEIID-634
URL: https://jira.jboss.org/jira/browse/TEIID-634
Project: Teiid
Issue Type: Bug
Components: Server
Affects Versions: 6.1.0
Environment: Fedora 10, Java 1.6.0_10-b33, JBEDSP server, etc. May 21, 2009 build
Reporter: Paul Nittel
Assignee: Steven Hawkins
Priority: Minor
I was experimenting with security disabled. I tried logging into the Console without a password and received an error (Login failed - Unspecified error). The same thing with MMAdmin produces this:
admin $ connectAsAdmin("foo","","mm://localhost:31000");
// Error: // Uncaught Exception: Method Invocation createAdmin : at Line: 99 : in file: URL: jar:file:/home/pnittel/jbedsp0521/server/lib/teiid-adminshell-6.1.0-SNAPSHOT.jar!/scripts/server.bsh : .createAdmin ( username , password .toCharArray ( ) , url )
Target exception: java.lang.IllegalArgumentException: <Missing message for key "ERR.014.001.00100" in: com.metamatrix.admin.i18n>
On the bright side, omitting the username produces a meaningfule error:
admin $ connectAsAdmin("","","mm://localhost:31000");
// Error: // Uncaught Exception: Method Invocation createAdmin : at Line: 99 : in file: URL: jar:file:/home/pnittel/jbedsp0521/server/lib/teiid-adminshell-6.1.0-SNAPSHOT.jar!/scripts/server.bsh : .createAdmin ( username , password .toCharArray ( ) , url )
Target exception: java.lang.IllegalArgumentException: The user parameter may not be null or empty.
To set this up,
1 - Login to the Console as Admin
2 - Go to the Security Summary panel
3 - Uncheck "Enable Authorization and Authentication"
4 - Click Apply
5 - Enter the Admin password
6 - Click OK
7 - Restart the server
You may now login as anything, but not nothing. :-)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (TEIID-622) Simplify configuration property metadata
by Steven Hawkins (JIRA)
Simplify configuration property metadata
----------------------------------------
Key: TEIID-622
URL: https://jira.jboss.org/jira/browse/TEIID-622
Project: Teiid
Issue Type: Task
Reporter: Steven Hawkins
Assignee: Steven Hawkins
In general we have too much property metadata:
required from multiplicity 0..1, 1 (no others are currently used).
hasDefault
expert
hidden
preferred
modifiable
which gives us 64 possible state combinations.
Proposed simplifications:
1. remove the use of multiplicity and just use a required attribute.
2. remove hidden and instead use modifiable=false.
3. remove preferred and instead use expert=false (the default).
!modifiable would imply expert=true and required=false. That leaves us with only 8 states to consider based upon required/expert/hasDefault - but there's only 1 state we even care about the presence of a default value (other than for a display color). That leaves us with:
required expert outcome
t t 1) Valid only if there is a default value, then it's an Editable property that should only be shown in expert mode
t f 2) Editable property that should always be shown
f t 3) Editable optional property that should be shown only in expert
f f 4) Editable optional property that should always be shown
>From a display perspective we will by default show cases 2 and 4 and then show 1 and 3 if "show expert" is selected. Alternatively instead of show expert we could also use "show all".
We should make provisions for old metadata to be read, such as still looking for the hidden and multiplicity attributes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (TEIID-629) Blocked Exception thrown - BQT Query Testing
by Warren Gibson (JIRA)
Blocked Exception thrown - BQT Query Testing
--------------------------------------------
Key: TEIID-629
URL: https://jira.jboss.org/jira/browse/TEIID-629
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 6.0.0
Environment: BQT running on Windows server
Reporter: Warren Gibson
Assignee: Steven Hawkins
The following two BQT queries are throwing Blocked Exception. Still reviewing query results but if I find more of these I will
log them to this JIRA.
SELECT stringkey, (SELECT intkey from BQT1.SmallA where Intnum > 22) FROM BQT1.SmallA order by stringkey
SELECT INTKEY, (SELECT TIMESTAMPVALUE FROM BQT1.SMALLA WHERE DOUBLENUM < 25) FROM BQT1.SMALLA ORDER BY Intkey
May 26, 2009 10:28:31.250 [Worker1_QueryProcessorQueue12|0] ERROR <DQP|0> Unexpected exception for request 2304.5
[MetaMatrixComponentException]
1 [BlockedException]
at com.metamatrix.query.processor.relational.SubqueryAwareEvaluator.evaluateSubquery(SubqueryAwareEvaluator.java:133)
at com.metamatrix.query.eval.Evaluator.evaluate(Evaluator.java:651)
at com.metamatrix.query.eval.Evaluator.internalEvaluate(Evaluator.java:556)
at com.metamatrix.query.eval.Evaluator.evaluate(Evaluator.java:514)
at com.metamatrix.query.processor.relational.ProjectNode.updateTuple(ProjectNode.java:233)
at com.metamatrix.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:193)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.BatchCollector.collectTuples(BatchCollector.java:58)
at com.metamatrix.query.processor.relational.BatchCollector.collectTuples(BatchCollector.java:52)
at com.metamatrix.query.processor.relational.SortNode.collectionPhase(SortNode.java:117)
at com.metamatrix.query.processor.relational.SortNode.nextBatchDirect(SortNode.java:102)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:110)
at com.metamatrix.query.processor.QueryProcessor.process(QueryProcessor.java:160)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:264)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:210)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: [BlockedException]
at com.metamatrix.common.buffer.BlockedException.<clinit>(BlockedException.java:34)
at org.teiid.dqp.internal.process.DataTierTupleSource.switchBatch(DataTierTupleSource.java:148)
at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:89)
at com.metamatrix.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:136)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.SelectNode.nextBatchDirect(SelectNode.java:92)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:166)
... 15 more
May 26, 2009 10:28:31.312 [Worker1_QueryProcessorQueue14|0] ERROR <DQP|0> Unexpected exception for request 2304.6
[MetaMatrixComponentException]
1 [BlockedException]
at com.metamatrix.query.processor.relational.SubqueryAwareEvaluator.evaluateSubquery(SubqueryAwareEvaluator.java:133)
at com.metamatrix.query.eval.Evaluator.evaluate(Evaluator.java:651)
at com.metamatrix.query.eval.Evaluator.internalEvaluate(Evaluator.java:556)
at com.metamatrix.query.eval.Evaluator.evaluate(Evaluator.java:514)
at com.metamatrix.query.processor.relational.ProjectNode.updateTuple(ProjectNode.java:233)
at com.metamatrix.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:193)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.BatchCollector.collectTuples(BatchCollector.java:58)
at com.metamatrix.query.processor.relational.BatchCollector.collectTuples(BatchCollector.java:52)
at com.metamatrix.query.processor.relational.SortNode.collectionPhase(SortNode.java:117)
at com.metamatrix.query.processor.relational.SortNode.nextBatchDirect(SortNode.java:102)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.RelationalPlan.nextBatch(RelationalPlan.java:110)
at com.metamatrix.query.processor.QueryProcessor.process(QueryProcessor.java:160)
at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:264)
at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:210)
at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:44)
at com.metamatrix.common.queue.WorkerPoolFactory$StatsCapturingSharedThreadPoolExecutor$1.run(WorkerPoolFactory.java:211)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Caused by: [BlockedException]
at com.metamatrix.common.buffer.BlockedException.<clinit>(BlockedException.java:34)
at org.teiid.dqp.internal.process.DataTierTupleSource.switchBatch(DataTierTupleSource.java:148)
at org.teiid.dqp.internal.process.DataTierTupleSource.nextTuple(DataTierTupleSource.java:89)
at com.metamatrix.query.processor.relational.AccessNode.nextBatchDirect(AccessNode.java:136)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.SelectNode.nextBatchDirect(SelectNode.java:92)
at com.metamatrix.query.processor.relational.RelationalNode.nextBatch(RelationalNode.java:257)
at com.metamatrix.query.processor.relational.ProjectNode.nextBatchDirect(ProjectNode.java:166)
... 15 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years