You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/01/08 16:10:11 UTC

[GitHub] [hadoop-ozone] elek commented on a change in pull request #414: HDDS-2827. Add initial UI of Datanodes in Recon

elek commented on a change in pull request #414: HDDS-2827. Add initial UI of Datanodes in Recon
URL: https://github.com/apache/hadoop-ozone/pull/414#discussion_r364221600
 
 

 ##########
 File path: hadoop-ozone/recon/src/main/resources/webapps/recon/ozone-recon-web/src/views/Datanodes/Datanodes.tsx
 ##########
 @@ -17,16 +17,171 @@
  */
 
 import React from 'react';
+import axios from 'axios';
+import {Table, Icon, Progress} from 'antd';
+import prettyBytes from 'pretty-bytes';
+import './Datanodes.less';
+import {PaginationConfig} from "antd/lib/pagination";
+import moment from 'moment';
+import {getCapacityPercent} from "../../utils/common";
 
-export const Datanodes: React.FC = () => {
-  return (
-      <div>
-        <div className="page-header">
-          Datanodes
-        </div>
-        <div className="content-div">
-          Datanodes content
-        </div>
-      </div>
-  );
+export type DatanodeStatus = "HEALTHY" | "STALE" | "DEAD" | "DECOMMISSIONING" | "DECOMMISSIONED";
 
 Review comment:
   FYI: it will be changed after merging HDDS-1880-Decom to two different state flag: HELTHY / STALE / DEAD and IN_SERVICE / DECOMMISSIONING/ED] / MAINTENANCE/IN_MAINTENANCE). Not actionable right now only FYI if you are thinking about long-term design.

----------------------------------------------------------------
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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org