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 485B1200CF7 for ; Tue, 19 Sep 2017 22:54:59 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 469E51609DD; Tue, 19 Sep 2017 20:54:59 +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 8AEC21609BF for ; Tue, 19 Sep 2017 22:54:58 +0200 (CEST) Received: (qmail 84712 invoked by uid 500); 19 Sep 2017 20:54:57 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@flink.apache.org Received: (qmail 84702 invoked by uid 99); 19 Sep 2017 20:54:57 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Sep 2017 20:54:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id A7684D08DB for ; Tue, 19 Sep 2017 20:54:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.38 X-Spam-Level: ** X-Spam-Status: No, score=2.38 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id D9xVzthby3om for ; Tue, 19 Sep 2017 20:54:55 +0000 (UTC) Received: from mail-it0-f51.google.com (mail-it0-f51.google.com [209.85.214.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 14A5C60DB2 for ; Tue, 19 Sep 2017 20:54:54 +0000 (UTC) Received: by mail-it0-f51.google.com with SMTP id e134so967199ite.3 for ; Tue, 19 Sep 2017 13:54:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=aiEyXWx16wKpiLISnnmccpuSSY9yT/CAeuaiSGu54HM=; b=WTruTbq5WISqLHozXLn3tI4qDjQMXeOJpUq0mqSFbcrj2nohlYZ5wa1mYuVJfqjwIY YXV++w633Lg82Z89v1czb3fnb1OBtOEoLREQVKG5/zbx2ICvEp1nD6r7CMsTTSoXwun4 cKcWg3xw+hW4ShxaVEfeWQVcHkOHZ/fsvX42SoSUZgtWkMetf5pv2r9cf6zCSHnetT8x ZEOx+e+56YszLw/eDzZ8Enli5R2TlIuNcv9GWOaIB5zsEiopKXXOYWBPm4r2Uz/UkO8g QJgAWuZscREa8K2WTAeZIK9yucdYQl4Nfom+0mLCYRL9bAnimbxoFrl/F/83FxDH7XGH AIWg== 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:cc; bh=aiEyXWx16wKpiLISnnmccpuSSY9yT/CAeuaiSGu54HM=; b=gZzs5iHGdV3Y4c6zubt2WfCVb0hyNh2lOfeXJ1vrJOeY2Aim9lyTbvWoS3z4yBopdw Rb2nSU9FM1IKQ6NR0eoYdONqHh9eYdMQvZpFB/CTti8Pqi1fas9HLIVptoOZIGjenuL2 RWwXzJ6UrwqlEyTsqGFEn2jiSLWJdNsqRXg/D5Y7kqRN7vqm24enC8FvJQGrs4IGZIjr qhRecsaNqKFLjCAYtOqsJviyqDagq9LMua9qxEmg7bFFQ5Sc4eRbDXCo50EYXNIhYARv mQKqYOeJgss7Yb6FgQmGsflMCHngxyJtsj13yVsXsvplZ3jne1HwQzlbNy2hfp52ZEYq Ae1Q== X-Gm-Message-State: AHPjjUgGJPAhokzwRFsBG83O3Yl+BgF7IEfv4ql9bKBAV4elZDaRTO0d p41R4DFYonU7fMyvtPJmz1v64nucA3Ugq5AQitA= X-Google-Smtp-Source: AOwi7QAwhzNQlpjr9W7hfMRlCLmPt79Q/WU4YO+3/tMKrnnP5qY9gJ3t4h407O+O0HN/vKXsIViUmYC1jALm+5QamLo= X-Received: by 10.36.11.8 with SMTP id 8mr3426814itd.94.1505854488498; Tue, 19 Sep 2017 13:54:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.172.13 with HTTP; Tue, 19 Sep 2017 13:54:17 -0700 (PDT) In-Reply-To: References: From: Fabian Hueske Date: Tue, 19 Sep 2017 22:54:17 +0200 Message-ID: Subject: Re: Rest API cancel-with-savepoint: 404s when passing path as target-directory To: Emily McMahon Cc: user , Ufuk Celebi Content-Type: multipart/alternative; boundary="001a11462a62ded95a055991116b" archived-at: Tue, 19 Sep 2017 20:54:59 -0000 --001a11462a62ded95a055991116b Content-Type: text/plain; charset="UTF-8" Hi Emily, thanks for reaching out. I'm not familiar with the details of the Rest API but Ufuk (in CC) might be able to help you. Best, Fabian 2017-09-19 10:23 GMT+02:00 Emily McMahon : > I've tried every combination I can think of to pass an s3 path as the > target directory (url encode, include trailing slash, etc) > > I can successfully pass a local path as the target directory (ie > /jobs/$jobID/cancel-with-savepoint/target-directory/tmp) so I don't think > there's a problem with the jobId or rest of the url. I also verified I can > create the savepoint on s3 from the command line so it's not a permission > issue. > > Here's the same question on stack overflow > (with > the exception that they are getting a 502 whereas I'm getting a 404) > > using Flink 1.3.1 > > Anyone have a working example? > > Thanks, > Emily > --001a11462a62ded95a055991116b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Emily,

thanks for reaching out. =
I'm not familiar with the details of the Rest API but Uf= uk (in CC) might be able to help you.

Best, Fabian

2017-09-19 10:23 GM= T+02:00 Emily McMahon <emilymc@remitly.com>:
I've tried every combination= I can think of to pass an s3 path as the target directory (url encode, inc= lude trailing slash, etc)

I can successfully pass = a local path as the target directory (ie /jobs/$jobID/cancel-with-save= point/target-directory/tmp) so I don't think there's a problem= with the jobId or rest of the url. I also verified I can create the savepo= int on s3 from the command line so it's not a permission issue.

Here's the same question on stack overflow= =C2=A0(with the exception that they are getting a 502 whereas I'm getti= ng a 404)

using Flink 1.3.1

Anyone have a working example?

Thanks,
Emily

--001a11462a62ded95a055991116b--