Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 86316200D3C for ; Tue, 31 Oct 2017 00:33:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 84E24160BF8; Mon, 30 Oct 2017 23:33:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A2987160BE4 for ; Tue, 31 Oct 2017 00:33:03 +0100 (CET) Received: (qmail 40833 invoked by uid 500); 30 Oct 2017 23:33:02 -0000 Mailing-List: contact dev-help@amaterasu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@amaterasu.apache.org Delivered-To: mailing list dev@amaterasu.apache.org Received: (qmail 40821 invoked by uid 99); 30 Oct 2017 23:33:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Oct 2017 23:33:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id C7F741A2D82 for ; Mon, 30 Oct 2017 23:33:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.981 X-Spam-Level: *** X-Spam-Status: No, score=3.981 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=shinto-io.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 0Qgm8WvSUUr5 for ; Mon, 30 Oct 2017 23:32:59 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B169B5FAF3 for ; Mon, 30 Oct 2017 23:32:58 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id m72so12184870wmc.0 for ; Mon, 30 Oct 2017 16:32:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shinto-io.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=X2Wwibt/y/p20/tbo+nB9uZ1DAuonW61f8tR0lTZ/V4=; b=xQQDdXYPlD886js6p3MmJbM/GPULqQMIKQy6PiUVCnImWyTVbxxysD98v2LBSkIlBG gsSAFZrEXnCKGPd+8srq4JCdB+FpkwFR4XbbI732SrVgpqqMc99E3vJ/mYoSSDZNrecf T+H3tVofyVGpVi+23YkAzxzAiT1FNhCBBN/yVakYe9KQInDhNz37BMo+p7o3Vuv1Rm6T Mx1nzOcQwGkFMmyt8dkbmUtM9oR6i+pP1nmwdsuCKGYV+DbyIYgAnIhOJwDC0u3fgT4m 94FLBaJKFbyfXNPB6lK3/vnx0j7Bcp4EFx0eHqXpB7VxpPUC8xbEOXgKS/0e0T6rX1r8 opsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=X2Wwibt/y/p20/tbo+nB9uZ1DAuonW61f8tR0lTZ/V4=; b=I9pft0dtOk35BBSmAscl0C8SDFi/hZjg/IHaW7dEXYAwLJF4W3BZgZ2frHFZ11ay0d iYzna1oq4Uw6DD2ITQIPFtWdtJ5z693osRdLGFxEcfvwk8RXlVvG3kb2QpB294fCRRAV 2B1L/TSZPXSuWzSGm7JWF/SEqJgNbSv8QdZDYMLeV+SMckral9OQFQb2gr8qJQQf0QT+ J6EENjAjz8yA412rRYQKp1LAR2JCYyC3njCo+MJzJU3AA8ugvaI3dYjwKikpQ7exa2C6 cmwBWX2Mi4pPWnSo+nnqUV785PTuR3fdCujc2d7QbhzjyC3aBnZ9NgtnuuUCUmww917G C/vw== X-Gm-Message-State: AMCzsaW8Lpx7KteUClCX2OQuhhYepAcaPZq1VfDqtEqDBEXbXqsT4y0h +JIKJvnn4m4uxqGOr9OpRIhIoguZlSYXX9uIocoHPKwk X-Google-Smtp-Source: ABhQp+TCoqWIlukoBjV8JyjByQUfiF/xwWySNUBVDoGkA9Iek1jOAIPF0UEBKqV/YbPpMPTl5KstZf+Iw6SyYJaIig0= X-Received: by 10.28.107.66 with SMTP id g63mr255607wmc.38.1509406371803; Mon, 30 Oct 2017 16:32:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.5.78 with HTTP; Mon, 30 Oct 2017 16:32:51 -0700 (PDT) In-Reply-To: References: From: Yaniv Rodenski Date: Tue, 31 Oct 2017 10:32:51 +1100 Message-ID: Subject: Re: Unable to run the sample job To: dev@amaterasu.apache.org Content-Type: multipart/alternative; boundary="001a114670689d0562055ccc0e38" archived-at: Mon, 30 Oct 2017 23:33:04 -0000 --001a114670689d0562055ccc0e38 Content-Type: text/plain; charset="UTF-8" Hi Shad, sorry about that, there was indeed an issue with the job definition. Should be fine now. Cheers, Yaniv On Mon, Oct 30, 2017 at 9:02 PM, Shad Amez wrote: > Hi All, > > I started tinkering with source code of Amaterasu and just wanted to > confirm if I am missing any step. > > Here are the steps that I followed : > > 1. Installed a single node mesos cluster (version 1.4) in Ubuntu 16.0.4 > 2. Generated the amaterasu tar file post building the project from source. > 3. Tested if mesos by executing the following command : > mesos-execute --master=$MASTER --name="cluster-test" --command="sleep 5" > 4. Ran the command for deploying the spark job using Amaterasu > ./ama-start.sh --repo="https://github.com/shintoio/amaterasu-job-sample. > git" > --branch="master" --env="test" --report="code" > > Following is error log > > repo: https://github.com/shintoio/amaterasu-job-sample.git > 2017-10-30 14:00:09.761:INFO::main: Logging initialized @430ms > 2017-10-30 14:00:09.829:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT > 2017-10-30 14:00:09.864:INFO:oejsh.ContextHandler:main: Started > o.e.j.s.ServletContextHandler@8c3b9d > {/,file:/home/shad/apps/apache-amaterasu-0.2.0-incubating/dist/,AVAILABLE} > 2017-10-30 14:00:09.882:INFO:oejs.ServerConnector:main: Started > ServerConnector@58ea606c{HTTP/1.1}{0.0.0.0:8000} > 2017-10-30 14:00:09.882:INFO:oejs.Server:main: Started @553ms > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: Defaulting to no-operation (NOP) logger implementation > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further > details. > I1030 14:00:10.085204 16586 sched.cpp:232] Version: 1.4.0 > I1030 14:00:10.088812 16630 sched.cpp:336] New master detected at > master@127.0.1.1:5050 > I1030 14:00:10.089205 16630 sched.cpp:352] No credentials provided. > Attempting to register without authentication > I1030 14:00:10.090991 16624 sched.cpp:759] Framework registered with > e72b9609-4b7f-4509-b1a4-bd2055d674aa-0002 > Exception in thread "Thread-13" while scanning for the next token > found character '\t(TAB)' that cannot start any token. (Do not use \t(TAB) > for indentation) > in 'reader', line 2, column 1: > "name":"test", > ^ > > at > org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens( > ScannerImpl.java:420) > at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:226) > at > org.yaml.snakeyaml.parser.ParserImpl$ParseImplicitDocumentStart. > produce(ParserImpl.java:194) > at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:157) > at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:147) > at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:104) > at > org.yaml.snakeyaml.constructor.BaseConstructor. > getSingleData(BaseConstructor.java:122) > at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:505) > at org.yaml.snakeyaml.Yaml.load(Yaml.java:436) > at > org.apache.amaterasu.leader.utilities.DataLoader$. > yamlToMap(DataLoader.scala:87) > at > org.apache.amaterasu.leader.utilities.DataLoader$$anonfun$ > 3.apply(DataLoader.scala:68) > at > org.apache.amaterasu.leader.utilities.DataLoader$$anonfun$ > 3.apply(DataLoader.scala:68) > at > scala.collection.TraversableLike$$anonfun$map$ > 1.apply(TraversableLike.scala:234) > at > scala.collection.TraversableLike$$anonfun$map$ > 1.apply(TraversableLike.scala:234) > at > scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized. > scala:33) > at scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:186) > at scala.collection.TraversableLike$class.map(TraversableLike.scala:234) > at scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:186) > at > org.apache.amaterasu.leader.utilities.DataLoader$. > getExecutorData(DataLoader.scala:68) > at > org.apache.amaterasu.leader.mesos.schedulers.JobScheduler$ > $anonfun$resourceOffers$1.apply(JobScheduler.scala:163) > at > org.apache.amaterasu.leader.mesos.schedulers.JobScheduler$ > $anonfun$resourceOffers$1.apply(JobScheduler.scala:128) > at scala.collection.Iterator$class.foreach(Iterator.scala:891) > at scala.collection.AbstractIterator.foreach(Iterator.scala:1334) > at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) > at scala.collection.AbstractIterable.foreach(Iterable.scala:54) > at > org.apache.amaterasu.leader.mesos.schedulers.JobScheduler. > resourceOffers(JobScheduler.scala:128) > I1030 14:00:12.991056 16624 sched.cpp:2055] Asked to abort the driver > I1030 14:00:12.991195 16624 sched.cpp:1233] Aborting framework > e72b9609-4b7f-4509-b1a4-bd2055d674aa-0002 > > Thanks, > Shad > -- Yaniv Rodenski --001a114670689d0562055ccc0e38--