[
https://issues.apache.org/jira/browse/HDFS-12115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16082516#comment-16082516
]
Anu Engineer commented on HDFS-12115:
-------------------------------------
bq. For example, if a node is HEALTHY, can it be also RAFT_MEMBER?
Yes, if a node is healthy it can be a RAFT member, hence the status array in
the query parameter.
bq. TestQueryNode do we have to restart 2 dns at the end of the test?
I am not sure what the guarantees from JUnit are, but many unit testing
systems have no guarantee on the order of how the tests are executed. For
example, it will run test2, test1 or test1, test2. So each test attempts to
leave the test fixtures of the test in the state it found it in. May be it is
not required and I should probably look up the Junit testing framework's
execution guarantees. But this is why I am restarting the datanodes.
> Ozone: SCM: Add queryNode RPC Call
> ----------------------------------
>
> Key: HDFS-12115
> URL: https://issues.apache.org/jira/browse/HDFS-12115
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: ozone
> Affects Versions: HDFS-7240
> Reporter: Anu Engineer
> Assignee: Anu Engineer
> Fix For: HDFS-7240
>
> Attachments: HDFS-12115-HDFS-7240.001.patch
>
>
> Add queryNode RPC to Storage container location protocol. This allows
> applications like SCM CLI to get the list of nodes in various states, like
> Healthy, live or Dead.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]