Skip to content

Pool pluggable rebase#843

Closed
fireboy1919 wants to merge 18 commits intoapache:masterfrom
fireboy1919:pool_pluggable_rebase
Closed

Pool pluggable rebase#843
fireboy1919 wants to merge 18 commits intoapache:masterfrom
fireboy1919:pool_pluggable_rebase

Conversation

@fireboy1919
Copy link
Copy Markdown
Contributor

What is this PR for?

This is a step towards creating a REST endpoint from resource pools https://issues.apache.org/jira/browse/ZEPPELIN-699

It allows resources to be saved to disk so that they can be reloaded.

What type of PR is it?

Improvement

Todos

  • - Add ability to use different kinds of resource pools, and show a second type.

What is the Jira issue?

Partially implements this: https://issues.apache.org/jira/browse/ZEPPELIN-699

Note, that this pull request is dependent upon this one:
#782

How should this be tested?

  1. Edit an interpreter
  2. Add a new property to the interpreter - the "ResourcePoolClass" - and assign it to "org.apache.zeppelin.resource.VFSResourcePool"
  3. Run the interpreter

You should see new resource files created in notebook/zeppelin_resources

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No.

@fireboy1919
Copy link
Copy Markdown
Contributor Author

Attempt to deal with github showing commits as part of this branch despite the fact that they were already in master. Remake of this pull request:

#816

@fireboy1919
Copy link
Copy Markdown
Contributor Author

...There are no changes that would make it work on one spark version and not on another.

Closing and reopening to trigger rebuild.

@jongyoul
Copy link
Copy Markdown
Member

@Leemoonsoo @felixcheung Ping.

Properties prop = interpreterGroup.getProperty();
//Happens during tests.
if (prop == null)
prop = new Properties();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I know we don't have style check for this official but could we put single line into bracket too? It would help readability and prevent possible merge mistakes.
(same for L143)
http://embeddedgurus.com/barr-code/2014/03/apples-gotofail-ssl-security-bug-was-easily-preventable/

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.

3 participants