Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-3604

ABU log needs to handle mangled data

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: Mercury
    • Fix Version/s: All Time Backlog
    • Labels:
      None
    • Environment:

      bidmgr #784

      Description

      ABU log needs to handle mangled data from DB
      On running abu for Y!P with data that is mangled in db without a distribution id the following is logged.

      2015-07-29 12:29:46.764 (3) [P1T4]: Applying algorithm [SABB] for Account ID #46 in distributions [178]
      2015-07-29 12:29:46.764 (3) [P1T4]: Processing data for 2015-05-13 00:00:00 UTC
      2015-07-29 12:29:46.797 (3) [P1T4]: Retrieved campaign status Active for AdMax campaign 588
      2015-07-29 12:29:46.799 (3) [P1T4]: Retrieved campaign status Deleted for AdMax campaign 552
      2015-07-29 12:29:46.801 (3) [P1T4]: Retrieved campaign status Deleted for AdMax campaign 580
      2015-07-29 12:29:46.803 (3) [P1T4]: Retrieved campaign status Active for AdMax campaign 588
      2015-07-29 12:29:46.805 (3) [P1T4]: Retrieved campaign status Deleted for AdMax campaign 552
      2015-07-29 12:29:46.807 (3) [P1T4]: Retrieved campaign status Deleted for AdMax campaign 580
      2015-07-29 12:29:46.854 (2) [P1T4]: Error in getting campaign mappings for account 46, Reason:Could not retrieve campaign mappings for AdmaxCampaignID:552
      2015-07-29 12:29:46.871 (3) [P1T4]: AdMaxSABBBudgetSlosher theDate = Wed May 13 00:00:00 UTC 2015
      2015-07-29 12:29:46.920 (2) [P1T4]: Exception Handling Account ID #46:java.lang.NullPointerException
      at com.thesearchagency.admax.algorithms.sabb.AdMaxSABBBudgetBalancer.run(AdMaxSABBBudgetBalancer.java:75)
      at com.thesearchagency.admax.algorithms.sabb.AdMaxSABBAlgorithm.applyAlgorithm(AdMaxSABBAlgorithm.java:235)
      at com.thesearchagency.admax.AdMaxSummarizer$AccountWorker.call(AdMaxSummarizer.java:607)
      at com.thesearchagency.admax.AdMaxSummarizer$AccountWorker.call(AdMaxSummarizer.java:472)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      2015-07-29 12:29:46.933 (3) [P1T4]: DefaultPropertyFileMonitor: modification detected on 1404120810000 for com.thesearchagency.AlertUtils.properties
      2015-07-29 12:29:46.944 (2) [P1T4]: sendAlert: executing command: [/usr/local/tsa/send_alarm.sh, WARNING, TSAOPS, AdMax Application [AdMaxSummarizer]: General - Error Handling Account ID #46null]
      2015-07-29 12:29:47.127 (3) [P1T4]: Released migrator lock for Account ID #46
      2015-07-29 12:29:47.127 (3) [P1T4]: Completed Account ID #46: 8b4eebd3-c345-4fc4-94c3-1ee7743a290a

      Expected: No exception should be seen.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              varshini.padmanabhan Varshini Padmanabhan (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: