[
https://issues.apache.org/jira/browse/HDFS-15111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028003#comment-17028003
]
Xieming Li commented on HDFS-15111:
-----------------------------------
Hi, [~shv]
I have started working on this issue:
Before modifying any code, I would like to make the issue clear.
Currenly, transtioning from Standby to Observer produces the following logs,
and it seems correct.
{code:java}
2020-02-01 16:38:55,947 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Stopping services started
for standby state
2020-02-01 16:38:55,951 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Starting services required
for observer state
{code}
On the other hand, transitioning from Observer to Standby seems a little
problematic: (Standby --> Standby). Is this the problem this issue tryting to
solve?
{code:java}
2020-02-01 16:39:16,100 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Stopping services started
for standby state
2020-02-01 16:39:16,102 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Starting services required
for standby state{code}
> start / stopStandbyServices() should log which service it is transitioning
> to/from.
> -----------------------------------------------------------------------------------
>
> Key: HDFS-15111
> URL: https://issues.apache.org/jira/browse/HDFS-15111
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs, logging
> Affects Versions: 2.10.0
> Reporter: Konstantin Shvachko
> Assignee: Xieming Li
> Priority: Major
> Labels: newbie++
>
> Trying to transition Observer to Standby state. Both
> {{stopStandbyServices()}} and {{startStandbyServices()}} log that they are
> stopping/starting Standby services.
> # {{startStandbyServices()}} should log which state it is transitioning TO.
> # {{stopStandbyServices()}} should log which state it is transitioning FROM.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]