diff --git a/ballista/ui/scheduler/src/App.tsx b/ballista/ui/scheduler/src/App.tsx index 374104ed0..4ff9cbc12 100644 --- a/ballista/ui/scheduler/src/App.tsx +++ b/ballista/ui/scheduler/src/App.tsx @@ -19,7 +19,7 @@ import React, { useState, useEffect } from "react"; import { Box, Grid, VStack } from "@chakra-ui/react"; import { Header } from "./components/Header"; import { Summary } from "./components/Summary"; -import { QueriesList, Query, QueryStatus } from "./components/QueriesList"; +import { QueriesList } from "./components/QueriesList"; import { Footer } from "./components/Footer"; import "./App.css"; diff --git a/ballista/ui/scheduler/src/components/QueriesList.tsx b/ballista/ui/scheduler/src/components/QueriesList.tsx index 8082f1b2a..240696421 100644 --- a/ballista/ui/scheduler/src/components/QueriesList.tsx +++ b/ballista/ui/scheduler/src/components/QueriesList.tsx @@ -26,9 +26,9 @@ import { Flex, Box, } from "@chakra-ui/react"; -import { Column, DateCell, DataTable, LinkCell } from "./DataTable"; +import { Column, DataTable, LinkCell } from "./DataTable"; import { FaStop } from "react-icons/fa"; -import { GrDocumentDownload, GrPowerReset } from "react-icons/gr"; +import { GrDocumentDownload } from "react-icons/gr"; import fileDownload from "js-file-download"; export enum QueryStatus { diff --git a/ballista/ui/scheduler/src/components/Summary.tsx b/ballista/ui/scheduler/src/components/Summary.tsx index 9fe1a2324..cb334bb39 100644 --- a/ballista/ui/scheduler/src/components/Summary.tsx +++ b/ballista/ui/scheduler/src/components/Summary.tsx @@ -46,7 +46,13 @@ export const Summary: React.FunctionComponent = ({ schedulerState, }) => { if (!schedulerState) { - return Scheduler isn't running; + return ( +
+ + Scheduler unavailable: Server may be down or unreachable + +
+ ); } return (