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

Hyukjin Kwon reopened SPARK-18842:
----------------------------------

{{ReplSuite}} hangs on Windows due to this problem. The reason is, it converts 
the paths into URL in the tests. So, many paths are duplicated because normal 
local paths and URLs are mixed. 

Please refer the tests here - 
https://ci.appveyor.com/project/spark-test/spark/build/395-find-path-issues

and the command line here - 
https://gist.github.com/HyukjinKwon/46af7946c9a5fd4c6fc70a8a0aba1beb

> De-duplicate paths in classpaths in processes for local-cluster mode to work 
> around the length limitation on Windows
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-18842
>                 URL: https://issues.apache.org/jira/browse/SPARK-18842
>             Project: Spark
>          Issue Type: Sub-task
>          Components: Spark Core, Tests
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>             Fix For: 2.2.0
>
>
> Currently, some tests are being failed and hanging on Windows due to this 
> problem. For the reason in SPARK-18718, some tests using {{local-cluster}} 
> mode were disabled on Windows due to the length limitation by paths given to 
> classpaths.
> The limitation seems roughly 32K (see 
> https://blogs.msdn.microsoft.com/oldnewthing/20031210-00/?p=41553/ and 
> https://support.thoughtworks.com/hc/en-us/articles/213248526-Getting-around-maximum-command-line-length-is-32767-characters-on-Windows)
>  but executors were being launched with the command such as 
> https://gist.github.com/HyukjinKwon/5bc81061c250d4af5a180869b59d42ea in 
> (only) tests.
> This length is roughly 40K due to the class paths. However, it seems there 
> are duplicates more than half. So, if we de-duplicate this paths, it is 
> reduced to roughly 20K.
> Maybe, we should consider as some more paths are added in the future but it 
> seems better than disabling all the tests for now with minimised changes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to