Return-Path: X-Original-To: apmail-storm-user-archive@minotaur.apache.org Delivered-To: apmail-storm-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3D50318696 for ; Wed, 10 Feb 2016 20:30:45 +0000 (UTC) Received: (qmail 82008 invoked by uid 500); 10 Feb 2016 20:30:44 -0000 Delivered-To: apmail-storm-user-archive@storm.apache.org Received: (qmail 81964 invoked by uid 500); 10 Feb 2016 20:30:44 -0000 Mailing-List: contact user-help@storm.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@storm.apache.org Delivered-To: mailing list user@storm.apache.org Received: (qmail 81954 invoked by uid 99); 10 Feb 2016 20:30:44 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Feb 2016 20:30:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id DFBF118048C for ; Wed, 10 Feb 2016 20:30:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -13.802 X-Spam-Level: X-Spam-Status: No, score=-13.802 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, USER_IN_DEF_WHITELIST=-15] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=yahoo-inc.com header.b=ki3F1h+N; dkim=pass (1024-bit key) header.d=yahoo-inc.com header.b=gBRw6CXo Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6h923yPu5sAw for ; Wed, 10 Feb 2016 20:30:42 +0000 (UTC) Received: from mrout4.yahoo.com (mrout4.yahoo.com [216.145.54.109]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 2067220271 for ; Wed, 10 Feb 2016 20:30:42 +0000 (UTC) Received: from omp1023.mail.ne1.yahoo.com (omp1023.mail.ne1.yahoo.com [98.138.89.167]) by mrout4.yahoo.com (8.14.9/8.14.9/y.out) with ESMTP id u1AKTlhw095854 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 10 Feb 2016 12:29:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1455136187; bh=WfvmSHiNb+y7l1Pf4b/tAHQWxnBzAg9DQMrZDBJNSI0=; h=Date:From:Reply-To:To:In-Reply-To:References:Subject; b=ki3F1h+NNosZOBkSz52s742q8Cgtx0G/MlzJ7lAOtrooeUiD0uTv7sNmt+8jOLI15 SDMaZm5hXhof8MurhSjXdaXTZt6eOAXpDFEA7UU2OIgQqGsklkCfdPlzfyBk/U5tfa y1NA5PYRymAduyoVCDUzx2kBvt5qllGuKcYR8xmw= Received: (qmail 39304 invoked by uid 1000); 10 Feb 2016 20:29:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo-inc.com; s=ginc1024; t=1455136186; bh=MnWBG62dLZL5TouxuHM4YsDPrWhnJpBLp1LEjmPqeCw=; h=Date:From:Reply-To:To:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; b=gBRw6CXoH10kEaQLkAFK0w19gNnnSdYRQNPQD6qNJW0qzmFz9f+duA1CyxPHxuoNTazgGwwTQouY28OF9t4rm9AypJsQ7ntwvDbvKylbWOvEGt4Vl2WV6kcamjtE6krjRw7vRAw9tjNb4ORxQbfTXawoKAH/xTS5nT9XBlXaQ1g= X-YMail-OSG: lY4ntNUVM1l4DbBX_dbBtnQUjY9USSvqszrGbeuh38p._n.yx3Eb7_0m93CNGsu lV_HEXc4L.13vJjb3KAjTETVDHRgpuEuesESb4JB._cT7scKJYpQZ4Xv5fFgvFrcf2MrY83jdVPg YHLqUX9GqcE_MRdXCjlZO4jDXap_sYuHX8THJHRTX7ELqY7uIxyLJpvKcfVZMDT_.vOZNk2zkaS. ybkI7iwAOdftNJj2EQptP1iIlncknXVgE7QW4aw-- Received: by 98.138.101.169; Wed, 10 Feb 2016 20:29:46 +0000 Date: Wed, 10 Feb 2016 20:29:45 +0000 (UTC) From: Paul Poulosky Reply-To: Paul Poulosky To: "user@storm.apache.org" Message-ID: <1575340048.1863213.1455136185773.JavaMail.yahoo@mail.yahoo.com> In-Reply-To: <7E3BCC1D-CD82-4070-847F-8CC31D93C015@gmail.com> References: <7E3BCC1D-CD82-4070-847F-8CC31D93C015@gmail.com> Subject: Re: Storm DRPC over HTTP MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1863212_1979905587.1455136185768" ------=_Part_1863212_1979905587.1455136185768 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable It is implemented. You can test it out in the example topology BasicDRPCTopology. curl http://hostname.for.dprc:/drpc/myfunctionname/hello Should return "hello!" FYI,Paul =20 On Wednesday, February 10, 2016 2:21 PM, Victor Kovrizhkin wrote: =20 Good day everyone!=C2=A0 Right now I=E2=80=99m looking into Storm DRPC over HTTP usage. =C2=A0As I c= an see in defaults.yml (https://github.com/apache/storm/blob/master/conf/de= faults.yaml) there is drpc.http.port setting. It is also mentioned here=C2= =A0https://github.com/apache/storm/blob/master/SECURITY.md=C2=A0but without= any details.=C2=A0 I=E2=80=99ve checked storm codebase and found that there is a constant in C= onfig class (https://github.com/apache/storm/blob/master/storm-core/src/jvm= /org/apache/storm/Config.java#L968) but as I can see it is not used anywher= e. Is this feature implemented in Storm?If it is, could you give me a simple e= xample how to make such request? =C2=A0 Thank you very much,=C2=A0Viktor Kovryzhkin ------=_Part_1863212_1979905587.1455136185768 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I= t is implemented.

You can test it out in the examp= le topology BasicDRPCTopology.

curl /drpc/myfunctionname/hello">http://= hostname.for.dprc:<port>/drpc/myfunctionname/hello

Should return "hello!"

FYI,
Paul
=


On Wednes= day, February 10, 2016 2:21 PM, Victor Kovrizhkin <vik.kovrizhkin@gmail.= com> wrote:


Good day everyone! 

Right now I=E2=80=99m looking into Storm DRPC over = HTTP usage.  
As I can see in defaults.yml (https://github.com/apache/storm/blob/master/conf/default= s.yaml) there is drpc.http.port setting. It is also mentioned here = ;https://github.com/apache/storm/blob/master/SE= CURITY.md but without any details. 

= I=E2=80=99ve checked storm codebase and found that there is a constant in C= onfig class (https://github.com/apache/storm/blob/master/storm-core/src/jvm/org/a= pache/storm/Config.java#L968) but as I can see it is not used anywhere.=

Is this feature implemented in Storm?
I= f it is, could you give me a simple example how to make such request?  = ;

Thank you very much, 
Viktor Kovr= yzhkin


<= /body> ------=_Part_1863212_1979905587.1455136185768--