Skip to content

adding a suffix to jar name#1

Closed
nthanvi wants to merge 1 commit intosnappydatafrom
SNAP-293
Closed

adding a suffix to jar name#1
nthanvi wants to merge 1 commit intosnappydatafrom
SNAP-293

Conversation

@nthanvi
Copy link
Copy Markdown

@nthanvi nthanvi commented Jul 22, 2016

A suffix is added to jar name so that executors can identify that
job server has provided the updated jar file and the old jarLoader could be replaced with new Jar.

related PR -
#1
TIBCOSoftware/snappy-spark#39
TIBCOSoftware/snappy-store#88
TIBCOSoftware/snappydata#310

A suffix is added to jarname so that executors can identify that
job server  has provided the updated  jar file.

private def createJarName(appName: String, uploadTime: DateTime): String =
appName + "-" + uploadTime.toString().replace(':', '_')
appName + "_SNAPPY_JOB_SERVER_JAR_" + uploadTime.toString().replace(':', '_')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we will need to register these with executors in most case (SnappyExecutor), will it not be better to register these with the name provided here to install-jar and then use replace-jar for subsequent calls? The additional handling of URLs here and in snappydata looks dicey to me.

@nthanvi
Copy link
Copy Markdown
Author

nthanvi commented Aug 23, 2016

Not Required Now. As using the install jar/replace jar utility for the lead node route as well.

@nthanvi nthanvi closed this Aug 23, 2016
@sumwale sumwale deleted the SNAP-293 branch September 10, 2017 20:24
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