Member since 
    
	
		
		
		11-15-2016
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                8
            
            
                Posts
            
        
                1
            
            
                Kudos Received
            
        
                1
            
            
                Solution
            
        My Accepted Solutions
| Title | Views | Posted | 
|---|---|---|
| 7429 | 12-15-2016 05:29 PM | 
			
    
	
		
		
		12-15-2016
	
		
		05:29 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 Hi  Issue resolved. I share the solution ...  The pb was due to missconfiguration on datanode /etc/hosts after reboot. node2 cannot connect to node1 via FQDN  It's an important point (not clear in the doc). All nodes ambari server and data must be able to connect each other  BR  Maxime 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-15-2016
	
		
		11:03 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi  Some more info ...  ambari-server IP : 192.168.0.7 / ambari-node-1 : 192.168.0.3 / ambari-node-1 : 192.168.0.4  netstat -nputw on ambari-server  tcp6       0      0 192.168.0.7:8441        192.168.0.3:53747       ESTABLISHED 1593/java
....
tcp6       0      0 192.168.0.7:8441        192.168.0.4:48140       ESTABLISHED 1593/java  So coonection seems established beetween server and 2 agents  Picture of my amabari UI :       Thanks for your Help 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-14-2016
	
		
		08:52 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi  I made some check  1) ambari server is up and running  2) ambari agent are up and running on the 2 datanode (I checked the pid)  3) ambari agent can connect to ambari server (/etc/ambari-agent/conf/ambari-agent.ini is OK)  4) ambari server can connect on 2 datanode with ssh-key  ambari-agent(node-1).log : On the 2 nodes connection to ambari server seems OK. Error on service connection => the node try to connect himself on port 8042
  INFO 2016-12-14 18:47:19,360 PingPortListener.py:50 - Ping port listener started on port: 8670INFO 2016-12-14 18:47:19,360 main.py:349 - Connecting to Ambari server at https://ambari.novalocal:8440 (192.168.0.7)INFO 2016-12-14 18:47:19,360 NetUtil.py:62 - Connecting to https://ambari.novalocal:8440/caINFO 2016-12-14 18:47:19,469 main.py:359 - Connected to Ambari server ambari.novalocal  ERROR 2016-12-14 19:00:19,561 script_alert.py:119 - [Alert][yarn_nodemanager_health] Failed with result CRITICAL: ['Connection failed to http://hdp-node1.mycluster.com:8042/ws/v1/node/info (Traceback (most recent call last):\n  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanager_health.py", line 171, in execute\n  url_response = urllib2.urlopen(query, timeout=connection_timeout)\n  File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen\n  return _opener.open(url, data, timeout)\n  File "/usr/lib/python2.7/urllib2.py", line 404, in open\n  response = self._open(req, data)\n  File "/usr/lib/python2.7/urllib2.py", line 422, in _open\n  \'_open\', req)\n  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain\n  result = func(*args)\n  File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open\n  return self.do_open(httplib.HTTPConnection, req)\n  File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open\n  raise URLError(err)\nURLError: <urlopen error [Errno 111] Connection refused>\n)']  Maxime 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-14-2016
	
		
		04:54 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi James  When I try to start services (all or one)  from Ambari UI the stderr and stdout are empty. It seems that Ambari server is not connected to nodes agent  Maxime 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-14-2016
	
		
		04:17 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Many thanks for your feedback. Maybe I don't understand something  I'm not able to start services from Ambari UI and I don't have error trace in file   /var/log/ambari-server/ambari-server.log  So Do I have to restart serveices manually on each datanode. In my comprehension after restarting ambari server and ambari node agent (2 nodes) I should can start Services fom Ambari UI  BR  Maxime 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-14-2016
	
		
		02:52 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi  I can't restart any services from Ambari UI ... The Ambari Agent is up and running on each node   On Vms restart what is the procedure to restart the cluster ? Do we have to start ambari server and ambari agent and then start services via Ambari UI  Thks  Maxime 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		12-14-2016
	
		
		01:56 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hi  I installed HDP with 1 Ambari server and 2 nodes. After all VM restart I restarted ambari-server and ambari-agent (each nodes)  I logged to Ambari UI but I have a status "datanodes 0/2 started"  Thanks for your help 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
 - 
						
							
		
			Apache Ambari