Skip to content

Comments

[ZEPPELIN-4833] misleading logging when fail to load plugin from classpath directly#3784

Closed
zjffdu wants to merge 1 commit intoapache:masterfrom
zjffdu:ZEPPELIN-4833
Closed

[ZEPPELIN-4833] misleading logging when fail to load plugin from classpath directly#3784
zjffdu wants to merge 1 commit intoapache:masterfrom
zjffdu:ZEPPELIN-4833

Conversation

@zjffdu
Copy link
Contributor

@zjffdu zjffdu commented Jun 2, 2020

What is this PR for?

Previous plugin loading strategy is to load them from system classloader first, if fails, then fallback to plugin folder classloader. This would produce misleading logging which make user think that the plugin is failed to load. This PR would load plugin from system classloader only when they are builtin plugins.

What type of PR is it?

[Improvement]

Todos

  • - Task

What is the Jira issue?

How should this be tested?

  • CI pass

Screenshots (if appropriate)

Questions:

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

@zjffdu zjffdu changed the title [ZEPPELIN-4833]. misleading logging when fail to load plugin from classpath directly [ZEPPELIN-4833] misleading logging when fail to load plugin from classpath directly Jun 5, 2020
@zjffdu zjffdu force-pushed the ZEPPELIN-4833 branch 2 times, most recently from f5aa380 to a757c87 Compare June 5, 2020 02:23
@asfgit asfgit closed this in 11780d3 Jun 8, 2020
asfgit pushed a commit that referenced this pull request Jun 8, 2020
…spath directly

### What is this PR for?

Previous plugin loading strategy is to load them from system classloader first, if fails, then fallback to plugin folder classloader. This would produce misleading logging which make user think that the plugin is failed to load. This PR would load plugin from system classloader only when they are builtin plugins.

### What type of PR is it?
[Improvement]

### Todos
* [ ] - Task

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-4833

### How should this be tested?
* CI pass

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jeff Zhang <zjffdu@apache.org>

Closes #3784 from zjffdu/ZEPPELIN-4833 and squashes the following commits:

62cd4db [Jeff Zhang] [ZEPPELIN-4833] misleading logging when fail to load plugin from classpath directly

(cherry picked from commit 11780d3)
Signed-off-by: Jeff Zhang <zjffdu@apache.org>
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.

1 participant