Member since 
    
	
		
		
		09-30-2015
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                88
            
            
                Posts
            
        
                47
            
            
                Kudos Received
            
        
                10
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 1395 | 04-18-2017 04:29 PM | |
| 4403 | 12-23-2016 06:32 PM | |
| 2079 | 12-22-2016 08:33 PM | |
| 2757 | 12-21-2016 10:15 PM | |
| 1119 | 11-29-2016 04:40 PM | 
			
    
	
		
		
		01-29-2019
	
		
		05:08 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Excellent article Jay  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		04-18-2017
	
		
		04:29 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		2 Kudos
		
	
				
		
	
		
					
							@Constantin Stanca Namenode HA is NOT mandatory for standalone views 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-23-2017
	
		
		06:24 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Beverley Andalora That's correct. All versions of Ambari have this issue.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-22-2017
	
		
		11:28 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		2 Kudos
		
	
				
		
	
		
					
							 ISSUE :
Even after configuring falcon to use https, ambari alert checks Falcon UI on http and fails. Falcon service will be running fine but Ambari shows Falcon WEB UI alert.   ROOT CAUSE : 
Ambari alert script is hardcoded to check Falcon on http   WORKAROUND :  
1. Login to Ambari UI  
2. Open one more tab and go to this UI : http://AMBARI_HOST:8080/api/v1/clusters/CLUSTER_NAME/alert_definitions   3. Search for falcon_server_webui and get the alert definitions ID.  Example :     {
      "href" : "http://mon-ravi.ironman.com:8080/api/v1/clusters/ironman/alert_definitions/301",
      "AlertDefinition" : {
        "cluster_name" : "ironman",
        "id" : 301,       
 	 "label" : "Falcon Server Web UI",       
	  "name" : "falcon_server_webui"
      }  301 is the alert definition here.   
4. Delete this alert definition using curl   curl -u admin:admin -H "X-Requested-By: ambari" -X DELETE http://AMBARI_HOST:8080/api/v1/clusters/CLUSTER_NAME/alert_definitions/301   5. On the ambari server, edit this file /var/lib/ambari-server/resources/common-services/FALCON/0.5.0.2.1/alerts.json   
Change
"http": "{{falcon-env/falcon_port}}",
to
"https": "{{falcon-env/falcon_port}}",   6. Restart Ambari server   We should be all good now. Falcon web UI alert should clear up. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		01-05-2017
	
		
		05:14 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		16 Kudos
		
	
				
		
	
		
					
							 ISSUE : In Ambari 2.4.x, Falcon Web UI is inaccessible(HTTP 503 error) and Ambari Service Check for Falcon fails: "ERROR: Unable to initialize Falcon Client object"   Snippet of error from falcon logs  2017-01-04 14:08:56,390 INFO - [main:] ~ Initializing graph db (MetadataMappingService:143) 
2017-01-04 14:08:56,438 ERROR - [main:] ~ Failed startup of context org.mortbay.jetty.webapp.WebAppContext@96a75da{/,/usr/hdp/current/falcon-server/server/webapp/falcon} (log:87) 
Caused by: org.apache.falcon.FalconException: java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [com.thinkaurelius.titan.core.TitanFactory]. 
Caused by: java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [com.thinkaurelius.titan.core.TitanFactory]. 
Caused by: java.lang.reflect.InvocationTargetException 
Caused by: java.lang.NoClassDefFoundError: com/sleepycat/je/LockMode 
Caused by: java.lang.ClassNotFoundException: com.sleepycat.je.LockMode 
2017-01-04 14:08:56,440 INFO - [main:] ~ Started SocketConnector@0.0.0.0:15000 (log:67)   
ROOT CAUSE : Missing jar  WORK AROUND :   On the falcon server, download missing jar and save it under falcon lib location  wget http://search.maven.org/remotecontent?filepath=com/sleepycat/je/5.0.73/je-5.0.73.jar -O /usr/hdp/current/falcon-server/server/webapp/falcon/WEB-INF/lib/je-5.0.73.jar
chown falcon:hadoop /usr/hdp/current/falcon-server/server/webapp/falcon/WEB-INF/lib/je-5.0.73.jar  Restart Falcon server from Ambari.
Hortonworks cannot ship this jar. It has to be manually downloaded. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		12-24-2016
	
		
		05:58 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		4 Kudos
		
	
				
		
	
		
					
							 ISSUE :   If SOLR is configured as backend storage for ranger audits, ranger audit screen shows incorrect screen. This happens if server is running on any timezone other than UTC.  ROOT CAUSE :  'ranger-admin-services.sh' script uses below command to start ranger.  nohup  java -Dproc_rangeradmin ${JAVA_OPTS} -Dlogdir=${RANGER_ADMIN_LOG_DIR} -Dcatalina.base=${XAPOLICYMGR_EWS_DIR} -cp "${XAPOLICYMGR_EWS_DIR}/webapp/WEB-INF/classes/conf:${XAPOLICYMGR_EWS_DIR}/lib/*:${RANGER_JAAS_LIB_DIR}/*:${RANGER_JAAS_CONF_DIR}:${JAVA_HOME}/lib/*:${RANGER_HADOOP_CONF_DIR}/*:$CLASSPATH" org.apache.ranger.server.tomcat.EmbeddedServer > ${RANGER_ADMIN_LOG_DIR}/catalina.out 2>&1 &  If JAVA_OPTS value does not contain '-Duser.timezone=UTC', then Ranger admin runs in the local timezone.
This causes timezone issue in viewing audit on Ranger UI as Ranger admin doesn't return eventtime in UTC format.  RESOLUTION :   This is fixed under https://issues.apache.org/jira/browse/RANGER-1249  WORKAROUND :  1. Create a file ranger-admin-env-javaopts.sh in /usr/hdp/current/ranger-admin/conf/ on the ranger admin server   2. Add the below contents in to the file.  export JAVA_OPTS=" ${JAVA_OPTS} -Duser.timezone=UTC"  3. chown ranger:ranger /usr/hdp/current/ranger-admin/conf/ranger-admin-env-javaopts.sh  4. chmod 755 /usr/hdp/current/ranger-admin/conf/ranger-admin-env-javaopts.sh  5. Restart Ranger admin.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		12-23-2016
	
		
		10:16 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							@Sami Ahmad Could you please try restarting your ambari server once?  Once restarted, can you run service check for kerberos?  Kerberos service check prompts a window where you need to enter your admin credentials for your kerberos.     
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-23-2016
	
		
		06:32 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		2 Kudos
		
	
				
		
	
		
					
							 @Sami Ahmad  Could you please try this?  Stop ambari server  Take ambari server backup  Run the below command  update clusterconfigmapping set selected=1 where type_name='krb5-conf' and version_tag='version1480534635088';  Start ambari server and try installing Ranger KMS. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-23-2016
	
		
		03:49 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Jagdish Saripella Did you get this working? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-23-2016
	
		
		03:49 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							@Sami Ahmad I am assuming cluster is kerberised.  Could you please send me output of   select * from clusterconfigmapping where type_name='krb5-conf'; 
						
					
					... View more