From 18477296576e5e760bbc91f931ae303e6fb6b6bf Mon Sep 17 00:00:00 2001 From: Gaurav Warale Date: Wed, 20 Aug 2025 15:19:10 +0530 Subject: [PATCH 1/2] fix(heimdall): display job properties in UI --- web/src/modules/Jobs/Helper.tsx | 6 ++++-- web/src/modules/Jobs/JobDetails/JobDetailsHeader.tsx | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/web/src/modules/Jobs/Helper.tsx b/web/src/modules/Jobs/Helper.tsx index 50ce30d..0b55bce 100644 --- a/web/src/modules/Jobs/Helper.tsx +++ b/web/src/modules/Jobs/Helper.tsx @@ -38,12 +38,14 @@ export type JobType = { cluster_name: string error?: string context?: { + parameters: { properties: { 'spark.driver.cores': string 'spark.driver.memory': string 'spark.executor.cores': string - 'spark.executor.instances': string - 'spark.executor.memory': string + 'spark.executor.instances': string + 'spark.executor.memory': string + } } query: string return_result?: boolean diff --git a/web/src/modules/Jobs/JobDetails/JobDetailsHeader.tsx b/web/src/modules/Jobs/JobDetails/JobDetailsHeader.tsx index d7ceb70..5fcef1e 100644 --- a/web/src/modules/Jobs/JobDetails/JobDetailsHeader.tsx +++ b/web/src/modules/Jobs/JobDetails/JobDetailsHeader.tsx @@ -23,11 +23,11 @@ const JobDetailsHeader = ({ {jobData?.status === 'FAILED' ? ( ) : null} - {jobData?.context?.properties ? ( + {jobData?.context?.parameters?.properties ? (
    - {Object.entries(jobData?.context?.properties || {}).map( + {Object.entries(jobData?.context?.parameters?.properties || {}).map( ([key, value]) => (
  • {key}:{value} From 1d30ba5f9f133857cd39c6f253fd372aa63ac10a Mon Sep 17 00:00:00 2001 From: Gaurav Warale Date: Wed, 20 Aug 2025 18:10:07 +0530 Subject: [PATCH 2/2] removed indentation --- web/src/modules/Jobs/Helper.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/modules/Jobs/Helper.tsx b/web/src/modules/Jobs/Helper.tsx index 0b55bce..2aa262a 100644 --- a/web/src/modules/Jobs/Helper.tsx +++ b/web/src/modules/Jobs/Helper.tsx @@ -43,8 +43,8 @@ export type JobType = { 'spark.driver.cores': string 'spark.driver.memory': string 'spark.executor.cores': string - 'spark.executor.instances': string - 'spark.executor.memory': string + 'spark.executor.instances': string + 'spark.executor.memory': string } } query: string