[
https://issues.apache.org/jira/browse/IGNITE-11464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16783348#comment-16783348
]
Dmitriy Pavlov commented on IGNITE-11464:
-----------------------------------------
Removal of Lucene dependency
{code}
compile(group: 'org.apache.ignite', name: 'ignite-indexing', version:
ignVer) {
exclude group: 'org.apache.lucene' // to remove "lucene-sandbox and
analyzers-commons" package conflicts.
}
{code}
helps to locate issues from automatic packages to following 3 issues:
- Lucene auto-packaging failed
- error: module ignite.indexing reads package
org.apache.ignite.internal.processors.cache.query from both ignite.core and
ignite.indexing
-- org.apache.ignite.internal.processors.cache.query.GridCacheTwoStepQuery
-- org.apache.ignite.internal.processors.cache.query.QueryTable
-- org.apache.ignite.internal.processors.cache.query.RegisteredQueryCursor
- error: module ignite.indexing reads package
org.apache.ignite.internal.visor.verify from both ignite.core and
ignite.indexing
-- org.apache.ignite.internal.visor.verify.ValidateIndexesClosure
-- org.apache.ignite.internal.visor.verify.VisorValidateIndexesTask
> Support Automatic modules for ignite-indexing: bypass or fix Lucene, fix
> queries and visor package conflicts
> ------------------------------------------------------------------------------------------------------------
>
> Key: IGNITE-11464
> URL: https://issues.apache.org/jira/browse/IGNITE-11464
> Project: Ignite
> Issue Type: Sub-task
> Reporter: Dmitriy Pavlov
> Priority: Major
>
> {noformat}
> error: the unnamed module reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: the unnamed module reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: the unnamed module reads package org.apache.lucene.analysis.standard
> from both lucene.core and lucene.analyzers.common
> error: the unnamed module reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: the unnamed module reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module ignite.indexing reads package org.apache.lucene.search from
> both lucene.sandbox and lucene.core
> error: module ignite.indexing reads package org.apache.lucene.document from
> both lucene.sandbox and lucene.core
> error: module ignite.indexing reads package
> org.apache.lucene.analysis.standard from both lucene.core and
> lucene.analyzers.common
> error: module ignite.indexing reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module ignite.indexing reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module cache.api reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module cache.api reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: module cache.api reads package org.apache.lucene.analysis.standard
> from both lucene.core and lucene.analyzers.common
> error: module cache.api reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module cache.api reads package org.apache.ignite.internal.visor.verify
> from both ignite.indexing and ignite.core
> error: module annotations reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module annotations reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: module annotations reads package org.apache.lucene.analysis.standard
> from both lucene.core and lucene.analyzers.common
> error: module annotations reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module annotations reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module ignite.shmem reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module ignite.shmem reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: module ignite.shmem reads package org.apache.lucene.analysis.standard
> from both lucene.core and lucene.analyzers.common
> error: module ignite.shmem reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module ignite.shmem reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module org.apache.commons.codec reads package org.apache.lucene.search
> from both lucene.sandbox and lucene.core
> error: module org.apache.commons.codec reads package
> org.apache.lucene.document from both lucene.sandbox and lucene.core
> error: module org.apache.commons.codec reads package
> org.apache.lucene.analysis.standard from both lucene.core and
> lucene.analyzers.common
> error: module org.apache.commons.codec reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module org.apache.commons.codec reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module lucene.analyzers.common reads package org.apache.lucene.search
> from both lucene.sandbox and lucene.core
> error: module lucene.analyzers.common reads package
> org.apache.lucene.document from both lucene.sandbox and lucene.core
> error: module lucene.analyzers.common reads package
> org.apache.lucene.analysis.standard from both lucene.core and
> lucene.analyzers.common
> error: module lucene.analyzers.common reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module lucene.analyzers.common reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module lucene.queryparser reads package org.apache.lucene.search from
> both lucene.sandbox and lucene.core
> error: module lucene.queryparser reads package org.apache.lucene.document
> from both lucene.sandbox and lucene.core
> error: module lucene.queryparser reads package
> org.apache.lucene.analysis.standard from both lucene.core and
> lucene.analyzers.common
> error: module lucene.queryparser reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module lucene.queryparser reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module lucene.core reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module lucene.core reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: module lucene.core reads package org.apache.lucene.analysis.standard
> from both lucene.core and lucene.analyzers.common
> error: module lucene.core reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module lucene.core reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module h2 reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module h2 reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: module h2 reads package org.apache.lucene.analysis.standard from both
> lucene.core and lucene.analyzers.common
> error: module h2 reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module h2 reads package org.apache.ignite.internal.visor.verify from
> both ignite.indexing and ignite.core
> error: module hamcrest.core reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module hamcrest.core reads package org.apache.lucene.document from
> both lucene.sandbox and lucene.core
> error: module hamcrest.core reads package org.apache.lucene.analysis.standard
> from both lucene.core and lucene.analyzers.common
> error: module hamcrest.core reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module hamcrest.core reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module lucene.queries reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module lucene.queries reads package org.apache.lucene.document from
> both lucene.sandbox and lucene.core
> error: module lucene.queries reads package
> org.apache.lucene.analysis.standard from both lucene.core and
> lucene.analyzers.common
> error: module lucene.queries reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module lucene.queries reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module lucene.sandbox reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module lucene.sandbox reads package org.apache.lucene.document from
> both lucene.sandbox and lucene.core
> error: module lucene.sandbox reads package
> org.apache.lucene.analysis.standard from both lucene.core and
> lucene.analyzers.common
> error: module lucene.sandbox reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module lucene.sandbox reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> error: module junit reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module junit reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: module junit reads package org.apache.lucene.analysis.standard from
> both lucene.core and lucene.analyzers.common
> error: module junit reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.core and
> ignite.indexing
> error: module junit reads package org.apache.ignite.internal.visor.verify
> from both ignite.core and ignite.indexing
> error: module ignite.core reads package org.apache.lucene.search from both
> lucene.sandbox and lucene.core
> error: module ignite.core reads package org.apache.lucene.document from both
> lucene.sandbox and lucene.core
> error: module ignite.core reads package org.apache.lucene.analysis.standard
> from both lucene.core and lucene.analyzers.common
> error: module ignite.core reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> error: module ignite.core reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
> C:\projects\incubator-ignite\modules\dev-utils\ignite-modules-test\src\test\java\module-info.java:18:
> error: module ignite_modules_test reads package org.apache.lucene.search
> from both lucene.sandbox and lucene.core
> module ignite_modules_test
> {noformat}
>
> Some of these errors probably can be fixed by workarounds for dependencies:
> 2 errors coming from duplicate packages declared in code and indexing:
> - error: module ignite.core reads package
> org.apache.ignite.internal.processors.cache.query from both ignite.indexing
> and ignite.core
> - error: module ignite.core reads package
> org.apache.ignite.internal.visor.verify from both ignite.indexing and
> ignite.core
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)