[CDAP-12577] app.artifacts.dir had a backwards-incompatible change Created: 08/Sep/17  Updated: 19/Sep/17  Resolved: 19/Sep/17

Status: Resolved
Project: CDAP
Component/s: Master
Affects Version/s: 4.3.0, 4.2.0
Fix Version/s: 4.3.1

Type: Bug Priority: Major
Reporter: Ali Anwar Assignee: Albert Shau
Resolution: Fixed Votes: 0
Labels: None

Release Notes: Spark compat directories in the system artifact directory will now be automatically checked, regardless of whether they are explicitly set in app.artifacts.dir.
Rank: 1|i007qv:

 Description   

If a user has overridden the parameter 'app.artifacts.dir', in any version prior to CDAP 4.2, then upon upgrading to CDAP 4.3.0, the artifact cdap-data-pipeline 4.3.0 will not be visible/loaded by CDAP master.
A workaround is for the user to update their value 'app.artifacts.dir' as follows:
If their value is X, then make the new value:

X;X/${app.program.spark.compat}

The next time artifacts are loaded, the appropriate artifacts will be loaded.



 Comments   
Comment by Albert Shau [ 08/Sep/17 ]

I think we can change the ArtifactRepository so that it if there is only one directory for app.artifacts.dir, it automatically checks the app.program.spark.compat directory under that directory.

Comment by Albert Shau [ 15/Sep/17 ]

https://github.com/caskdata/cdap/pull/9617

Generated at Mon Dec 17 06:14:29 UTC 2018 using Jira 7.13.0#713000-sha1:fbf406879436de2f3fb1cfa09c7fa556fb79615a.