You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2024/08/20 03:38:50 UTC

[PR] [SPARK-49316] Generalize `printer-columns.sh` to handle `*.spark.apache.org-v1.yml` files [spark-kubernetes-operator]

dongjoon-hyun opened a new pull request, #73:
URL: https://github.com/apache/spark-kubernetes-operator/pull/73

   ### What changes were proposed in this pull request?
   
   This PR aims to generalize `printer-columns.sh` to handle `*.spark.apache.org-v1.yml` files
   
   ### Why are the changes needed?
   
   To support the future CRDs generally.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs for now.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   No.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-49316] Generalize `printer-columns.sh` to handle `*.spark.apache.org-v1.yml` files [spark-kubernetes-operator]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on PR #73:
URL: https://github.com/apache/spark-kubernetes-operator/pull/73#issuecomment-2297918038

   Thank you, @viirya .
   
   I verified this manually.
   
   ```
   $ ./gradlew build buildDockerImage spark-operator-api:relocateGeneratedCR
   ...
   BUILD SUCCESSFUL in 2m 32s
   62 actionable tasks: 62 executed
   
   $ helm install spark-kubernetes-operator --create-namespace -f build-tools/helm/spark-kubernetes-operator/values.yaml build-tools/helm/spark-kubernetes-operator/
   NAME: spark-kubernetes-operator
   LAST DEPLOYED: Mon Aug 19 20:58:13 2024
   NAMESPACE: default
   STATUS: deployed
   REVISION: 1
   
   $ helm test spark-kubernetes-operator
   NAME: spark-kubernetes-operator
   LAST DEPLOYED: Mon Aug 19 20:58:13 2024
   NAMESPACE: default
   STATUS: deployed
   REVISION: 1
   TEST SUITE:     spark-kubernetes-operator-test-operator-rbac
   Last Started:   Mon Aug 19 20:58:42 2024
   Last Completed: Mon Aug 19 20:58:45 2024
   Phase:          Succeeded
   TEST SUITE:     spark-kubernetes-operator-test-app-rbac
   Last Started:   Mon Aug 19 20:58:39 2024
   Last Completed: Mon Aug 19 20:58:42 2024
   Phase:          Succeeded
   
   $ k apply -f examples/pi.yaml
   sparkapplication.spark.apache.org/pi created
   
   $ k get sparkapp
   NAME   CURRENT STATE    AGE
   pi     RunningHealthy   4s
   
   $ k get sparkapp
   NAME   CURRENT STATE      AGE
   pi     ResourceReleased   20s
   ```
   
   Merged to main.


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-49316] Generalize `printer-columns.sh` to handle `*.spark.apache.org-v1.yml` files [spark-kubernetes-operator]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun commented on code in PR #73:
URL: https://github.com/apache/spark-kubernetes-operator/pull/73#discussion_r1722644662


##########
spark-operator-api/src/main/resources/printer-columns.sh:
##########
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash

Review Comment:
   I also generalize this like the other shell script.



-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Re: [PR] [SPARK-49316] Generalize `printer-columns.sh` to handle `*.spark.apache.org-v1.yml` files [spark-kubernetes-operator]

Posted by "dongjoon-hyun (via GitHub)" <gi...@apache.org>.
dongjoon-hyun closed pull request #73: [SPARK-49316] Generalize `printer-columns.sh` to handle `*.spark.apache.org-v1.yml` files
URL: https://github.com/apache/spark-kubernetes-operator/pull/73


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org