You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Chuck Burgess (JIRA)" <ji...@apache.org> on 2015/11/02 22:20:27 UTC
[jira] [Updated] (STORM-1127) Allow a Boolean value in a
constructorArgs list
[ https://issues.apache.org/jira/browse/STORM-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chuck Burgess updated STORM-1127:
---------------------------------
Assignee: Chuck Burgess
Flags: Patch
Description:
Allow the constructorArgs implementation to handle receiving a boolean argument in the args list.
{noformat}
constructorArgs
- true
{noformat}
was:
Can the constructorArgs implementation handle receiving a boolean argument in the args list? If so, I cannot figure out how to write that in the YAML.
Both
{noformat}
constructorArgs
- true
{noformat}
and
{noformat}
constructorArgs
- "true"
{noformat}
fail the same way:
{noformat}
Exception in thread "main" java.lang.IllegalArgumentException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.storm.flux.FluxBuilder.buildObject(FluxBuilder.java:291)
at org.apache.storm.flux.FluxBuilder.buildComponents(FluxBuilder.java:339)
at org.apache.storm.flux.FluxBuilder.buildTopology(FluxBuilder.java:75)
at org.apache.storm.flux.Flux.runCli(Flux.java:153)
at org.apache.storm.flux.Flux.main(Flux.java:98)
{noformat}
Issue Type: New Feature (was: Question)
Summary: Allow a Boolean value in a constructorArgs list (was: How to Specify a Boolean value in a constructorArgs list)
> Allow a Boolean value in a constructorArgs list
> -----------------------------------------------
>
> Key: STORM-1127
> URL: https://issues.apache.org/jira/browse/STORM-1127
> Project: Apache Storm
> Issue Type: New Feature
> Components: Flux
> Affects Versions: 0.10.0
> Reporter: Chuck Burgess
> Assignee: Chuck Burgess
> Priority: Minor
>
> Allow the constructorArgs implementation to handle receiving a boolean argument in the args list.
> {noformat}
> constructorArgs
> - true
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)