New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed InvocationTargetException in pulsar-admin #1492
Conversation
Let me work on that |
retest this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
overall looks good to me
@@ -71,7 +71,7 @@ | |||
private final PersistentTopics persistentTopics; | |||
private final NonPersistentTopics nonPersistentTopics; | |||
private final ResourceQuotas resourceQuotas; | |||
|
|||
private final ClientConfigurationData clientConfigData; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: better use spaces rather than tab
public PulsarAdmin(String serviceUrl, ClientConfigurationData pulsarConfig) throws PulsarClientException { | ||
this.auth = pulsarConfig != null ? pulsarConfig.getAuthentication() : new AuthenticationDisabled(); | ||
public PulsarAdmin(String serviceUrl, ClientConfigurationData clientConfigData) throws PulsarClientException { | ||
this.clientConfigData = clientConfigData; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: wrong indent
*/ | ||
public ClientConfigurationData getClientConfigData() { | ||
return clientConfigData; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: spaces ?
retest this please |
retest this please |
@jai1 it seems that |
replicator flaky test. retest this please |
retest this please |
Currently in master:
Reason is that in
CmdFunctions.java:639
we expect the admin to be an instance ofPulsarAdminWithFunctions
whilePulsarAdminBuilderImpl.build()
builds an instancePulsarAdmin
I tried building
PulsarAdminWithFunctions
inPulsarAdminBuilderImpl
instead ofPulsarAdmin
but ran into lots of errors so I just commented out adding pulsar functions toPulsarAdminTool
, in order to get master working since I need to develop on Admin Tools.I believe the problematic PR is 6230ab4 but can't say for sure since we use SNAPSHOT bookkeeper versions now.