bobbai00 commented on code in PR #9556:
URL: https://github.com/apache/texera/pull/9556#discussion_r4658246763


##########
bin/single-node/docker-compose.yml:
##########
@@ -529,6 +529,26 @@ services:
       retries: 5
       start_period: 15s
 
+  # ResultService serves the results of executions, so they can be read 
without a computing unit

Review Comment:
   **Advisory:**
   
   Is the postgres catalog meant to keep working here once #8996 moves the 
result panel over? Under `STORAGE_ICEBERG_CATALOG_TYPE=postgres` (valid per 
[.env:71](https://github.com/apache/texera/blob/df24d20dc759cef9d3ebe3bd2245378b21ea9465/bin/single-node/.env#L71)),
 the computing unit keeps result tables as local files in its own container 
([IcebergCatalogInstance.scala:179-182](https://github.com/apache/texera/blob/df24d20dc759cef9d3ebe3bd2245378b21ea9465/common/workflow-core/src/main/scala/org/apache/texera/amber/core/storage/IcebergCatalogInstance.scala#L179-L182)).
 This service shares no storage with it, so 
[`loadTableMetadata`](https://github.com/apache/texera/blob/df24d20dc759cef9d3ebe3bd2245378b21ea9465/common/workflow-core/src/main/scala/org/apache/texera/amber/util/IcebergUtil.scala#L240-L251)
 swallows the missing metadata file and 
[ResultResource.scala:268-269](https://github.com/apache/texera/blob/df24d20dc759cef9d3ebe3bd2245378b21ea9465/result-service/src/main/scala/org/
 apache/texera/service/resource/ResultResource.scala#L268-L269) answers 404 "no 
longer stored" for a result that exists. If REST is the only supported catalog, 
I'd say so in this comment.



##########
bin/single-node/docker-compose.yml:
##########
@@ -529,6 +529,26 @@ services:
       retries: 5
       start_period: 15s
 
+  # ResultService serves the results of executions, so they can be read 
without a computing unit
+  result-service:

Review Comment:
   **Advisory:**
   
   This PR closes no issue, so it won't appear in any issue's Development 
sidebar. The [PR 
template](https://github.com/apache/texera/blob/main/.github/PULL_REQUEST_TEMPLATE)
 allows "Part of #8995" for a related issue, and #8995 has to stay open for its 
Helm, gateway route and local-dev parts. A sub-issue for this step that the 
description `Closes` would track it, the way #7932 closed #7931.



##########
.github/workflows/build-and-push-images.yml:
##########
@@ -288,6 +288,9 @@ jobs:
                 "jupyter")
                   image_name="texera-jupyter"
                   ;;
+                "result-service")
+                  image_name="texera-result-service"

Review Comment:
   **Advisory:**
   
   Nothing has built this image in CI yet. This workflow runs only on its 
[nightly 
schedule](https://github.com/apache/texera/blob/df24d20dc759cef9d3ebe3bd2245378b21ea9465/.github/workflows/build-and-push-images.yml#L52-L54)
 or on dispatch, and no PR workflow builds Docker images. Until it runs on 
main, `texera-result-service:latest` does not exist, so `docker compose up` 
from a main checkout stops at the pull. Could you link a fork run with 
`services=result-service`, and have whoever merges dispatch it on apache/texera 
right away?



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to