[ https://issues.apache.org/jira/browse/BEAM-7696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ismaël Mejía resolved BEAM-7696. -------------------------------- Resolution: Fixed > If classpath directory contains a directory it causes exception in Spark > runner staging > --------------------------------------------------------------------------------------- > > Key: BEAM-7696 > URL: https://issues.apache.org/jira/browse/BEAM-7696 > Project: Beam > Issue Type: Bug > Components: runner-spark > Reporter: Wang Yanlin > Assignee: Wang Yanlin > Priority: Minor > Fix For: 2.15.0 > > Attachments: addJar_exception.jpg, files_contains_dir.jpg > > Time Spent: 4h > Remaining Estimate: 0h > > Run the unit test SparkPipelineStateTest.testBatchPipelineRunningState in > IntelliJ IDEA on my mac, get the IllegalArgumentException in the console > output. I check the source code, and find the result of > _PipelineResources.detectClassPathResourcesToStage_ contains directory, which > is the cause of the exception. > See the attached file 'addJar_exception.jpg' for detail, and the result of > _PipelineResources.detectClassPathResourcesToStage_ > is showed in attached file 'files_contains_dir.jpg' during debug. -- This message was sent by Atlassian JIRA (v7.6.14#76016)