cdap icon indicating copy to clipboard operation
cdap copied to clipboard

[CDAP-19484] Revert CDAP-19448 and unpack artifacts in task workers again

Open dli357 opened this issue 2 years ago • 4 comments

This depends on the usage of Spark 3.2 which has fixed the bug of parsing a directory ending in .jar as a jar file. See https://github.com/scala/bug/issues/12019 for details.

dli357 avatar Nov 05 '22 06:11 dli357

gitpod-io[bot] avatar Nov 05 '22 06:11 gitpod-io[bot]

This depends on a netty version bump which depends on the removal of spark2 which is done in https://github.com/cdapio/cdap/pull/14797.

dli357 avatar Jan 16 '23 10:01 dli357

@dli357 could you please clarify why does it depend on spark2 work? I am asking because even though we remove spark2 from our code we still support it and we need to be sure users can still use their spark2 clusters (e.g. dataproc 1.5). Would this netty version bump still allow it?

tivv avatar Jan 17 '23 16:01 tivv

This work depends on bumping the netty version since the PooledByteBufAllocator constructor used by this version of spark3 does not exist; unfortunately, bumping the netty version causes other compatibility issues with spark2 which cause tests to fail across the board.

dli357 avatar Jan 17 '23 18:01 dli357