[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18019603#comment-18019603
 ] 

ASF GitHub Bot commented on MAPREDUCE-7517:
-------------------------------------------

stoty commented on code in PR #7952:
URL: https://github.com/apache/hadoop/pull/7952#discussion_r2340754359


##########
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapred/pipes/TestPipeApplication.java:
##########
@@ -614,7 +618,7 @@ private File getFileCommand(String clazz) throws Exception {
     if (clazz == null) {
       os.write(("ls ").getBytes());
     } else {
-      os.write(("java -cp " + classpath + " " + clazz).getBytes());
+      os.write((System.getProperty("java.home") + "/bin/java -cp " + classpath 
+ " " + clazz).getBytes());

Review Comment:
   I didn't know that.





> TestPipeApplication hangs with JAVA 17+
> ---------------------------------------
>
>                 Key: MAPREDUCE-7517
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7517
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mapreduce-client, test
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>              Labels: pull-request-available
>
> We've recently fixed the TestPipeApplication hang.
> However, that only works for Java 8 and 11, it still hangs on Java 17 and 24.
> (Not tested on interim versions)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to