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

Enable yardstick to activate grid

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.8
    • yardstick
    • None

    Description

      If we run benchmarks with pds enabled grid starts inactive, that causes an error:

      [2017-06-19 10:56:36,917][INFO ][main][root] Benchmark arguments: IgniteBenchmarkArguments [nodes=37, backups=1, cfg=/storage/ssd/krybakova/opts-set-w-300-d-1800-m-client-rev-8b66f3b2-date-1906-105549/yardstick/bin/../config/run-load.xml, loadTestQueriesFile=/storage/ssd/krybakova/opts-set-w-300-d-1800-m-client-rev-8b66f3b2-date-1906-105549/yardstick/bin/../config/queries.sql, syncMode=PRIMARY_SYNC, clientOnly=true, nearCacheFlag=false, nearCacheSize=0, txConcurrency=PESSIMISTIC, txIsolation=REPEATABLE_READ, restTcpPort=0, restTcpHost=null, range=60000, scaleFactor=1, ntv=false, preloadAmount=50000, preloadLogsInterval=30000, jobs=10, storeEnabled=false, cleanWorkDirectory=false, writeBehind=false, batch=50, collocated=false, singleStripe=false, jdbcUrl=null, schemaDefinition=null, jdbcDriver=null, createTempDatabase=false, dbn=null, restartDelay=20, restartSleep=2, cacheConsistencyCheckingPeriod=120, keysCnt=5, cacheOpTimeout=30, keysPerThread=false, partitionedCachesNumber=1, replicatedCachesNumber=1, additionalCachesNum=0, additionalCachesName=null, printPartStats=false, pageSize=2048, partitions=10, cacheGrp=null, cachesCnt=1, persistentStoreEnabled=false]
      <10:56:36><main><yardstick> Failed to set up benchmark drivers (will shutdown and exit).
      [2017-06-19 10:56:36,917][INFO ][exchange-worker-#41%null%][time] Started exchange init [topVer=AffinityTopologyVersion [topVer=37, minorTopVer=0], crd=false, evt=10, node=TcpDiscoveryNode [id=adf2cf44-283b-4dfb-97d0-08ced87e9dde, addrs=[127.0.0.1, 172.25.1.31], sockAddrs=[testagent01.gridgain.local/172.25.1.31:0, /127.0.0.1:0], discPort=0, order=33, intOrder=0, lastExchangeTime=1497858993142, loc=true, ver=2.1.0#20170616-sha1:8b66f3b2, isClient=true], evtNode=TcpDiscoveryNode [id=adf2cf44-283b-4dfb-97d0-08ced87e9dde, addrs=[127.0.0.1, 172.25.1.31], sockAddrs=[testagent01.gridgain.local/172.25.1.31:0, /127.0.0.1:0], discPort=0, order=33, intOrder=0, lastExchangeTime=1497858993142, loc=true, ver=2.1.0#20170616-sha1:8b66f3b2, isClient=true], customEvt=null]
      class org.apache.ignite.IgniteException: Can not perform the operation because the cluster is inactive. Note, that the cluster is considered inactive by default if Ignite Persistent Store is used to let all the nodes join the cluster. To activate the cluster call Ignite.activate(true).
              at org.apache.ignite.internal.IgniteKernal.checkClusterState(IgniteKernal.java:3666)[2017-06-19 10:56:36,917][INFO ][exchange-worker-#41%null%][time] Finished exchange init [topVer=AffinityTopologyVersion [topVer=37, minorTopVer=0], crd=false]
      
              at org.apache.ignite.internal.IgniteKernal.cacheNames(IgniteKernal.java:3188)
              at org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark.searchCache(IgniteCacheRandomOperationBenchmark.java:235)
              at org.apache.ignite.yardstick.cache.load.IgniteCacheRandomOperationBenchmark.setUp(IgniteCacheRandomOperationBenchmark.java:145)
              at org.yardstickframework.BenchmarkDriverStartUp.main(BenchmarkDriverStartUp.java:130)
      

      Please add some option that whould control if driver should activate a grid or not.

      Attachments

        Activity

          People

            oleg-ostanin Oleg Ostanin
            krybakova Ksenia Rybakova
            Votes:
            0 Vote for this issue
            Watchers:
            6 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 - 20m
                20m