[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:


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:


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

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 ]


Generated at Tue Feb 19 17:52:51 UTC 2019 using Jira 7.13.0#713000-sha1:fbf406879436de2f3fb1cfa09c7fa556fb79615a.