[
https://issues.apache.org/jira/browse/STORM-2843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xin Wang updated STORM-2843:
----------------------------
Description:
Scenario: The CI auto-build a fat jar including filter properties file and
topology yaml file. Filter properties file not found when load resources from
classpath.
example:
{code}storm jar myTopology-0.1.0-SNAPSHOT.jar org.apache.storm.flux.Flux
--remote --resource --filter dev.properties my_config.yaml{code}
The dev.properties file cannot be found in classpath.
After this patch, the FluxParser will load filter properties file as same as
the way of topology yaml.
was:
Properties file not found when load resources from classpath.
example:
{code}storm jar myTopology-0.1.0-SNAPSHOT.jar org.apache.storm.flux.Flux
--remote --resource --filter dev.properties my_config.yaml{code}
The dev.properties file cannot be found in classpath.
After this patch,
> Flux: properties file not found when loading resources from classpath
> ---------------------------------------------------------------------
>
> Key: STORM-2843
> URL: https://issues.apache.org/jira/browse/STORM-2843
> Project: Apache Storm
> Issue Type: Bug
> Components: Flux
> Affects Versions: 2.0.0, 1.x
> Reporter: Xin Wang
> Assignee: Xin Wang
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Scenario: The CI auto-build a fat jar including filter properties file and
> topology yaml file. Filter properties file not found when load resources from
> classpath.
> example:
> {code}storm jar myTopology-0.1.0-SNAPSHOT.jar org.apache.storm.flux.Flux
> --remote --resource --filter dev.properties my_config.yaml{code}
> The dev.properties file cannot be found in classpath.
> After this patch, the FluxParser will load filter properties file as same as
> the way of topology yaml.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)