Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-11461

Automatic modules support for Apache Ignite: find and resolve packages conflicts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      Example of failure in a modular environment:
      Error:java: the unnamed module reads package org.apache.ignite.internal.processors.cache.persistence.file from both ignite.core and ignite.direct.io

      This type of failure is named package inference, but it is strictly prohibited http://openjdk.java.net/projects/jigsaw/spec/reqs/#non-interference

      Ignite compatibility with Jigsaw is tested in a separate project. See details in
      https://github.com/apache/ignite/tree/ignite-11461-java11/modules/dev-utils/ignite-modules-test#ignite-modular-environment-test-project

      Following table contains currenly investigated Ignite modules if this applicability as automatic modules:

      Module Run In Modular Environment Changeable using private API only Notes
      ignite-code  
      ignite-indexing IGNITE-11464 Refacrtoing to use ignite-indexing-text may be a breaking change Lucene artifacts exclusion is required by user manually.
      ignite-compress not releaseed org.apache.ignite.internal.processors.compress package conflict
      ignite-direct-io blocked by indexind org.apache.ignite.internal.processors.cache.persistence.file package conflict
      ignite-spring IGNITE-11467 blocked by indexing org.apache.ignite.IgniteSpringBean affected  
      ignite-ml blocked by indexing    
      ignite-log4j But may not compile with other logging dependencies - EOL https://blogs.apache.org/logging/entry/moving_on_to_log4j_2
      ignite-log4j2  
      ignite-slf4j  
      ignite-rest-http IGNITE-11469 & Mirgate to log4j2x IGNITE-11486 Usage with slf4j may break compilation because conflict of packages
      ignite-hibernate_5.3 and others IGNITE-11485 avoid of API breaking is possibleif hibernate core classes not used by third party code
      ignite-zookeeper IGNITE-11486  
      ignite-spring-data_2-0 blocked by spring org.apache.commons.logging from both commons.logging and spring.jcl conflict https://jira.spring.io/browse/SPR-16605
      ignite-ml master 2.7    
      ignite-cassandra-store IGNITE-11467 blocked by spring Only spring needs to be fixed

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dpavlov Dmitry Pavlov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m