If you didn't get a response it could be that you are not subscribed to the 
mailing list.  By default reply-all will only go back to the mailing list, and 
not the original sender.
Extracting from a jar is a feature were the supervisor will extract a single 
predefined directory from the jar for your topology to use.  That directory is 
the `resources` directory.
The multilang jars provide an example of how you can do this
https://github.com/apache/storm/tree/master/storm-multilang/ruby

After building the jar you will get a directory structure like
$ jar -tf storm-multilang/ruby/target/multilang-ruby-2.0.0-SNAPSHOT.jar
META-INF/
META-INF/MANIFEST.MF
*resources/*
META-INF/DEPENDENCIES
META-INF/LICENSE
META-INF/NOTICE
*resources/storm.rb*
META-INF/maven/
META-INF/maven/org.apache.storm/
META-INF/maven/org.apache.storm/multilang-ruby/
META-INF/maven/org.apache.storm/multilang-ruby/pom.xml
META-INF/maven/org.apache.storm/multilang-ruby/pom.properties
This directory is not placed in a location that is simple for your worker to 
get to.  You have to call topologyContext.getCodeDir(), to know where that 
directory is.
 - Bobby 

    On Monday, January 25, 2016 10:47 AM, researcher cs 
<prog.researc...@gmail.com> wrote:
 

 Sorry is it an issue . I asked in storm group without any answer and
searching also didn't find any solution !!

On Monday, January 25, 2016, Robert Joseph Evans (JIRA) <j...@apache.org>
wrote:

>
>      [
> https://issues.apache.org/jira/browse/STORM-1500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> ]
>
> Robert Joseph Evans closed STORM-1500.
> --------------------------------------
>    Resolution: Invalid
>
> [~beginner],
>
> Please stop opening JIRA to ask for help.  I am happy to answer your
> question if you send an email to dev@storm.apache.org <javascript:;> or
> u...@storm.apache.org <javascript:;>.
>
> > Couldn't extract resources in the supervisor
> > --------------------------------------------
> >
> >                Key: STORM-1500
> >                URL: https://issues.apache.org/jira/browse/STORM-1500
> >            Project: Apache Storm
> >          Issue Type: Bug
> >            Reporter: beginner
> >
> > i need this files to be extracted
> fromvar/storm/nimbus/stormdist/topology_name/stormjar.jar  to
> /var/storm/supervisor/tmp but i got in supervisor log file
> > [INFO] Could not extract resources from
> /var/storm/supervisor/tmp/f5989f74-aae5-43c8-8b41-056074cb7e55/stormjar.jar
> > i tried to exctract it manually but didn't fix ! how can i fix it ?
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.4#6332)
>


  

Reply via email to