[ 
https://issues.apache.org/jira/browse/HDFS-13043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16344691#comment-16344691
 ] 

Yiqun Lin edited comment on HDFS-13043 at 1/30/18 8:46 AM:
-----------------------------------------------------------

Hi [~elgoiri], agree on your comments. There seems still some places we need to 
update:

Please attach the clean patch, there was one redundant file added in patch.

 
 *FederationUtil.java.java*
 line110: Please update the comment for method {{FederationUtil#getVersion.}} 
Current comment is incorrect.

*federationhealth.html*
 line263:. Would you update the name to a more readable name like 
{{Membership(last update)}}?
 line264:. Would you update the name to a more readable name like {{Mount 
table(last update)}}?
 line276: This should be simplified as \{lastMountTableUpdate}.

*TestMetricsBase.java*
 line142 and 152: Can you use {{Time.now}} to set the field 
{{membershipVersion}} or {{mountTableVersion}} like following?
{code:java}
router1.setStateStoreVersion(StateStoreVersion.newInstance(Time.now() -2000, 
Time.now() -1000));
{code}
The json string got in test will look more real and accurate.

In addition, can you attach the new screenshot again base on the latest patch?


was (Author: linyiqun):
Hi [~elgoiri], agree on your comments. There seems still some places we need to 
update:

Please attach the clean patch, there was one redundant file added in patch.

*federationhealth.html*
 line263:. Would you update the name to a more readable name like 
{{Membership(last update)}}?
 line264:. Would you update the name to a more readable name like {{Mount 
table(last update)}}?
 line276: This should be simplified as \{lastMountTableUpdate}.

*TestMetricsBase.java*
 line142 and 152: Can you use {{Time.now}} to set the field 
{{membershipVersion}} or {{mountTableVersion}} like following?
{code:java}
router1.setStateStoreVersion(StateStoreVersion.newInstance(Time.now() -2000, 
Time.now() -1000));
{code}
The json string got in test will look more real and accurate.

In addition, can you attach the new screenshot again base on the latest patch?

> RBF: Expose the state of the Routers in the federation
> ------------------------------------------------------
>
>                 Key: HDFS-13043
>                 URL: https://issues.apache.org/jira/browse/HDFS-13043
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>            Priority: Major
>         Attachments: HDFS-13043.000.patch, HDFS-13043.001.patch, 
> HDFS-13043.002.patch, HDFS-13043.003.patch, HDFS-13043.004.patch, 
> HDFS-13043.005.patch, router-info.png
>
>
> The Router should expose the state of the other Routers in the federation 
> through a user UI.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to