Aggarwal-Raghav commented on code in PR #461:
URL: https://github.com/apache/tez/pull/461#discussion_r2885378119


##########
tez-dag/src/main/java/org/apache/tez/dag/app/DAGAppMaster.java:
##########
@@ -2415,13 +2416,15 @@ public static void main(String[] args) {
       // Install the tez class loader, which can be used add new resources
       TezClassLoader.setupTezClassLoader();
       Thread.setDefaultUncaughtExceptionHandler(new 
YarnUncaughtExceptionHandler());
-      final String pid = System.getenv().get("JVM_PID");

Review Comment:
   So i tested by putting both 
   ```
   LOG.info("######");
         LOG.info("System.getenv().get(\"JVM_PID\") value is: {}", old_pid);
         LOG.info("ProcessHandle.current().pid() value is : {}", pid);
         LOG.info("######");
   ```
   the `JVM_PID` belongs to `launch_container.sh` and 
   `ProcessHandler` one is `DagAppMaster`
   
   Screenshot confirming the same.
   <img width="914" height="131" alt="Screenshot 2026-03-04 at 11 52 14 PM" 
src="https://github.com/user-attachments/assets/355f56ff-3a86-4a97-9c6a-f216a42b887d";
 />
   <img width="1512" height="558" alt="Screenshot 2026-03-04 at 11 49 46 PM" 
src="https://github.com/user-attachments/assets/00669c37-2502-4c42-8166-b1b68c20e4ce";
 />
   
   Will revert this change. Thanks for pointing this!!



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