[JBoss JIRA] (ISPN-8552) infinispan-bom is broken
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-8552?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño commented on ISPN-8552:
----------------------------------------
{code}
<remerson> galderz: we stripped the infinispan version stuff out of
the bom as the argument was that if you know the version of the
bom you need, you also know the version of the artifacts you need
<remerson> galderz: the idea being that the bom should just detail the
3rd party dependencies
> remerson: the whole point of the bom is that i don't need to
redefine versions of modules all around
> remerson: i disagree, see what vert.x and others do
> remerson: if you want a new bom without infinsipan modules, create a
separate bom module
<remerson> galderz: I don't have particularly strong views on this, it
was just the result of a conversation between myself, ttarrant and
sanne
<remerson> galderz: I wouldn't be against a PR that reinstates the
infinispan versions to the bom and removes them from parent
> remerson: i don't disagree wityh the motivations, but don't change
the existing bom!!
> all my examples are broken
> remerson:
https://github.com/vert-x3/vertx-dependencies/blob/master/pom.xml
{code}
> infinispan-bom is broken
> ------------------------
>
> Key: ISPN-8552
> URL: https://issues.jboss.org/browse/ISPN-8552
> Project: Infinispan
> Issue Type: Bug
> Affects Versions: 9.2.0.Beta1
> Reporter: Galder Zamarreño
> Priority: Blocker
> Fix For: 9.2.0.CR1
>
>
> I've tried to upgrade one of my examples to 9.2.0.Beta1 but it fails. I've changed version [here|https://github.com/infinispan-demos/swiss-transport-datagrid/blob/ma...] to be 9.2.0.Beta1 and I get tons of errors:
> {code}
> mvn clean package ⏎master ✭ ✱
> [INFO] Scanning for projects...
> [ERROR] [ERROR] Some problems were encountered while processing the POMs:
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 23, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 29, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-core:jar is missing. @ line 41, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-client-hotrod:jar is missing. @ line 54, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-client:jar is missing. @ line 58, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 30, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 36, column 17
> @
> [ERROR] The build could not read 3 projects -> [Help 1]
> [ERROR]
> [ERROR] The project swiss-transport-datagrid:analytics-domain:1.0-SNAPSHOT (/Users/g/1/swiss-transport-datagrid/analytics/analytics-domain/pom.xml) has 3 errors
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 23, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 29, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-core:jar is missing. @ line 41, column 17
> [ERROR]
> [ERROR] The project swiss-transport-datagrid:analytics-client:1.0-SNAPSHOT (/Users/g/1/swiss-transport-datagrid/analytics/analytics-client/pom.xml) has 2 errors
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-client-hotrod:jar is missing. @ line 54, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-client:jar is missing. @ line 58, column 17
> [ERROR]
> [ERROR] The project swiss-transport-datagrid:analytics-server:1.0-SNAPSHOT (/Users/g/1/swiss-transport-datagrid/analytics/analytics-server/pom.xml) has 2 errors
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 30, column 17
> [ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 36, column 17
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> {code}
> This seems related to changes in ISPN-8408 where the infinispan modules disappeared from the bom (???)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-8552) infinispan-bom is broken
by Galder Zamarreño (JIRA)
Galder Zamarreño created ISPN-8552:
--------------------------------------
Summary: infinispan-bom is broken
Key: ISPN-8552
URL: https://issues.jboss.org/browse/ISPN-8552
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.2.0.Beta1
Reporter: Galder Zamarreño
Priority: Blocker
Fix For: 9.2.0.CR1
I've tried to upgrade one of my examples to 9.2.0.Beta1 but it fails. I've changed version [here|https://github.com/infinispan-demos/swiss-transport-datagrid/blob/ma...] to be 9.2.0.Beta1 and I get tons of errors:
{code}
mvn clean package ⏎master ✭ ✱
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 23, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 29, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-core:jar is missing. @ line 41, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-client-hotrod:jar is missing. @ line 54, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-client:jar is missing. @ line 58, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 30, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 36, column 17
@
[ERROR] The build could not read 3 projects -> [Help 1]
[ERROR]
[ERROR] The project swiss-transport-datagrid:analytics-domain:1.0-SNAPSHOT (/Users/g/1/swiss-transport-datagrid/analytics/analytics-domain/pom.xml) has 3 errors
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 23, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 29, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-core:jar is missing. @ line 41, column 17
[ERROR]
[ERROR] The project swiss-transport-datagrid:analytics-client:1.0-SNAPSHOT (/Users/g/1/swiss-transport-datagrid/analytics/analytics-client/pom.xml) has 2 errors
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-client-hotrod:jar is missing. @ line 54, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-client:jar is missing. @ line 58, column 17
[ERROR]
[ERROR] The project swiss-transport-datagrid:analytics-server:1.0-SNAPSHOT (/Users/g/1/swiss-transport-datagrid/analytics/analytics-server/pom.xml) has 2 errors
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-tasks-api:jar is missing. @ line 30, column 17
[ERROR] 'dependencies.dependency.version' for org.infinispan:infinispan-remote-query-server:jar is missing. @ line 36, column 17
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
{code}
This seems related to changes in ISPN-8408 where the infinispan modules disappeared from the bom (???)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-8551) JdbcStringBasedStore SQL Server upsert locks on data not key
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8551?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-8551:
-------------------------------
Fix Version/s: 9.2.0.Beta2
9.1.4.Final
> JdbcStringBasedStore SQL Server upsert locks on data not key
> ------------------------------------------------------------
>
> Key: ISPN-8551
> URL: https://issues.jboss.org/browse/ISPN-8551
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.2.0.Alpha2, 9.1.3.Final
> Reporter: Ryan Emerson
> Fix For: 9.2.0.Beta2, 9.1.4.Final
>
>
> The below code applies ON function to the data column, it should be the key column
> {code:java}
> upsertRowSql = String.format("MERGE %1$s WITH (TABLOCK) " +
> "USING (VALUES (?, ?, ?)) AS tmp (%2$s, %3$s, %4$s) " +
> "ON (%1$s.%2$s = tmp.%2$s) " +
> "WHEN MATCHED THEN UPDATE SET %3$s = tmp.%3$s, %4$s = tmp.%4$s " +
> "WHEN NOT MATCHED THEN INSERT (%2$s, %3$s, %4$s) VALUES (tmp.%2$s, tmp.%3$s, tmp.%4$s);",
> getTableName(), config.dataColumnName(), config.timestampColumnName(), config.idColumnName());
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-8551) JdbcStringBasedStore SQL Server upsert locks on data not key
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8551?page=com.atlassian.jira.plugin.... ]
Ryan Emerson resolved ISPN-8551.
--------------------------------
Resolution: Done
> JdbcStringBasedStore SQL Server upsert locks on data not key
> ------------------------------------------------------------
>
> Key: ISPN-8551
> URL: https://issues.jboss.org/browse/ISPN-8551
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.2.0.Alpha2, 9.1.3.Final
> Reporter: Ryan Emerson
> Fix For: 9.2.0.Beta2, 9.1.4.Final
>
>
> The below code applies ON function to the data column, it should be the key column
> {code:java}
> upsertRowSql = String.format("MERGE %1$s WITH (TABLOCK) " +
> "USING (VALUES (?, ?, ?)) AS tmp (%2$s, %3$s, %4$s) " +
> "ON (%1$s.%2$s = tmp.%2$s) " +
> "WHEN MATCHED THEN UPDATE SET %3$s = tmp.%3$s, %4$s = tmp.%4$s " +
> "WHEN NOT MATCHED THEN INSERT (%2$s, %3$s, %4$s) VALUES (tmp.%2$s, tmp.%3$s, tmp.%4$s);",
> getTableName(), config.dataColumnName(), config.timestampColumnName(), config.idColumnName());
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-8551) JdbcStringBasedStore SQL Server upsert locks on data not key
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8551?page=com.atlassian.jira.plugin.... ]
Ryan Emerson reassigned ISPN-8551:
----------------------------------
Assignee: (was: Ryan Emerson)
> JdbcStringBasedStore SQL Server upsert locks on data not key
> ------------------------------------------------------------
>
> Key: ISPN-8551
> URL: https://issues.jboss.org/browse/ISPN-8551
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.2.0.Alpha2, 9.1.3.Final
> Reporter: Ryan Emerson
>
> The below code applies ON function to the data column, it should be the key column
> {code:java}
> upsertRowSql = String.format("MERGE %1$s WITH (TABLOCK) " +
> "USING (VALUES (?, ?, ?)) AS tmp (%2$s, %3$s, %4$s) " +
> "ON (%1$s.%2$s = tmp.%2$s) " +
> "WHEN MATCHED THEN UPDATE SET %3$s = tmp.%3$s, %4$s = tmp.%4$s " +
> "WHEN NOT MATCHED THEN INSERT (%2$s, %3$s, %4$s) VALUES (tmp.%2$s, tmp.%3$s, tmp.%4$s);",
> getTableName(), config.dataColumnName(), config.timestampColumnName(), config.idColumnName());
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-8551) JdbcStringBasedStore SQL Server upsert locks on data not key
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8551?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-8551:
-------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5597
> JdbcStringBasedStore SQL Server upsert locks on data not key
> ------------------------------------------------------------
>
> Key: ISPN-8551
> URL: https://issues.jboss.org/browse/ISPN-8551
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.2.0.Alpha2, 9.1.3.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> The below code applies ON function to the data column, it should be the key column
> {code:java}
> upsertRowSql = String.format("MERGE %1$s WITH (TABLOCK) " +
> "USING (VALUES (?, ?, ?)) AS tmp (%2$s, %3$s, %4$s) " +
> "ON (%1$s.%2$s = tmp.%2$s) " +
> "WHEN MATCHED THEN UPDATE SET %3$s = tmp.%3$s, %4$s = tmp.%4$s " +
> "WHEN NOT MATCHED THEN INSERT (%2$s, %3$s, %4$s) VALUES (tmp.%2$s, tmp.%3$s, tmp.%4$s);",
> getTableName(), config.dataColumnName(), config.timestampColumnName(), config.idColumnName());
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-8551) JdbcStringBasedStore SQL Server upsert locks on data not key
by Ryan Emerson (JIRA)
[ https://issues.jboss.org/browse/ISPN-8551?page=com.atlassian.jira.plugin.... ]
Ryan Emerson updated ISPN-8551:
-------------------------------
Status: Open (was: New)
> JdbcStringBasedStore SQL Server upsert locks on data not key
> ------------------------------------------------------------
>
> Key: ISPN-8551
> URL: https://issues.jboss.org/browse/ISPN-8551
> Project: Infinispan
> Issue Type: Bug
> Components: Loaders and Stores
> Affects Versions: 9.2.0.Alpha2, 9.1.3.Final
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
>
> The below code applies ON function to the data column, it should be the key column
> {code:java}
> upsertRowSql = String.format("MERGE %1$s WITH (TABLOCK) " +
> "USING (VALUES (?, ?, ?)) AS tmp (%2$s, %3$s, %4$s) " +
> "ON (%1$s.%2$s = tmp.%2$s) " +
> "WHEN MATCHED THEN UPDATE SET %3$s = tmp.%3$s, %4$s = tmp.%4$s " +
> "WHEN NOT MATCHED THEN INSERT (%2$s, %3$s, %4$s) VALUES (tmp.%2$s, tmp.%3$s, tmp.%4$s);",
> getTableName(), config.dataColumnName(), config.timestampColumnName(), config.idColumnName());
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-8281) Overload collect() to take Supplier and SerializableSupplier
by Galder Zamarreño (JIRA)
[ https://issues.jboss.org/browse/ISPN-8281?page=com.atlassian.jira.plugin.... ]
Galder Zamarreño updated ISPN-8281:
-----------------------------------
Fix Version/s: 9.2.0.Alpha2
> Overload collect() to take Supplier and SerializableSupplier
> ------------------------------------------------------------
>
> Key: ISPN-8281
> URL: https://issues.jboss.org/browse/ISPN-8281
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.2.0.Alpha2, 9.2.0.Final
>
>
> Whenever a collect() is called in a distributed environment, you have to wrap up in a serializable supplier method call to make it serializable, e.g.
> {code}
> Map<Integer, Long> totalPerHour = cache.values().stream()
> .collect(
> CacheCollectors.serializableCollector(() -> Collectors.groupingBy(
> e -> getHourOfDay(e.departureTs),
> Collectors.counting()
> )));
> {code}
> This is a bit clunky. We should overload collect to take a SerializableSupplier in CacheStream.
> It would also be nice to have an overloaded version that takes Supplier in case you want to provide your own serialization for it.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-6395) Unify clustered queries with non clustered queries
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6395?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6395:
------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/5600
> Unify clustered queries with non clustered queries
> --------------------------------------------------
>
> Key: ISPN-6395
> URL: https://issues.jboss.org/browse/ISPN-6395
> Project: Infinispan
> Issue Type: Feature Request
> Components: Embedded Querying
> Affects Versions: 9.2.0.Beta1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.2.0.Final
>
>
> Clustered queries currently have a different API, and they work on top on non-shared indexes.
> We should detect (or make it explicitly configurable) the fact that the index is not shared and use clustered query internally, but exposing a single Query interface.
> We should also expose a new parameter in the Query API to allow doing a query in a single step or two steps (broadcast).
> Last, but not least, we should offer the possibility to broadcast Ickle queries apart from LuceneQueries
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months
[JBoss JIRA] (ISPN-6395) Unify clustered queries with non clustered queries
by Gustavo Fernandes (JIRA)
[ https://issues.jboss.org/browse/ISPN-6395?page=com.atlassian.jira.plugin.... ]
Gustavo Fernandes updated ISPN-6395:
------------------------------------
Affects Version/s: 9.2.0.Beta1
> Unify clustered queries with non clustered queries
> --------------------------------------------------
>
> Key: ISPN-6395
> URL: https://issues.jboss.org/browse/ISPN-6395
> Project: Infinispan
> Issue Type: Feature Request
> Components: Embedded Querying
> Affects Versions: 9.2.0.Beta1
> Reporter: Gustavo Fernandes
> Assignee: Gustavo Fernandes
> Fix For: 9.2.0.Final
>
>
> Clustered queries currently have a different API, and they work on top on non-shared indexes.
> We should detect (or make it explicitly configurable) the fact that the index is not shared and use clustered query internally, but exposing a single Query interface.
> We should also expose a new parameter in the Query API to allow doing a query in a single step or two steps (broadcast).
> Last, but not least, we should offer the possibility to broadcast Ickle queries apart from LuceneQueries
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 4 months