Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Apollo
    • Fix Version/s: Apollo
    • Component/s: API
    • Labels:
      None
    • Environment:
    • Sprint:
      Sprint 12

      Description

      YJ deployments are failing.

      Snippet of listener log:

      2016-02-17 08:08:25.521 (4) [pool-3-thread-1]: Query executed in 0.002s, 1 row(s) affected
      2016-02-17 08:08:25.523 (3) [pool-3-thread-1]: Assigned new seUserID: 104 to 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae_150370_400001_1760_GT
      2016-02-17 08:08:25.523 (3) [pool-3-thread-1]: Assigned new seUserID: 104 to 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae_150370_400001_1760_GM
      2016-02-17 08:08:25.523 (3) [pool-3-thread-1]: Assigned 2 campaigns to 1 new user(s).
      2016-02-17 08:08:25.523 (4) [pool-3-thread-1]: preparing SQL statement [select e.id, e.externalCampaignParentID, e.gceCampaignID, e.searchEngineAccountID, e.accountID, e.enabled, sea.distributionID from clients.externalCampaign e left join tsacommon.searchEngineAccounts sea on sea.id=searchEngineAccountID where e.id = ?]
      2016-02-17 08:08:25.524 (4) [pool-3-thread-1]: preparing SQL statement [insert into clients.externalCampaign (id, externalCampaignParentID, gceCampaignID, searchEngineAccountID, accountID, enabled) values (?, ?, ?, ?, ?, ?)]
      2016-02-17 08:08:25.528 (4) [pool-3-thread-1]: preparing SQL statement [select e.id, e.externalCampaignParentID, e.gceCampaignID, e.searchEngineAccountID, e.accountID, e.enabled, sea.distributionID from clients.externalCampaign e left join tsacommon.searchEngineAccounts sea on sea.id=searchEngineAccountID where e.id = ?]
      2016-02-17 08:08:25.530 (4) [pool-3-thread-1]: preparing SQL statement [insert into clients.externalCampaign (id, externalCampaignParentID, gceCampaignID, searchEngineAccountID, accountID, enabled) values (?, ?, ?, ?, ?, ?)]
      2016-02-17 08:08:25.532 (3) [pool-3-thread-1]: Creating 2 new campaign(s).
      2016-02-17 08:08:25.532 (3) [pool-3-thread-1]: CampaignWorker initialized for account: 96
      2016-02-17 08:08:25.533 (3) [pool-3-thread-1]: Creating 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae_150370_400001_1760_GT Status: Paused
      2016-02-17 08:08:25.533 (3) [pool-3-thread-1]: Creating 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae_150370_400001_1760_GM Status: Paused
      2016-02-17 08:08:25.533 (3) [pool-3-thread-1]: CampaignWorker started for account: 96
      2016-02-17 08:08:25.535 (3) [pool-6-thread-1]: Starting YahooJapan Create Campaign Worker..
      2016-02-17 08:08:25,535 [pool-6-thread-1] INFO c.t.s.y.YahooJapanAccountDeployer - Creating Yahoo campaign structure for accountID 96
      2016-02-17 08:08:25,558 [pool-6-thread-1] INFO c.t.s.y.YahooJapanAccountDeployer - accountID 96: mapping campaign name 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae_150370_400001_1760_GT to a96_150370_400001_1760_GT
      2016-02-17 08:08:25.680 (3) [pool-6-thread-1]: Distribution Properties Cache: Loading new properties for 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae_ALGORITHM
      2016-02-17 08:08:25.712 (4) [pool-3-thread-1]: Returning Object to Pool
      2016-02-17 08:08:25.712 (4) [pool-3-thread-1]: Returning Object to Pool
      2016-02-17 08:08:25.712 (2) [pool-3-thread-1]: Error: CampID: 1760_GT Info: Error during add campaigns request.
      2016-02-17 08:08:25.713 (2) [pool-3-thread-1]: Error: CampID: 1760_GM Info: Error during add campaigns request.
      2016-02-17 08:08:25.715 (1) [pool-3-thread-1]: Exception [Error during add campaigns request. ]:java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to get distribution properties for 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae (ALGORITHM).
      at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222)
      at java.util.concurrent.FutureTask.get(FutureTask.java:83)
      at com.thesearchagency.admaxlistener.deployer.MultiplexAccountDeployer.createCampaigns(MultiplexAccountDeployer.java:221)
      at com.thesearchagency.admaxlistener.worker.CampaignCreateWorker.call(CampaignCreateWorker.java:58)
      at com.thesearchagency.admaxlistener.worker.CampaignCreateWorker.call(CampaignCreateWorker.java:32)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.createCampaigns(AccountWorker.java:477)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.deploySync(AccountWorker.java:406)
      at com.thesearchagency.admaxlistener.worker.AccountWorker.call(AccountWorker.java:151)
      at com.thesearchagency.admaxlistener.worker.RequestWorker.call(RequestWorker.java:297)

      .
      .
      .
      Caused by: java.lang.IllegalStateException: Failed to get distribution properties for 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae (ALGORITHM).
      at com.thesearchagency.OverridableSystemProperties.getProperty(OverridableSystemProperties.java:76)
      at com.thesearchagency.admax.algorithms.common.AdMaxProperties.getValue(AdMaxProperties.java:119)
      at com.thesearchagency.admax.algorithms.common.AdMaxProperties.getFloat(AdMaxProperties.java:51)
      at com.thesearchagency.searchengines.yahoojapan.YahooJapanAccountDeployer.getInitialBid(YahooJapanAccountDeployer.java:778)
      at com.thesearchagency.searchengines.yahoojapan.YahooJapanAccountDeployer.createCampaigns(YahooJapanAccountDeployer.java:234)
      at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignWorker.call(SearchEngineCampaignWorker.java:62)
      at com.thesearchagency.admaxlistener.worker.SearchEngineCampaignWorker.call(SearchEngineCampaignWorker.java:23)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      ... 5 more
      Caused by: com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key 6b714fd1-cf94-41cb-8d9d-59a63c5e5aae_ALGORITHM.
      at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2348)
      at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2318)
      at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280)
      at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195)
      at com.google.common.cache.LocalCache.get(LocalCache.java:3934)
      at com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4736)
      at com.thesearchagency.OverridableSystemProperties.getProperty(OverridableSystemProperties.java:41)
      ... 14 more

        Attachments

          Activity

            People

            • Assignee:
              atul.sanagar Atul Sanagar (Inactive)
              Reporter:
              atul.sanagar Atul Sanagar (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: