Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Not applicable

Description - When we start the oozie/hive from ambari it checks the connectivity with db first before starting using below command

/usr/java/jdk64-1.7.0_79/bin/java -cp /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/hdp/current/oozie-server/libext/ojdbc.jar org.apache.ambari.server.DBConnectionVerification '<<DB URL>>
Error - Ambari was not able to load the class due to permission issue on the jar file
   Current Permission —>  -rw-r----- 1 root root 1931 Jan 29 01:02 /usr/lib/ambari-agent/DBConnectionVerification.jar(640)
  Required Permission —> -rw-r--r-- 1 root root 1931 Jan 29 01:02 /usr/lib/ambari-agent/DBConnectionVerification.jar(644)

Change the permission from 640 to 644.

1,452 Views
0 Kudos
Comments

@Ritesh Chaman this is an article not a question. Look at the last message in your log, change permission to 644.

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎02-01-2016 11:56 PM
Updated by:
 
Contributors
Top Kudoed Authors