Member since 
    
	
		
		
		07-27-2018
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                7
            
            
                Posts
            
        
                0
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		07-27-2018
	
		
		03:46 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 This issue is now fixed. The problem was when I changed the rpc-address, I was just restarting the ambari server and agent. I was not restarting all the HDFS components, which was the issue. Thanks for all your suggestions. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-27-2018
	
		
		02:02 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 My dfs.namenode.rpc-address is below:  <property>
      <name>dfs.namenode.rpc-address</name>
      <value>mighadoop01.mydomain:8020</value>
</property>
   
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-27-2018
	
		
		01:39 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Not sure if this is helpful. But, netstat on say port 9000, seems to deliver different results.  netstat -tulapn | grep 9000  Output:  tcp        0      0 172.31.16.140:40174     172.31.16.140:9000      TIME_WAIT   -
tcp6       0      0 :::9000                 :::*                    LISTEN      11114/java
tcp6       0      0 172.31.16.140:9000      172.31.16.140:40180     TIME_WAIT   -
tcp6       0      0 172.31.16.140:9000      172.31.16.140:40176     TIME_WAIT   -
tcp6       0      0 172.31.16.140:9000      172.31.16.140:40178     TIME_WAIT   -
   
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-27-2018
	
		
		01:37 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Yes. SELINUX and firewall is off/disabled. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-27-2018
	
		
		01:36 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Yes to all your questions. And yes, we are on AWS. Machines can communicate over other ports. Please see my response to the previous answer.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-27-2018
	
		
		01:34 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Yes. From outside the server, I could resolve the other ports.   nc -zv mighadoop01.mydomain 8080  Output:  found 0 associations   found 1 connections:
     1:flags=82<CONNECTED,PREFERRED>
outif utun1
src 172.141.0.6 port 61294
dst 172.31.16.140 port 8080
rank info not available
TCP aux info available
Connection to mighadoop01.mydomain port 8080 [tcp/http-alt] succeeded! 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		07-27-2018
	
		
		12:40 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Followed all the instructions to set up the Hadoop 3.0 cluster and Ambari 2.7. HDFS port not accessible from outside.  1. The output of "netstat -tulapn | grep 8020 " from inside the server  tcp        0      0 127.0.1.1:8020          0.0.0.0:*               LISTEN      11892/java   tcp        0      0 127.0.1.1:8020          127.0.0.1:52128         ESTABLISHED 11892/java   tcp        0      0 127.0.0.1:55998         127.0.1.1:8020          TIME_WAIT   -   tcp        0      0 127.0.0.1:52128         127.0.1.1:8020          ESTABLISHED 11608/java   tcp        0      0 127.0.0.1:56118         127.0.1.1:8020          ESTABLISHED 13891/java   tcp        0      0 127.0.1.1:8020          127.0.0.1:56118         ESTABLISHED 11892/java  2. The output of "nc -zv mighadoop01.mydomain 8020" from outside.  nc: connectx to mighadoop01.mydomain port 8020 (tcp) failed: Connection refused  3. The output of "nc -zv mighadoop01.mydomain 8020" from inside the server.  Connection to mighadoop01.mydomain 8020 port [tcp/*] succeeded!  4. Server's /etc/hosts file  127.0.0.1localhost localhost.localdomain   ::1ip6-localhost ip6-loopback   172.31.16.140mighadoop01 mighadoop01.mydomain  Any pointers would be much appreciated. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
- 
						
							
		
			Apache Ambari
- 
						
							
		
			Apache Hadoop
