You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Ilya Suntsov (JIRA)" <ji...@apache.org> on 2017/08/21 10:33:00 UTC

[jira] [Created] (IGNITE-6126) Compilation error (yardstick repo)

Ilya Suntsov created IGNITE-6126:
------------------------------------

             Summary: Compilation error (yardstick repo)
                 Key: IGNITE-6126
                 URL: https://issues.apache.org/jira/browse/IGNITE-6126
             Project: Ignite
          Issue Type: Bug
            Reporter: Ilya Suntsov


Steps for reproduce:
1. Clone {noformat}https://github.com/apacheignite/yardstick-ignite.git{noformat}
2. Change version of apache ignite from 1.9.0 to 2.1.0
3.{noformat}mvn clean package{noformat}
Result:
{noformat}
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/failover/IgniteFailoverAbstractBenchmark.java: Some input files use or override a deprecated API.
[WARNING] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/failover/IgniteFailoverAbstractBenchmark.java: Recompile with -Xlint:deprecation for details.
[WARNING] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/CacheEntryEventProbe.java: Some input files use unchecked or unsafe operations.
[WARNING] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/CacheEntryEventProbe.java: Recompile with -Xlint:unchecked for details.
[INFO] 4 warnings 
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[45,38] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[45,1] static import only from classes and interfaces
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteBenchmarkArguments.java:[21,31] cannot find symbol
  symbol:   class CacheAtomicWriteOrderMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteBenchmarkArguments.java:[69,13] cannot find symbol
  symbol:   class CacheAtomicWriteOrderMode
  location: class org.apache.ignite.yardstick.IgniteBenchmarkArguments
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteBenchmarkArguments.java:[243,12] cannot find symbol
  symbol:   class CacheAtomicWriteOrderMode
  location: class org.apache.ignite.yardstick.IgniteBenchmarkArguments
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutTxOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/failover/IgniteFailoverAbstractBenchmark.java:[41,77] cannot find symbol
  symbol:   class GridDhtPartitionMap2
  location: package org.apache.ignite.internal.processors.cache.distributed.dht.preloader
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteSqlQueryJoinOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxOffHeapValuesBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutOffHeapValuesBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetOffHeapValuesBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteSqlQueryOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[49,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[51,31] cannot find symbol
  symbol:   class CacheTypeMetadata
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/WaitMapExchangeFinishCallable.java:[28,77] cannot find symbol
  symbol:   class GridDhtPartitionMap2
  location: package org.apache.ignite.internal.processors.cache.distributed.dht.preloader
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteSqlQueryPutOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxOffHeapBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetOffHeapValuesBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutTxOffHeapValuesBenchmark.java:[21,31] cannot find symbol
  symbol:   class CacheMemoryMode
  location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[129,23] cannot find symbol
  symbol:   method setOffHeapMaxMemory(int)
  location: variable cc of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[132,42] cannot find symbol
  symbol:   variable OFFHEAP_VALUES
  location: class org.apache.ignite.yardstick.IgniteNode
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/failover/IgniteFailoverAbstractBenchmark.java:[199,38] cannot find symbol
  symbol:   class GridDhtPartitionMap2
  location: class org.apache.ignite.yardstick.cache.failover.IgniteFailoverAbstractBenchmark<K,V>
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteBinaryIdentityBenchmark.java:[92,13] method hashCode in class java.lang.Object cannot be applied to given types;
  required: no arguments
  found: int
  reason: actual and formal argument lists differ in length
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[208,34] cannot find symbol
  symbol:   method getMemoryMode()
  location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[208,54] cannot find symbol
  symbol:   variable CacheMemoryMode
  location: class org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[254,34] cannot find symbol
  symbol:   method getTypeMetadata()
  location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[255,32] cannot find symbol
  symbol:   class CacheTypeMetadata
  location: class org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[255,74] cannot find symbol
  symbol:   method getTypeMetadata()
  location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[257,26] cannot find symbol
  symbol:   class CacheTypeMetadata
  location: class org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[398,54] cannot find symbol
  symbol:   method getTypeMetadata()
  location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/WaitMapExchangeFinishCallable.java:[56,46] cannot find symbol
  symbol:   class GridDhtPartitionMap2
  location: class org.apache.ignite.yardstick.cache.WaitMapExchangeFinishCallable
[INFO] 34 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.922 s
[INFO] Finished at: 2017-08-21T12:02:22+03:00
[INFO] Final Memory: 22M/208M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ignite-yardstick: Compilation failure: Compilation failure:
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[45,38] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[45,1] static import only from classes and interfaces
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteBenchmarkArguments.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheAtomicWriteOrderMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteBenchmarkArguments.java:[69,13] cannot find symbol
[ERROR] symbol:   class CacheAtomicWriteOrderMode
[ERROR] location: class org.apache.ignite.yardstick.IgniteBenchmarkArguments
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteBenchmarkArguments.java:[243,12] cannot find symbol
[ERROR] symbol:   class CacheAtomicWriteOrderMode
[ERROR] location: class org.apache.ignite.yardstick.IgniteBenchmarkArguments
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutTxOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/failover/IgniteFailoverAbstractBenchmark.java:[41,77] cannot find symbol
[ERROR] symbol:   class GridDhtPartitionMap2
[ERROR] location: package org.apache.ignite.internal.processors.cache.distributed.dht.preloader
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteSqlQueryJoinOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxOffHeapValuesBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutOffHeapValuesBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetOffHeapValuesBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteSqlQueryOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[49,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[51,31] cannot find symbol
[ERROR] symbol:   class CacheTypeMetadata
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/WaitMapExchangeFinishCallable.java:[28,77] cannot find symbol
[ERROR] symbol:   class GridDhtPartitionMap2
[ERROR] location: package org.apache.ignite.internal.processors.cache.distributed.dht.preloader
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteGetOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteSqlQueryPutOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetTxOffHeapBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutGetOffHeapValuesBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgnitePutTxOffHeapValuesBenchmark.java:[21,31] cannot find symbol
[ERROR] symbol:   class CacheMemoryMode
[ERROR] location: package org.apache.ignite.cache
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[129,23] cannot find symbol
[ERROR] symbol:   method setOffHeapMaxMemory(int)
[ERROR] location: variable cc of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/IgniteNode.java:[132,42] cannot find symbol
[ERROR] symbol:   variable OFFHEAP_VALUES
[ERROR] location: class org.apache.ignite.yardstick.IgniteNode
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/failover/IgniteFailoverAbstractBenchmark.java:[199,38] cannot find symbol
[ERROR] symbol:   class GridDhtPartitionMap2
[ERROR] location: class org.apache.ignite.yardstick.cache.failover.IgniteFailoverAbstractBenchmark<K,V>
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/IgniteBinaryIdentityBenchmark.java:[92,13] method hashCode in class java.lang.Object cannot be applied to given types;
[ERROR] required: no arguments
[ERROR] found: int
[ERROR] reason: actual and formal argument lists differ in length
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[208,34] cannot find symbol
[ERROR] symbol:   method getMemoryMode()
[ERROR] location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[208,54] cannot find symbol
[ERROR] symbol:   variable CacheMemoryMode
[ERROR] location: class org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[254,34] cannot find symbol
[ERROR] symbol:   method getTypeMetadata()
[ERROR] location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[255,32] cannot find symbol
[ERROR] symbol:   class CacheTypeMetadata
[ERROR] location: class org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[255,74] cannot find symbol
[ERROR] symbol:   method getTypeMetadata()
[ERROR] location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[257,26] cannot find symbol
[ERROR] symbol:   class CacheTypeMetadata
[ERROR] location: class org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/load/IgniteCacheRandomOperationBenchmark.java:[398,54] cannot find symbol
[ERROR] symbol:   method getTypeMetadata()
[ERROR] location: variable configuration of type org.apache.ignite.configuration.CacheConfiguration
[ERROR] /Users/gridgain/TRASH/yardstick-ignite/src/main/java/org/apache/ignite/yardstick/cache/WaitMapExchangeFinishCallable.java:[56,46] cannot find symbol
[ERROR] symbol:   class GridDhtPartitionMap2
[ERROR] location: class org.apache.ignite.yardstick.cache.WaitMapExchangeFinishCallable
[ERROR] -> [Help 1]
[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/MojoFailureException
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)