Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Connectivity issue with HIVE meta store(MS SQL)

Rising Star


I am using HDI 3.4 ..Today i am facing HIVE meta store issue and unable open the HIVE cli , while i manually start the hive meta store .it is not starting and giving below error

resource_management.core.exceptions.Fail: Execution of 'export HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ; /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType azuredb -userName fsfewrwffsfsfgwerwregdfgw -passWord [PROTECTED] -verbose' returned 1. WARNING: Use "yarn jar" to launch YARN applications. Metastore connection URL: jdbc:sqlserver://;database=zbbprodHiveOozie;encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300 Metastore Connection Driver : Metastore connection User: fsfewrwffsfsfgwerwregdfgw Exception in thread "main" java.lang.ExceptionInInitializerError at javax.crypto.KeyAgreement.getInstance( at at at$KeyExchange.isAvailable( at at at at at<init>( at at at at at at at at java.sql.DriverManager.getConnection( at java.sql.DriverManager.getConnection( at org.apache.hive.beeline.HiveSchemaHelper.getConnectionToMetastore( at org.apache.hive.beeline.HiveSchemaTool.getConnectionToMetastore( at org.apache.hive.beeline.HiveSchemaTool.testConnectionToMetastore( at org.apache.hive.beeline.HiveSchemaTool.doInit( at org.apache.hive.beeline.HiveSchemaTool.doInit( at org.apache.hive.beeline.HiveSchemaTool.main( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at at org.apache.hadoop.util.RunJar.main( Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism at javax.crypto.JceSecurity.<clinit>( ... 30 more Caused by: java.lang.SecurityException: Cannot locate policy or framework files! at javax.crypto.JceSecurity.setupJurisdictionPolicies( at javax.crypto.JceSecurity.access$000( at javax.crypto.JceSecurity$ at Method) at javax.crypto.JceSecurity.<clinit>(


Super Collaborator

Did you install the Java JCE Unlimited strength policy jars ?

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.