Member since 
    
	
		
		
		02-04-2016
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                9
            
            
                Posts
            
        
                5
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		09-13-2016
	
		
		04:20 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Wow, that helped! @jk, thank you very much! I understood why I got this message: it's because I git cloned repo from my windows machine and copied the files to linux cluster. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		09-13-2016
	
		
		04:02 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I'm trying to install Zeppelin using this tutorial: http://hortonworks.com/hadoop-tutorial/apache-zeppelin-hdp-2-4/  I have a brand new 2-node HDP cluster with HDP 2.4. I tried to install Zeppelin both at Name Node and the other node. I receive the following stderr in both cases:  Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py", line 235, in <module>
    Master().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
    method(env)
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/master.py", line 85, in install
    user=params.zeppelin_user)
  File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 154, in __init__
    self.env.run()
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run
    self.run_action(resource, action)
  File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action
    provider_action()
  File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 238, in action_run
    tries=self.resource.tries, try_sleep=self.resource.try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70, in inner
    result = function(command, **kwargs)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92, in checked_call
    tries=tries, try_sleep=try_sleep)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140, in _call_wrapper
    result = _call(command, **kwargs_copy)
  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
    raise Fail(err_msg)   resource_management.core.exceptions.Fail: Execution of '/var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/setup_snapshot.sh /usr/hdp/current/zeppelin-server/lib m348hdp2-dev.nova.otp.int 9083 10001 m348hdp2-dev.nova.otp.int 9995 True /var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package /usr/jdk64/jdk1.8.0_60 >> /var/log/zeppelin/zeppelin-setup.log' returned 126. -bash: /var/lib/ambari-agent/cache/stacks/HDP/2.4/services/ZEPPELIN/package/scripts/setup_snapshot.sh: /bin/bash^M: bad interpreter: No such file or directory 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
- 
						
							
		
			Apache Zeppelin
			
    
	
		
		
		02-25-2016
	
		
		02:36 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Looks like after reinstalling ambari-agent metrics crashed. I recieve an error when trying to start it:  Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 58, in <module>
    AmsMonitor().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 219, in execute
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 37, in start
    self.configure(env) # for security
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_monitor.py", line 32, in configure
    import params
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py", line 26, in <module>
    import status_params
  File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/status_params.py", line 37, in <module>
    kinit_path_local = functions.get_kinit_path(default('/configurations/kerberos-env/executable_search_paths', None))
NameError: name 'functions' is not defined 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-20-2016
	
		
		02:33 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Yep, that did help. So in my case the final result is:   remove all ambari* from /usr/lib/python2.6/site-packages  yum remove ambari-agent  yum install ambari-agent  ps -ef | grep ambari  kill -9 <process_id> with <process_id> of ambari_agent processes  ambari-agent start   Thank you very much! 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-20-2016
	
		
		02:18 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 That didn't help, I still get the errors.   I've found a solution from another simillar issue:   remove all ambari* from /usr/lib/python2.6/site-packages, then  yum remove ambari-agent  yum install ambari-agent   That did help, but now I can't start ambari-agent because of the folllowing error:  "Failed to start ping port listener of: [Errno 98] Address already in use" 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-12-2016
	
		
		03:48 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I reinstalled ambari-client but it didn't help. It didn't even allow to stop Flume service:  Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py", line 20, in <module>
    import flume_upgrade
  File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_upgrade.py", line 24, in <module>
    from resource_management.core.logger import Logger
  File "/usr/lib/python2.6/site-packages/resource_management/__init__.py", line 23, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/__init__.py", line 23, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/__init__.py", line 25, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/default.py", line 24, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/__init__.py", line 23, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 31, in <module>
  File "/usr/lib/python2.6/site-packages/ambari_commons/__init__.py", line 21, in <module>
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 133, in <module>
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 115, in __init__
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 112, in initialize_data   Exception: Couldn't load 'os_family.json' file 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		02-12-2016
	
		
		03:00 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
	
		1 Kudo
		
	
				
		
	
		
					
							 I have an error when restarting flume agent on one of two HDP nodes:  Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-RESTART/scripts/hook.py", line 20, in <module>
    from resource_management import *
  File "/usr/lib/python2.6/site-packages/resource_management/__init__.py", line 23, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/__init__.py", line 23, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/__init__.py", line 25, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/default.py", line 24, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/__init__.py", line 23, in <module>
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 31, in <module>
  File "/usr/lib/python2.6/site-packages/ambari_commons/__init__.py", line 21, in <module>
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 133, in <module>
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 115, in __init__
  File "/usr/lib/python2.6/site-packages/ambari_commons/os_check.py", line 112, in initialize_data   Exception: Couldn't load 'os_family.json' file  First HDP node restats OK. Both nodes are freshly installed and simillar. What's wrong?  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
- 
						
							
		
			Apache Ambari
- 
						
							
		
			Apache Flume
 
        





