You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/09/17 19:26:00 UTC
[GitHub] [helix] narendly opened a new issue #1370: Have a better log message than exception stacktrace
narendly opened a new issue #1370:
URL: https://github.com/apache/helix/issues/1370
### Describe the bug
If routing data refresh interval is not set, something like this will be recorded
`java.lang.NumberFormatException: <LOG MESSAGE REDACTED DUE TO GDPR REQUIREMENTS>
at java.lang.Long.parseLong(Long.java:552)
at java.lang.Long.parseLong(Long.java:631)
at org.apache.helix.zookeeper.impl.client.FederatedZkClient.getRoutingDataUpdateInterval(FederatedZkClient.java:643)
at org.apache.helix.zookeeper.impl.client.FederatedZkClient.<init>(FederatedZkClient.java:107)
at org.apache.helix.manager.zk.GenericZkHelixApiBuilder.createZkClient(GenericZkHelixApiBuilder.java:166)
at org.apache.helix.tools.ClusterSetup$Builder.build(ClusterSetup.java:1631)
`
### To Reproduce
See the stacktrace.
### Expected behavior
Instead of logging the stacktrace, we could log a message.
### Additional context
N/A
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] EverYoung124 commented on issue #1370: Have a better log message than exception stacktrace for routing data interval value being not set
Posted by GitBox <gi...@apache.org>.
EverYoung124 commented on issue #1370:
URL: https://github.com/apache/helix/issues/1370#issuecomment-698434957
Why not detect environment is not set, then skip the parse?
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] narendly commented on issue #1370: Have a better log message than exception stacktrace for routing data interval value being not set
Posted by GitBox <gi...@apache.org>.
narendly commented on issue #1370:
URL: https://github.com/apache/helix/issues/1370#issuecomment-699574281
@EverYoung124 That's also a valid solution. We'll consider that option at implementation time. Thanks for the input!
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org
[GitHub] [helix] EverYoung124 commented on issue #1370: Have a better log message than exception stacktrace for routing data interval value being not set
Posted by GitBox <gi...@apache.org>.
EverYoung124 commented on issue #1370:
URL: https://github.com/apache/helix/issues/1370#issuecomment-698434957
Why not detect environment is not set, then skip the parse?
----------------------------------------------------------------
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
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org