Member since 
    
	
		
		
		04-09-2019
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                254
            
            
                Posts
            
        
                140
            
            
                Kudos Received
            
        
                34
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 2175 | 05-22-2018 08:32 PM | |
| 14737 | 03-15-2018 02:28 AM | |
| 3952 | 08-07-2017 07:23 PM | |
| 4738 | 07-27-2017 05:22 PM | |
| 2677 | 07-27-2017 05:16 PM | 
			
    
	
		
		
		03-14-2017
	
		
		04:21 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hello @Saurabh,  If you look the error message closely, it says 'No service creds'. Since you are running hadoop command, this most probably means that the NameNode service keytab is either missing or not good. For both the cases, please check NameNode log for any error during service startup.   To verify the service keytabs, try running these on NameNode:  su - hdfs
kinit -kt /etc/security/keytabs/nn.service.keytab nn/<nn-host-fqdn>@REALM
  The last command should give you a correct TGT for NN service principal, that would show that NN service keytab is good.  Lastly, you can try to regenerate the keytabs for all the services.  Hope this helps ! 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		03-15-2017
	
		
		07:35 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @subash sharma   Glad that the issue is resolved. Please close the loop by accepting the answer. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-07-2018
	
		
		06:19 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I had same problem "ranger can sync users with ldap but can't login to ranger UI with ldap password." Finally I could solved this problem, so, let me share lessons learned and how I solved to help you guys who has same problem as I faced.   lessons learned  1. We have to configure ranger admin to speak ldaps protocol if we want to use ldaps for user authentication.  paramaters in ranger-admin-site: ranger.truststore.file, ranger.truststore.password  I had to import self-signed CA from LDAP team to "/etc/ranger/admin/conf/ranger-admin-keystore.jks".   Set password which I specified for this import to "ranger.truststore.password".  Command example: keytool -importcert -alias rangeradmin  -noprompt -trustcacerts -file ./ca.crt -keystore /etc/ranger/admin/conf/ranger-admin-keystore.jks -storepass xasecure  ref: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.0/bk_security/content/configure_non_ambari_ranger_ssl_self_signed_cert_admin.html  2. setting syncing user info with ldap and setting to use ldap for authentication are technically different.  For example, we can use ldap authentication for ranger UI login even when we disable "Enable User Sync". In other words, we can use ldap authentication when "Ranger Usersync" service is not running.  3. debug logs from "org.springframework" and "org.apache.ranger" were very useful for the trouble shooting.  We can change the log level with "admin-log4j.xml".  log4j.category.org.springframework=debug,xa_log_appender  log4j.category.org.apache.ranger=debug,xa_log_appender  4. Here are the key configurations for ldap authentication (not for user sync with ldap.)  Authentication method: LDAP  LDAP URL: ldaps://xxxxxx  User Search Filter: (uid={0})  Group Search Filter: (member=uid={0},ou=xxxxx,o=xxxxx)  ranger.ldap.user.dnpattern: uid={0},ou=xxxxx,o=xxxxx  ranger.truststore.file: /etc/ranger/admin/conf/ranger-admin-keystore.jks <= in case with ldaps.  ranger.truststore.password: xasecure <= in case with ldaps. this is the passwoed you set when you import ca to jks.  I hope, this memo help guys who have same problem as I faced 🙂 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-23-2017
	
		
		07:22 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 The purpose of renewable tickets was missed in the provided answers - one renews a ticket in order to avoid the authentication process again. You can issue a renewal request (without authenticating) up until renew_lifetime. Use klist to see the valid/expire/renew timestamps. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-11-2018
	
		
		01:24 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi Ayub,  As described in the step 1, Is it required to create some random ids "id":"-11893021824425525" for this json request to be successful. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-17-2016
	
		
		03:43 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		8 Kudos
		
	
				
		
	
		
					
							 Hello @Sami Ahmad,  Keeping the jargon aside -  
 Ranger is used for deciding who can access what resources on a Hadoop cluster with the help of policies (there is more to this but this is in the most basic terms).   Knox can be imagined as the gatekeeper which decides whether to allow user access to Hadoop cluster or not.   More complete definitions:  
 Ranger is an authorization system which allows / denies access to Hadoop cluster resources (HDFS files, Hive tables etc.) based on pre-defined Ranger policies. When user request comes to Ranger, it is assumed to be authenticated already.   Knox is a REST API based perimeter security gateway system which 'authenticates' user credentials (mostly against AD/LDAP). Only the successfully authenticated user are allowed access to Hadoop cluster. Knox also provides a layer of abstraction to the underneath Hadoop services i.e. all endpoints are accessed via Knox gateway URL.   Follow Apache Ranger project and Apache Knox project  for more comprehensive description and full set of feature list.  Hope this helps ! 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		05-01-2019
	
		
		03:22 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Would like to disable Kerberos security for Kafka but not for NIFI, any good documentation available to help? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		10-12-2016
	
		
		02:01 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Thank you @Rahul Buragohain for letting us know. Please select any best answer for the others to follow how this problem was fixed. Thanks. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		- « Previous
 - Next »