You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by yh...@apache.org on 2024/10/30 19:20:55 UTC

(beam) branch debugsparkpvr updated (76a320e2266 -> ad9c98b2c8d)

This is an automated email from the ASF dual-hosted git repository.

yhu pushed a change to branch debugsparkpvr
in repository https://gitbox.apache.org/repos/asf/beam.git


 discard 76a320e2266 Debug PreCommit Spark PVR Batch
     new ad9c98b2c8d Debug PreCommit Spark PVR Batch

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (76a320e2266)
            \
             N -- N -- N   refs/heads/debugsparkpvr (ad9c98b2c8d)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../runners/fnexecution/environment/EmbeddedEnvironmentFactory.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


(beam) 01/01: Debug PreCommit Spark PVR Batch

Posted by yh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

yhu pushed a commit to branch debugsparkpvr
in repository https://gitbox.apache.org/repos/asf/beam.git

commit ad9c98b2c8d16f7e03cb54cfd3c471a9414e18c6
Author: Yi Hu <ya...@google.com>
AuthorDate: Wed Oct 30 14:16:42 2024 -0400

    Debug PreCommit Spark PVR Batch
---
 .../runners/fnexecution/environment/EmbeddedEnvironmentFactory.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/environment/EmbeddedEnvironmentFactory.java b/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/environment/EmbeddedEnvironmentFactory.java
index 72fa991c1f7..470692e7510 100644
--- a/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/environment/EmbeddedEnvironmentFactory.java
+++ b/runners/java-fn-execution/src/main/java/org/apache/beam/runners/fnexecution/environment/EmbeddedEnvironmentFactory.java
@@ -140,6 +140,8 @@ public class EmbeddedEnvironmentFactory implements EnvironmentFactory {
           try {
             fnHarness.get();
           } catch (Throwable t) {
+            // Print stacktrace to stderr. Could be useful if underlying error not surfaced earlier
+            t.printStackTrace();
             executor.shutdownNow();
           }
         });