Member since 
    
	
		
		
		06-20-2016
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                308
            
            
                Posts
            
        
                103
            
            
                Kudos Received
            
        
                29
            
            
                Solutions
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 2498 | 09-19-2018 06:31 PM | |
| 1881 | 09-13-2018 09:33 PM | |
| 1944 | 09-04-2018 05:29 PM | |
| 6477 | 08-27-2018 04:33 PM | |
| 4076 | 08-22-2018 07:46 PM | 
			
    
	
		
		
		01-20-2017
	
		
		12:30 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Karan AlangI mean to say that , at Mysql side change the user access permissions to connect from remote host. You can follow http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/ to do that. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-20-2017
	
		
		12:28 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Karan Alang  Looks like root user does not have access from remote host. Please update root user to allow remote access 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-18-2017
	
		
		12:02 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @pj there is no separate instructions on upgrade. you can follow Ambari/HDP upgrade documentation on that.  Most likely upgrade path would be like,  1. Upgrade Ambari 1.6 to 2.0.2  2. Upgrade Ambari 2.0.2 to 2.2.1  3. Upgrade HDP 2.1 to 2.4.2  4. then Ambari 2.2.1 to 2.2.2 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		01-17-2017
	
		
		11:23 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		6 Kudos
		
	
				
		
	
		
					
							 Here is the steps to access Ambari UI through Knox. This is tried and tested with Ambari 2.4 and HDP2.5  1. Make sure Knox is configured properly and it works fine.  2. ssh to Knox gateway host and go to /var/lib/knox/data-2.5.3.0-37/services  3. download the configurations from https://github.com/apache/knox/tree/v0.11.0/gateway-service-definitions/src/main/resources/services/ambariui/2.2.0/ URL.  4. make sure your folder structure should look alike /var/lib/knox/data-2.5.3.0-37/services/ambariui/2.2.0 and should have rewrite.xml and service.xml files  5. change the owner/Group permissions to Knox for /var/lib/knox/data-2.5.3.0-37/services/ambariui/ and subdirectory  6. Go to Knox configurations Modify "Advanced topology"  with below service tag           <service>
                <role>AMBARIUI</role>
                <url>http://AMBARIHOST:8080</url>
            </service>  7. Restart Knox service.  8. You should be able to access Ambari-server UI from the below URL  https://Knxo-host:8443/gateway/default/ambari/  Note: replace default with your correct 'identity-assertion' 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		01-13-2017
	
		
		10:13 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							   ilhami Kalkan  what is the current heap size configured? can you increase the heap size and try again?  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-14-2016
	
		
		03:54 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Ambari REST APIs to add a component in kerberized cluster. I tried and tested these in Ambari 2.4.1 version  Here is an example to install SECONDARY_NAMENODE  1.  API to Add a Component  curl -s -H "X-Requested-By:ambari" --user admin:admin -i -X POST -d '{"host_components":[{"HostRoles":{"component_name":"SECONDARY_NAMENODE"}}]}' http://AMBARIHOST:8080/api/v1/clusters/CLUSTERNAME/hosts?Hosts/host_name=COMPONENTHOST
  2. API to install the Above added component.  curl -s -H "X-Requested-By:ambari" --user admin:admin -i -X PUT -d '{"RequestInfo":{"context":"Install SECONDARY_NAMENODE","operation_level":{"level":"HOST_COMPONENT","cluster_name":"test","host_name":"COMPONENTHOST","service_name":"HDFS"}},"Body":{"HostRoles":{"state":"INSTALLED"}}}' http://AMBARIHOST:8080/api/v1/clusters/CLUSTERNAME/hosts/COMPONENTHOST/host_components/SECONDARY_NAMENODE
  3. API to provide kerberos credentials.  curl -s -H "X-Requested-By:ambari" --user admin:admin -i -X POST -d '{ "Credential" : { "principal" : "admin/admin", "key" : "admin", "type" : "temporary" } }' http://AMBARIHOST:8080/api/v1/clusters/CLUSTERNAME/credentials/kdc.admin.credential  Note: Replace CLUSTERNAME, AMBARIHOST, COMPONENTHOST with appropriate values 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
	
					
			
		
	
	
	
	
				
		
	
	
			
    
	
		
		
		12-12-2016
	
		
		09:24 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 @Bhavin Tandel  in the attached log it clearly says "  No name matching rdeluhxxxxx.rz-c007-j650.xx-xx.xx found" 
Please check your certificate used for YARN SSL whether it has correct hostname? 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-12-2016
	
		
		06:26 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 @Bhavin Tandel  Seems like you have enabled https for YARN components, can you please check if the certificate has corresponding correct hostnames? after that make sure to have root cert configured in Ambari server's Truststore. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-12-2016
	
		
		06:19 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							@Bhupesh Khanna Are you able to connect via curl from remote host? can you check if iptables are ON? 
						
					
					... View more