You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2016/01/25 16:04:39 UTC
[jira] [Closed] (STORM-1500) Couldn't extract resources in the
supervisor
[ 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 or user@storm.apache.org.
> 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)
Re: [jira] [Created] (STORM-1500) Couldn't extract resources in the
supervisor
Posted by Bobby Evans <ev...@yahoo-inc.com.INVALID>.
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 <pr...@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) <ji...@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
> user@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)
>
Re: [jira] [Created] (STORM-1500) Couldn't extract resources in the supervisor
Posted by researcher cs <pr...@gmail.com>.
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) <ji...@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
> user@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)
>