Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-2843

Flux: properties file not found when loading resources from classpath

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    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:

      storm jar myTopology-0.1.0-SNAPSHOT.jar org.apache.storm.flux.Flux --remote --resource --filter dev.properties my_config.yaml

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            vesense Xin Wang
            vesense Xin Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m

                Slack

                  Issue deployment