Member since 
    
	
		
		
		09-01-2017
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                3
            
            
                Posts
            
        
                0
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		03-17-2017
	
		
		04:08 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Can someone please elaborate more on how to set up  passwordless SSH or embed into workflow? Thank you.  
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		03-17-2017
	
		
		12:50 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hello Artem,
thanks, adding an interpreter line worked. I don't know how could I forget
that...? I think, i'm doing lot of multi tasking. Also I don't have
python 3 installed so I was running on python 2. Once again, thank you for
quick response. Really appreciate it. Sam 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		03-16-2017
	
		
		07:30 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 Hello Artem, I'm in similar need and want to create workflow using python scripts. Tried your example. For some reason it's throwing following error massage on oozie UI:   Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]  I've tried to dig down and checked oozie server logs, found nothing but below :   2017-03-16 13:48:50,854  WARN ShellActionExecutor:523 -SERVER[xxx.xx.xxxx.] USER[xxx] GROUP[-] TOKEN[-] APP[hive2-wf] JOB[0002575-170307222346265-oozie-oozi-W] ACTION[0002575-170307222346265-oozie-oozi-W@shell-node] Launcher ERROR, reason: Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]  Further I checked yarn logs under LogType:launch_container.sh  and found below:   LogType:stderr 
Log Upload Time:Thu Mar 16 15:00:46 -0400 2017 
LogLength:382 
Log Contents:
./script.py: line 1: print: command not found 
Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.ShellMain], exit code [1]  My script.py has only one line  print "hello"  I'm able to run python file on node but same script not working when submitted thru oozie.   Overalll, what I have understood is - python libraries are not getting available when submitting thru oozie server.   Can you please suggest.   
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		 
        

