You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "John Blum (Jira)" <ji...@apache.org> on 2019/09/12 22:46:00 UTC
[jira] [Created] (GEODE-7201) Useless and unhelpful Exception
inappropriately logged at ERROR
John Blum created GEODE-7201:
--------------------------------
Summary: Useless and unhelpful Exception inappropriately logged at ERROR
Key: GEODE-7201
URL: https://issues.apache.org/jira/browse/GEODE-7201
Project: Geode
Issue Type: Bug
Reporter: John Blum
In tests is valid that I might register interests on a client Region where the server-side Region is a PARTITION Region, yet I am not using either mcast-port or Locators since I only need a single server for my tests!
Therefore this Exception is not helpful in anyway and only adds confusion to the user...
{code}
at org.apache.geode.internal.cache.tier.sockets.command.RegisterInterest61.cmdExecute(RegisterInterest61.java:257)
at org.apache.geode.internal.cache.tier.sockets.BaseCommand.execute(BaseCommand.java:183)
at org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMessage(ServerConnection.java:851)
at org.apache.geode.internal.cache.tier.sockets.OriginalServerConnection.doOneMessage(OriginalServerConnection.java:75)
at org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1227)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.lambda$initializeServerConnectionThreadPool$3(AcceptorImpl.java:616)
at org.apache.geode.internal.logging.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:121)
... 1 common frames omitted
{code}
So, I "should" not...
> "_Should not register interest for a partitioned region when mcast-port is 0 and no locator is present_"
Why not?
And, why does this message need to be logged at ERROR? WARN would suffice, especially since "_should_" implies a "_recommendation_" and not a strict, hard rule or requirement, which would be appropriate states as "_Must not register interest..._".
--
This message was sent by Atlassian Jira
(v8.3.2#803003)