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

Ignite examples from binary package fail to build due to ClientKubernetesPutGetExample

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.10
    • 2.11
    • examples
    • None

    Description

      ~/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples% mvn clean install
      [INFO] 
      [INFO] -----------------< org.apache.ignite:ignite-examples >------------------
      [INFO] Building ignite-examples 2.11.0-SNAPSHOT
      [INFO] --------------------------------[ jar ]---------------------------------
      [INFO] 
      [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ignite-examples ---
      [INFO] 
      [INFO] --- build-helper-maven-plugin:3.2.0:add-source (add-sources) @ ignite-examples ---
      [INFO] Source directory: /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java added.
      [INFO] Source directory: /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java added.
      [INFO] 
      [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ignite-examples ---
      [INFO] Using 'UTF-8' encoding to copy filtered resources.
      [INFO] Copying 2 resources
      [INFO] Copying 14 resources
      [INFO] 
      [INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ignite-examples ---
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 266 source files to /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/target/classes
      [INFO] -------------------------------------------------------------
      [WARNING] COMPILATION WARNING : 
      [INFO] -------------------------------------------------------------
      [WARNING] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheAsyncApiExample.java: Some input files use or override a deprecated API.
      [WARNING] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/datagrid/CacheAsyncApiExample.java: Recompile with -Xlint:deprecation for details.
      [WARNING] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheLoadOnlyStoreExample.java: Some input files use unchecked or unsafe operations.
      [WARNING] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/datagrid/store/CacheLoadOnlyStoreExample.java: Recompile with -Xlint:unchecked for details.
      [INFO] 4 warnings 
      [INFO] -------------------------------------------------------------
      [INFO] -------------------------------------------------------------
      [ERROR] COMPILATION ERROR : 
      [INFO] -------------------------------------------------------------
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[23,32] cannot find symbol
        symbol:   class ThinClientKubernetesAddressFinder
        location: package org.apache.ignite.client
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[26,50] package org.apache.ignite.kubernetes.configuration does not exist
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[42,9] cannot find symbol
        symbol:   class KubernetesConnectionConfiguration
        location: class org.apache.ignite.examples.client.ClientKubernetesPutGetExample
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[42,54] cannot find symbol
        symbol:   class KubernetesConnectionConfiguration
        location: class org.apache.ignite.examples.client.ClientKubernetesPutGetExample
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[46,36] cannot find symbol
        symbol:   class ThinClientKubernetesAddressFinder
        location: class org.apache.ignite.examples.client.ClientKubernetesPutGetExample
      [INFO] 5 errors 
      [INFO] -------------------------------------------------------------
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  4.852 s
      [INFO] Finished at: 2021-05-25T18:57:12+03:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ignite-examples: Compilation failure: Compilation failure: 
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[23,32] cannot find symbol
      [ERROR]   symbol:   class ThinClientKubernetesAddressFinder
      [ERROR]   location: package org.apache.ignite.client
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[26,50] package org.apache.ignite.kubernetes.configuration does not exist
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[42,9] cannot find symbol
      [ERROR]   symbol:   class KubernetesConnectionConfiguration
      [ERROR]   location: class org.apache.ignite.examples.client.ClientKubernetesPutGetExample
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[42,54] cannot find symbol
      [ERROR]   symbol:   class KubernetesConnectionConfiguration
      [ERROR]   location: class org.apache.ignite.examples.client.ClientKubernetesPutGetExample
      [ERROR] /home/ikasnacheev/Downloads/apache-ignite-2.11.0-SNAPSHOT-bin/examples/src/main/java/org/apache/ignite/examples/client/ClientKubernetesPutGetExample.java:[46,36] cannot find symbol
      [ERROR]   symbol:   class ThinClientKubernetesAddressFinder
      [ERROR]   location: class org.apache.ignite.examples.client.ClientKubernetesPutGetExample
      

      This is in binary redistributable built by mvn initialize -Prelease

      Attachments

        Issue Links

          Activity

            People

              timonin.maksim Maksim Timonin
              ilyak Ilya Kasnacheev
              Ilya Kasnacheev Ilya Kasnacheev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h