Skip to content
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

Caused by: java.lang.NoSuchMethodException: com.github.ambry.cloud.HelixVcrClusterAgentsFactory.<init>() #1989

Open
wenxiLubia opened this issue Nov 9, 2021 · 4 comments

Comments

@wenxiLubia
Copy link

[2021-11-09 14:49:26,236] INFO Bootstrapping AmbryServer (com.github.ambry.server.AmbryMain)
[2021-11-09 14:49:26,238] ERROR Exception during bootstrap of AmbryServer (com.github.ambry.server.AmbryMain)
java.lang.InstantiationException: com.github.ambry.cloud.HelixVcrClusterAgentsFactory
at java.lang.Class.newInstance(Class.java:427)
at com.github.ambry.utils.Utils.getObj(Utils.java:604)
at com.github.ambry.server.AmbryMain.main(AmbryMain.java:48)
Caused by: java.lang.NoSuchMethodException: com.github.ambry.cloud.HelixVcrClusterAgentsFactory.()
at java.lang.Class.getConstructor0(Class.java:3082)
at java.lang.Class.newInstance(Class.java:412)
... 2 more
[2021-11-09 14:49:26,239] INFO Exiting AmbryMain (com.github.ambry.server.AmbryMain)

@wenxiLubia
Copy link
Author

Who can tell me how to solve this issues ?

@Ukkoboi
Copy link

Ukkoboi commented May 11, 2022

I am also having the same issue. Have you found a solution?

@ankagrawal
Copy link
Collaborator

Hi @Ukkoboi @wenxiLubia Sorry about the issue that you have been facing.

I am attaching a patch that will help fix this issue. We will merge the fixes to the master branch in a day or two.
server_deployment_patch.txt

@Ukkoboi
Copy link

Ukkoboi commented May 12, 2022

@ankagrawal Thank you for the fast response. With that file information I got it to work!

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

No branches or pull requests

3 participants