Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDP2.2 sandbox error while starting ambari-server

Highlighted

HDP2.2 sandbox error while starting ambari-server

Contributor

Imported HDP2.2 sandbox into VMWare but not able to start ambari-server due to exception as,

ERROR [main] AmbariServer:658 - Failed to run the Ambari Server java.lang.NoClassDefFoundError: Could not initialize class sun.security.ec.SunEC at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:383) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:221) at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206) at java.security.AccessController.doPrivileged(Native Method) at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206) at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187) at sun.security.jca.ProviderList.getProvider(ProviderList.java:233) at sun.security.jca.ProviderList$ServiceList.tryGet(ProviderList.java:434) at sun.security.jca.ProviderList$ServiceList.access$200(ProviderList.java:376) at sun.security.jca.ProviderList$ServiceList$1.hasNext(ProviderList.java:486) at javax.crypto.SecretKeyFactory.nextSpi(SecretKeyFactory.java:293) at javax.crypto.SecretKeyFactory.〈init〉(SecretKeyFactory.java:121) at javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:160) at org.apache.ambari.server.security.encryption.AESEncryptor.getKeyFromPassword(AESEncryptor.java:104) at org.apache.ambari.server.security.encryption.AESEncryptor.getKeyFromPassword(AESEncryptor.java:97) at org.apache.ambari.server.security.encryption.AESEncryptor.〈init〉(AESEncryptor.java:51) at org.apache.ambari.server.security.encryption.MasterKeyServiceImpl.〈init〉(MasterKeyServiceImpl.java:43) at org.apache.ambari.server.security.encryption.CredentialProvider.〈init〉(CredentialProvider.java:52)

Please help me to resolve this issue quickly.

1 REPLY 1

Re: HDP2.2 sandbox error while starting ambari-server

Rising Star

@Nitin Shelke

Hello, is this on a fresh import of the sandbox? I just downloaded it and couldn't reproduce.

I used "ambari-server start" and "ambari-agent start" and they came up as expected.