incubator-s4-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Morel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (S4-127) S4 status error with multiple streams
Date Fri, 08 Mar 2013 19:54:14 GMT

    [ https://issues.apache.org/jira/browse/S4-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597475#comment-13597475
] 

Matthieu Morel commented on S4-127:
-----------------------------------

Due to String formatting in Status.inMiddle method. Reproducible with X=0 in String.format("%Xs%s",
s1, s2);




                
> S4 status error with multiple streams
> -------------------------------------
>
>                 Key: S4-127
>                 URL: https://issues.apache.org/jira/browse/S4-127
>             Project: Apache S4
>          Issue Type: Bug
>            Reporter: Matthieu Morel
>             Fix For: 0.6
>
>
> (from s4-dev mailing list, reported by Dingyu Yang):
> I find a problem that I have a app ,which includes multiple streams. They
> can merge into a stream, and a stream goes into multiple PEs.
> Then the s4 status command can not display.
> Cannot get the status of S4.
> 11:09:56.308 [main] ERROR org.apache.s4.tools.Status - Cannot get the
> status of S4
> java.util.FormatFlagsConversionMismatchException: Conversion = s, Flags = 0
> at java.util.Formatter$FormatSpecifier.failMismatch(Formatter.java:3995)
> ~[na:1.6.0_22]
> at java.util.Formatter$FormatSpecifier.checkBadFlags(Formatter.java:2905)
> ~[na:1.6.0_22]
> at java.util.Formatter$FormatSpecifier.checkGeneral(Formatter.java:2863)
> ~[na:1.6.0_22]
> at java.util.Formatter$FormatSpecifier.<init>(Formatter.java:2639)
> ~[na:1.6.0_22]
> at java.util.Formatter.parse(Formatter.java:2480) ~[na:1.6.0_22]
> at java.util.Formatter.format(Formatter.java:2414) ~[na:1.6.0_22]
> at java.util.Formatter.format(Formatter.java:2367) ~[na:1.6.0_22]
> at java.lang.String.format(String.java:2769) ~[na:1.6.0_22]
> at org.apache.s4.tools.Status.inMiddle(Status.java:209)
> ~[s4-tools-0.5.0-incubating.jar:0.5.0-incubating]
> at org.apache.s4.tools.Status.showStreamsStatus(Status.java:199)
> ~[s4-tools-0.5.0-incubating.jar:0.5.0-incubating]
> at org.apache.s4.tools.Status.main(Status.java:119)
> ~[s4-tools-0.5.0-incubating.jar:0.5.0-incubating]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[na:1.6.0_22]
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> ~[na:1.6.0_22]
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> ~[na:1.6.0_22]
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_22]
> at org.apache.s4.tools.Tools$Task.dispatch(Tools.java:54)
> [s4-tools-0.5.0-incubating.jar:0.5.0-incubating]
> at org.apache.s4.tools.Tools.main(Tools.java:94)
> [s4-tools-0.5.0-incubating.jar:0.5.0-incubating]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message