You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Derek Dagit (JIRA)" <ji...@apache.org> on 2018/10/03 16:13:00 UTC

[jira] [Commented] (STORM-1318) Investigate if backtype.storm.command.shell-submission shuld be dropped

    [ https://issues.apache.org/jira/browse/STORM-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16637125#comment-16637125 ] 

Derek Dagit commented on STORM-1318:
------------------------------------

I stumbled across this issue while looking at shell submission.

I tried to [fix & port|https://github.com/apache/storm/compare/ad63cc20ff0df278eaf55b3df28de62d6584790a...d2r:port-shellsubmission-to-java] the code to Java instead. 

With the following script:
{noformat}
∴ cat /tmp/t.sh
#!/usr/bin/env bash

echo ------------------------------------------------------------------------
echo I was called with the following arguments:
echo "$@"
echo ------------------------------------------------------------------------
{noformat}

I ran {{./bin/storm shell ~/storm/examples/storm-starter/target/storm-starter-2.0.1-SNAPSHOT.jar /tmp/t.sh 1st 2nd 3rd}} and got the following:

{noformat}
...
------------------------------------------------------------------------
I was called with the following arguments:
1st 2nd 3rd 172.130.98.45 6627 /REDACTED/PATH/TO/storm/storm-dist/binary/final-package/target/apache-storm-2.0.1-SNAPSHOT/storm-local/nimbus/inbox/stormjar-149d6073-5ed0-4d99-8248-6d056221b94e.jar
------------------------------------------------------------------------
{noformat}

> Investigate if backtype.storm.command.shell-submission shuld be dropped
> -----------------------------------------------------------------------
>
>                 Key: STORM-1318
>                 URL: https://issues.apache.org/jira/browse/STORM-1318
>             Project: Apache Storm
>          Issue Type: New Feature
>            Reporter: Robert Joseph Evans
>            Assignee: John Fang
>            Priority: Major
>              Labels: java-migration, jstorm-merger
>
> As part of the merger with Jstorm we need to decide if backtype.storm.command.shell-submission should be dropped, or if we should migrate it over to a storm-clojure package.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)