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 16C1E200CA8 for ; Thu, 15 Jun 2017 13:54:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 153F3160BDF; Thu, 15 Jun 2017 11:54:43 +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 53B25160BC4 for ; Thu, 15 Jun 2017 13:54:42 +0200 (CEST) Received: (qmail 24966 invoked by uid 500); 15 Jun 2017 11:54:41 -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 24956 invoked by uid 99); 15 Jun 2017 11:54:41 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Jun 2017 11:54:41 +0000 Received: from aljoschas-mbp.fritz.box (dslb-084-059-068-070.084.059.pools.vodafone-ip.de [84.59.68.70]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 79E531A00A8; Thu, 15 Jun 2017 11:54:38 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: User self resource file. From: Aljoscha Krettek In-Reply-To: <1497422831847-13720.post@n4.nabble.com> Date: Thu, 15 Jun 2017 13:54:36 +0200 Cc: user@flink.apache.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <1497358793844-13693.post@n4.nabble.com> <1497359470339-13694.post@n4.nabble.com> <1497422831847-13720.post@n4.nabble.com> To: yunfan123 X-Mailer: Apple Mail (2.3273) archived-at: Thu, 15 Jun 2017 11:54:43 -0000 I=E2=80=99m sensing this is related to your other question about adding = a method to the RuntimeContext. Would it be possible to extract the = resources from the Jar when submitting the program and placing them in = the distributed cache? Files can be registered using = StreamExecutionEnvironment.registerCachedFile(String filePath, String = name) and retrieved using RuntimeContext.getDistributedCache(). Best, Aljoscha > On 14. Jun 2017, at 08:47, yunfan123 = wrote: >=20 > It sames not supported by flink?=20 > I think there should a function like getBlobStore in the = RuntimeContext > interface. >=20 >=20 >=20 > -- > View this message in context: = http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/User-s= elf-resource-file-tp13693p13720.html > Sent from the Apache Flink User Mailing List archive. mailing list = archive at Nabble.com.