[ 
https://issues.apache.org/jira/browse/SPARK-57949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-57949.
----------------------------------
    Fix Version/s: 4.3.0
         Assignee: Hyukjin Kwon
       Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/57028

> TestDirectWorkerDispatcher picks a UDS socket path too long for macOS 
> sun_path limit
> ------------------------------------------------------------------------------------
>
>                 Key: SPARK-57949
>                 URL: https://issues.apache.org/jira/browse/SPARK-57949
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>    Affects Versions: 5.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.3.0
>
>
> In TestDirectWorkerHelpers.scala, shortTempBase() picks the first writable 
> temp base among TMPDIR/TEMP/TMP/tmp. On macOS TMPDIR is a long 
> /var/folders/<...>/T path (~48 chars); combined with the createTempDirectory 
> random suffix and the socket leaf the bound Unix-domain socket path exceeds 
> the 104-byte macOS sun_path limit, failing PythonUDFWorkerSpecificationSuite 
> with 'OSError: AF_UNIX path too long'. This makes Build / Maven (JDK 21, 
> MacOS-26) red. Fix: pick the SHORTEST usable base by its real 
> (symlink-resolved) path, so /tmp (-> /private/tmp) is chosen over the long 
> TMPDIR on macOS.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to