You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/03/17 08:50:48 UTC
[GitHub] [pulsar] massakam opened a new pull request #6546: [broker] Fix
maxPendingPublishedRequestsPerConnection value in conf files
massakam opened a new pull request #6546: [broker] Fix maxPendingPublishedRequestsPerConnection value in conf files
URL: https://github.com/apache/pulsar/pull/6546
The value of `maxPendingPublishedRequestsPerConnection` in conf files has a semicolon at the end. This causes the standalone server to fail to start.
```
Exception in thread "main" java.lang.IllegalArgumentException: failed to initialize maxPendingPublishdRequestsPerConnection field while setting value 1000;
at org.apache.pulsar.common.util.FieldParser.lambda$update$0(FieldParser.java:146)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:647)
at org.apache.pulsar.common.util.FieldParser.update(FieldParser.java:135)
at org.apache.pulsar.common.configuration.PulsarConfigurationLoader.create(PulsarConfigurationLoader.java:97)
at org.apache.pulsar.common.configuration.PulsarConfigurationLoader.create(PulsarConfigurationLoader.java:74)
at org.apache.pulsar.PulsarStandaloneStarter.<init>(PulsarStandaloneStarter.java:60)
at org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:117)
Caused by: java.lang.RuntimeException: Cannot convert from java.lang.String to java.lang.Integer. Conversion failed with null
at org.apache.pulsar.common.util.FieldParser.convert(FieldParser.java:119)
at org.apache.pulsar.common.util.FieldParser.value(FieldParser.java:190)
at org.apache.pulsar.common.util.FieldParser.lambda$update$0(FieldParser.java:141)
... 7 more
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.pulsar.common.util.FieldParser.convert(FieldParser.java:115)
... 9 more
Caused by: java.lang.NumberFormatException: For input string: "1000;"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.valueOf(Integer.java:766)
at org.apache.pulsar.common.util.FieldParser.stringToInteger(FieldParser.java:262)
... 14 more
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] codelipenghui merged pull request #6546: [broker] Fix
maxPendingPublishedRequestsPerConnection value in conf files
Posted by GitBox <gi...@apache.org>.
codelipenghui merged pull request #6546: [broker] Fix maxPendingPublishedRequestsPerConnection value in conf files
URL: https://github.com/apache/pulsar/pull/6546
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] massakam commented on issue #6546: [broker] Fix
maxPendingPublishedRequestsPerConnection value in conf files
Posted by GitBox <gi...@apache.org>.
massakam commented on issue #6546: [broker] Fix maxPendingPublishedRequestsPerConnection value in conf files
URL: https://github.com/apache/pulsar/pull/6546#issuecomment-600397154
Since this parameter is added from 2.6.0, I don't think it is necessary to backport to 2.5.1.
https://github.com/apache/pulsar/pull/5742
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] zymap commented on issue #6546: [broker] Fix
maxPendingPublishedRequestsPerConnection value in conf files
Posted by GitBox <gi...@apache.org>.
zymap commented on issue #6546: [broker] Fix maxPendingPublishedRequestsPerConnection value in conf files
URL: https://github.com/apache/pulsar/pull/6546#issuecomment-600488804
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] massakam commented on issue #6546: [broker] Fix
maxPendingPublishedRequestsPerConnection value in conf files
Posted by GitBox <gi...@apache.org>.
massakam commented on issue #6546: [broker] Fix maxPendingPublishedRequestsPerConnection value in conf files
URL: https://github.com/apache/pulsar/pull/6546#issuecomment-599973457
/pulsarbot run-failure-checks
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] jiazhai edited a comment on issue #6546: [broker] Fix
maxPendingPublishedRequestsPerConnection value in conf files
Posted by GitBox <gi...@apache.org>.
jiazhai edited a comment on issue #6546: [broker] Fix maxPendingPublishedRequestsPerConnection value in conf files
URL: https://github.com/apache/pulsar/pull/6546#issuecomment-600625933
@massakam Would you please help update with latest master? @tuteng has fixed the ci issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] jiazhai commented on issue #6546: [broker] Fix
maxPendingPublishedRequestsPerConnection value in conf files
Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #6546: [broker] Fix maxPendingPublishedRequestsPerConnection value in conf files
URL: https://github.com/apache/pulsar/pull/6546#issuecomment-600625933
@yjshen Would you please update with latest master? @tuteng has fixed the ci issue.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services