Skip to content

Conversation

@nthanvi
Copy link
Contributor

@nthanvi nthanvi commented Aug 23, 2016

Changes proposed in this pull request

Added support for dynamic Jar loading in snappy. The idea here is to support the existing snappy command for loading the jar file. For that lead node driver and executor class loader are modified in such a way that they look for the jar in the snappy-store if it is not found in regular class path.

Apart form above change there is another problem that once the job is submitted through the job server and if user make any changes to the jar related to submitted application and try to rerun again then executors are not able to pick the new jar. This problem is also resolved by loading the jar to the snappy store.

There are still few open issues with this PR which are logged under https://jira.snappydata.io/browse/SNAP-999

Patch testing

precheckin , dunit and manual testing for lead node path

ReleaseNotes.txt changes

(Does this change require an entry in ReleaseNotes.txt? If yes, has it been added to it?)

Other PRs

Yes.
TIBCOSoftware/snappy-store#88
TIBCOSoftware/snappy-spark#1
TIBCOSoftware/snappy-spark-jobserver#2

user can install a jar using install jar utility and
it will be available to all executors, store and driver node

the jar uploaded via the job server also follows the same norm.
The executor is overridden as it's classloader should also look into the
snappy store to load the classes.
@nthanvi
Copy link
Contributor Author

nthanvi commented Aug 23, 2016

Added another pull request after incorporating the review comments and 2.0 merge.
#337

For some open issues with PR open the Jira https://jira.snappydata.io/browse/SNAP-999?filter=-1

@nthanvi nthanvi closed this Aug 23, 2016
@nthanvi nthanvi reopened this Aug 24, 2016
@nthanvi nthanvi mentioned this pull request Aug 24, 2016
@nthanvi nthanvi merged commit f20443c into master Aug 25, 2016
@nthanvi nthanvi deleted the SNAP_293 branch August 25, 2016 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants