Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-7526

Expected exceptions should not show stack trace on log

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Medium
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Debugging
    • Labels:
    • Story Points:
      5

      Description

      Expected errors / handled errors should not have stack traces in the log.  remove:

       

      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: * Scale(App(/mariadb/docker-pinned, image="mariadb"List())), instances=0)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: (mesosphere.marathon.MarathonSchedulerService$$EnhancerByGuice$$d054cf9d:marathon-akka.actor.default-dispatcher-12)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: [2017-06-14 02:45:36,892] INFO  Received new deployment plan 6b6731c9-fe57-4634-981a-19614fc62a29. Conflicts are detected and it is not forced, so it will not start (mesosphere.marathon.upgrade.DeploymentManager:marathon-akka.actor.default-dispatcher-12)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: [2017-06-14 02:45:36,895] WARN  Deployment failed for change: 2017-06-14T02:45:36.443Z (mesosphere.marathon.core.group.impl.GroupManagerActor:marathon-akka.actor.default-dispatcher-3)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: mesosphere.marathon.AppLockedException: App is locked by one or more deployments. Override with the option '?force=true'. View details at '/v2/deployments/<DEPLOYMENT_ID>'.
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at mesosphere.marathon.upgrade.DeploymentManager.mesosphere$marathon$upgrade$DeploymentManager$$giveUpConflictingDeployment(DeploymentManager.scala:233)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at mesosphere.marathon.upgrade.DeploymentManager$$anonfun$started$1.applyOrElse(DeploymentManager.scala:215)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.actor.Actor$class.aroundReceive(Actor.scala:484)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at mesosphere.marathon.upgrade.DeploymentManager.aroundReceive(DeploymentManager.scala:127)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.actor.ActorCell.invoke(ActorCell.scala:495)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.dispatch.Mailbox.run(Mailbox.scala:224)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: [2017-06-14 02:45:36,900] ERROR Exception while processing request (mesosphere.marathon.api.MarathonExceptionMapper$$EnhancerByGuice$$b7003db0:qtp2008355980-50)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: mesosphere.marathon.AppLockedException: App is locked by one or more deployments. Override with the option '?force=true'. View details at '/v2/deployments/<DEPLOYMENT_ID>'.
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at mesosphere.marathon.upgrade.DeploymentManager.mesosphere$marathon$upgrade$DeploymentManager$$giveUpConflictingDeployment(DeploymentManager.scala:233)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at mesosphere.marathon.upgrade.DeploymentManager$$anonfun$started$1.applyOrElse(DeploymentManager.scala:215)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.actor.Actor$class.aroundReceive(Actor.scala:484)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at mesosphere.marathon.upgrade.DeploymentManager.aroundReceive(DeploymentManager.scala:127)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.actor.ActorCell.receiveMessage(ActorCell.scala:526)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.actor.ActorCell.invoke(ActorCell.scala:495)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.dispatch.Mailbox.run(Mailbox.scala:224)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
      Jun 14 02:45:36 ip-172-31-15-168.us-west-2.compute.internal marathon.sh[29366]: [2017-06-14 02:45:36,902] INFO  172.31.12.88 - - [14/Jun/2017:02:45:36 +0000] "PUT https://marathon.mesos:8443/v2/apps/mariadb/docker-pinned HTTP/1.1" 409 208 "-" "python-requests/2.17.3" 48 (mesosphere.chaos.http.ChaosRequestLog$$EnhancerByGuice$$22ce23a3:qtp2008355980-50)
      Ju

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ken Ken Sipe
                Team:
                Orchestration Team
                Watchers:
                Ken Sipe, Matthias Eichstedt
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: