[JBoss JIRA] (TEIID-5526) Missing data source thorntail
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIID-5526?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-5526:
----------------------------------
Fix Version/s: 11.2.1
> Missing data source thorntail
> -----------------------------
>
> Key: TEIID-5526
> URL: https://issues.jboss.org/browse/TEIID-5526
> Project: Teiid
> Issue Type: Quality Risk
> Components: thorntail
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 11.2.1
>
>
> If you define a vdb and there is a source for which a jndi name is not matched with a data source from the configuration, the vdb will still be deployed, but won't be active - and there is no indication in the default console log as to the progress or lack thereof with the metadata load.
> Given the presumed static nature of thorntail deployments, this scenario should result in a failed deployment like embedded.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5549) vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIID-5549?page=com.atlassian.jira.plugin... ]
Ramesh Reddy resolved TEIID-5549.
---------------------------------
Fix Version/s: 11.2.1
Resolution: Done
Version 1.3 is pushed to maven central with changes
> vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
> ----------------------------------------------------------------------------
>
> Key: TEIID-5549
> URL: https://issues.jboss.org/browse/TEIID-5549
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits, VDB
> Affects Versions: 11.0.2
> Environment: {code}
> 2018-11-21 07:29:39
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % java -version
> openjdk version "1.8.0_192"
> OpenJDK Runtime Environment (build 1.8.0_192-b26)
> OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
> 2018-11-21 07:29:44
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % mvn -v
> Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root; 2018-09-07T16:02:16-07:00)
> Maven home: /opt/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.2-arch1-1-arch", arch: "amd64", family: "unix"
> {code}
> Reporter: G. Richard Bellamy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 11.2.1
>
>
> When building, if the {{target}} parent directory doesn't exist yet, the build will fail with a {{FileNotFoundException}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5549) vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
by G. Richard Bellamy (Jira)
[ https://issues.jboss.org/browse/TEIID-5549?page=com.atlassian.jira.plugin... ]
G. Richard Bellamy commented on TEIID-5549:
-------------------------------------------
I just updated the PR - now covers the multi-module concerns and deals with {{File}} types more idiomatically.
> vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
> ----------------------------------------------------------------------------
>
> Key: TEIID-5549
> URL: https://issues.jboss.org/browse/TEIID-5549
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits, VDB
> Affects Versions: 11.0.2
> Environment: {code}
> 2018-11-21 07:29:39
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % java -version
> openjdk version "1.8.0_192"
> OpenJDK Runtime Environment (build 1.8.0_192-b26)
> OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
> 2018-11-21 07:29:44
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % mvn -v
> Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root; 2018-09-07T16:02:16-07:00)
> Maven home: /opt/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.2-arch1-1-arch", arch: "amd64", family: "unix"
> {code}
> Reporter: G. Richard Bellamy
> Assignee: Ramesh Reddy
> Priority: Major
>
> When building, if the {{target}} parent directory doesn't exist yet, the build will fail with a {{FileNotFoundException}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5549) vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIID-5549?page=com.atlassian.jira.plugin... ]
Ramesh Reddy reassigned TEIID-5549:
-----------------------------------
Assignee: Ramesh Reddy (was: Barry LaFond)
> vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
> ----------------------------------------------------------------------------
>
> Key: TEIID-5549
> URL: https://issues.jboss.org/browse/TEIID-5549
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits, VDB
> Affects Versions: 11.0.2
> Environment: {code}
> 2018-11-21 07:29:39
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % java -version
> openjdk version "1.8.0_192"
> OpenJDK Runtime Environment (build 1.8.0_192-b26)
> OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
> 2018-11-21 07:29:44
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % mvn -v
> Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root; 2018-09-07T16:02:16-07:00)
> Maven home: /opt/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.2-arch1-1-arch", arch: "amd64", family: "unix"
> {code}
> Reporter: G. Richard Bellamy
> Assignee: Ramesh Reddy
> Priority: Major
>
> When building, if the {{target}} parent directory doesn't exist yet, the build will fail with a {{FileNotFoundException}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5549) vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIID-5549?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-5549:
-------------------------------------
I have not tested in multi module project, I will take a look at your PR. Thanks.
> vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
> ----------------------------------------------------------------------------
>
> Key: TEIID-5549
> URL: https://issues.jboss.org/browse/TEIID-5549
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits, VDB
> Affects Versions: 11.0.2
> Environment: {code}
> 2018-11-21 07:29:39
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % java -version
> openjdk version "1.8.0_192"
> OpenJDK Runtime Environment (build 1.8.0_192-b26)
> OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
> 2018-11-21 07:29:44
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % mvn -v
> Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root; 2018-09-07T16:02:16-07:00)
> Maven home: /opt/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.2-arch1-1-arch", arch: "amd64", family: "unix"
> {code}
> Reporter: G. Richard Bellamy
> Assignee: Barry LaFond
> Priority: Major
>
> When building, if the {{target}} parent directory doesn't exist yet, the build will fail with a {{FileNotFoundException}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5550) DISTINCT pushed down incorrectly in some cases
by RH Bugzilla Integration (Jira)
[ https://issues.jboss.org/browse/TEIID-5550?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration updated TEIID-5550:
-------------------------------------------
Bugzilla References: https://bugzilla.redhat.com/show_bug.cgi?id=1652324
Bugzilla Update: Perform
> DISTINCT pushed down incorrectly in some cases
> ----------------------------------------------
>
> Key: TEIID-5550
> URL: https://issues.jboss.org/browse/TEIID-5550
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 8.12.15.6_4
> Environment: JDV 6.4.5
> Reporter: Marc Shirley
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 11.1.2, 12.0, 11.2.1
>
>
> The parent DISTINCT is being removed over joins in particular situations. This is a regression from TEIID-3063 TEIID-3062.
> Conditions:
> - basic query structure is select distinct col from a join b on a.col2 = b.col2
> - a sort merge join variant must have been planned
> - the sort must not be pushed to one of the children
> - the projection related conditions of TEIID-3062 / TEIID-3063 must be met
> - there is a one to many relationship
> The result is that the parent distinct will be inappropriately removed, such that the output of the join can contain repetition of the col value when it should be distinct.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5549) vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
by G. Richard Bellamy (Jira)
[ https://issues.jboss.org/browse/TEIID-5549?page=com.atlassian.jira.plugin... ]
G. Richard Bellamy edited comment on TEIID-5549 at 11/22/18 11:02 AM:
----------------------------------------------------------------------
I was using 1.2. I should have mentioned that I am working with a mult-module project.
And it looks like the more idiomatic solution is to relativize file paths to the pom that are actually running the plugin. In a multi-module project, with the plugin in {{pluginManagement}}, the vdb.xml files are being generated in the parent pom's {{$\{basedir}/target}}. That's actually the root of the bug I ran into here... since the parent pom isn't configured to actually build anything, the {{target}} directory never existed until the vdb plugin started processing.
https://maven.apache.org/plugin-developers/common-bugs.html#Resolving_Rel...
was (Author: rbellamy):
I was using 1.2.
Also, there needs to be better path handling to relativize the paths to the pom that are actually running the plugin. In a multi-module project, with the plugin in {{pluginManagement}}, the vdb.xml files are being generated in the parent pom's {{$\{basedir}/target}}. That's actually the root of the bug I ran into here... since the parent pom isn't configured to actually build anything, the {{target}} directory never existed until the vdb plugin started processing.
> vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
> ----------------------------------------------------------------------------
>
> Key: TEIID-5549
> URL: https://issues.jboss.org/browse/TEIID-5549
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits, VDB
> Affects Versions: 11.0.2
> Environment: {code}
> 2018-11-21 07:29:39
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % java -version
> openjdk version "1.8.0_192"
> OpenJDK Runtime Environment (build 1.8.0_192-b26)
> OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
> 2018-11-21 07:29:44
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % mvn -v
> Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root; 2018-09-07T16:02:16-07:00)
> Maven home: /opt/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.2-arch1-1-arch", arch: "amd64", family: "unix"
> {code}
> Reporter: G. Richard Bellamy
> Assignee: Barry LaFond
> Priority: Major
>
> When building, if the {{target}} parent directory doesn't exist yet, the build will fail with a {{FileNotFoundException}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5549) vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
by G. Richard Bellamy (Jira)
[ https://issues.jboss.org/browse/TEIID-5549?page=com.atlassian.jira.plugin... ]
G. Richard Bellamy commented on TEIID-5549:
-------------------------------------------
I was using 1.2.
Also, there needs to be better path handling to relativize the paths to the pom that are actually running the plugin. In a multi-module project, with the plugin in {{pluginManagement}}, the vdb.xml files are being generated in the parent pom's {{$\{basedir}/target}}. That's actually the root of the bug I ran into here... since the parent pom isn't configured to actually build anything, the {{target}} directory never existed until the vdb plugin started processing.
> vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
> ----------------------------------------------------------------------------
>
> Key: TEIID-5549
> URL: https://issues.jboss.org/browse/TEIID-5549
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits, VDB
> Affects Versions: 11.0.2
> Environment: {code}
> 2018-11-21 07:29:39
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % java -version
> openjdk version "1.8.0_192"
> OpenJDK Runtime Environment (build 1.8.0_192-b26)
> OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
> 2018-11-21 07:29:44
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % mvn -v
> Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root; 2018-09-07T16:02:16-07:00)
> Maven home: /opt/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.2-arch1-1-arch", arch: "amd64", family: "unix"
> {code}
> Reporter: G. Richard Bellamy
> Assignee: Barry LaFond
> Priority: Major
>
> When building, if the {{target}} parent directory doesn't exist yet, the build will fail with a {{FileNotFoundException}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month
[JBoss JIRA] (TEIID-5549) vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIID-5549?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-5549:
-------------------------------------
Try version 1.2 I remember fixing this before.
> vdb-maven-plugin - FileNotFoundException when target directory doesn't exist
> ----------------------------------------------------------------------------
>
> Key: TEIID-5549
> URL: https://issues.jboss.org/browse/TEIID-5549
> Project: Teiid
> Issue Type: Bug
> Components: Build/Kits, VDB
> Affects Versions: 11.0.2
> Environment: {code}
> 2018-11-21 07:29:39
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % java -version
> openjdk version "1.8.0_192"
> OpenJDK Runtime Environment (build 1.8.0_192-b26)
> OpenJDK 64-Bit Server VM (build 25.192-b26, mixed mode)
> 2018-11-21 07:29:44
> rbellamy@eanna i ~/Development/Terradatum/terradatum-data-virtualization master % mvn -v
> Apache Maven 3.5.4 (NON-CANONICAL_2018-09-08T01:02:16+02:00_root; 2018-09-07T16:02:16-07:00)
> Maven home: /opt/maven
> Java version: 1.8.0_192, vendor: Oracle Corporation, runtime: /usr/lib/jvm/java-8-openjdk/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "4.19.2-arch1-1-arch", arch: "amd64", family: "unix"
> {code}
> Reporter: G. Richard Bellamy
> Assignee: Barry LaFond
> Priority: Major
>
> When building, if the {{target}} parent directory doesn't exist yet, the build will fail with a {{FileNotFoundException}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 1 month