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

ASF GitHub Bot commented on TINKERPOP-2749:
-------------------------------------------

L0Lmaker opened a new pull request, #1681:
URL: https://github.com/apache/tinkerpop/pull/1681

   Spark Build on Windows Causes Errors along the lines of:
   ```
   [ERROR] Failures: 
   [ERROR] 
org.apache.tinkerpop.gremlin.spark.structure.io.SparkIoRegistryCheck.shouldSupportGraphSONIoRegistry(org.apache.tinkerpop.gremlin.spark.structure.io.SparkIoRegistryCheck)
      
   [INFO]   Run 1: PASS
   [ERROR]   Run 2: 
SparkIoRegistryCheck.shouldSupportGraphSONIoRegistry:67->AbstractIoRegistryCheck.checkGraphSONIoRegistryCompliance:98
   [INFO]
   [ERROR] 
org.apache.tinkerpop.gremlin.spark.structure.io.SparkIoRegistryCheck.shouldSupportGryoV1d0IoRegistry(org.apache.tinkerpop.gremlin.spark.structure.io.SparkIoRegistryCheck)
      
   [INFO]   Run 1: PASS
   [ERROR]   Run 2: 
SparkIoRegistryCheck.shouldSupportGryoV1d0IoRegistry:57->AbstractIoRegistryCheck.checkGryoV1d0IoRegistryCompliance:75
   [INFO]
   [ERROR] 
org.apache.tinkerpop.gremlin.spark.structure.io.SparkIoRegistryCheck.shouldSupportGryoV3d0IoRegistry(org.apache.tinkerpop.gremlin.spark.structure.io.SparkIoRegistryCheck)
      
   [INFO]   Run 1: PASS
   [ERROR]   Run 2: 
SparkIoRegistryCheck.shouldSupportGryoV3d0IoRegistry:62->AbstractIoRegistryCheck.checkGryoV3d0IoRegistryCompliance:87
   ```
   These failures are caused by the usage of the `File.delete()` function calls 
to delete temp files generated during runtime. This operation fails on Windows 
as the file is still actively open in the process and on Windows, active files 
cannot be deleted until a all processes stop using it.
   
   `File.deleteOnExit()` deletes the file when the virtual machine terminates.
   
   Link to Issue: 
(https://issues.apache.org/jira/browse/TINKERPOP-2749)[TINKERPOP-2749]




> Support Windows Build
> ---------------------
>
>                 Key: TINKERPOP-2749
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2749
>             Project: TinkerPop
>          Issue Type: Improvement
>            Reporter: Lyndon Bauto
>            Assignee: Lyndon Bauto
>            Priority: Major
>
> Currently the Windows build fails due to a number of issues. There are 
> failures in:
>  * gremlin-javascript
>  * gremlin-dotnet-source
>  * hadoop-gremlin
>  * spark-gremlin
>  * gremlint
> the hadoop-gremlin and spark-gremlin issues are a little more complex and 
> will require additional investigation, but for now we can look to resolve the 
> existing issues and get all other builds working in GitHub actions



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to