Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

./build/env/bin/hue shell < script.py

# Set environment variables used to run the Hue webserver:
for line in `strings /proc/$(lsof -i :8888|grep -m1 python|awk '{ print $2 }')/environ|egrep -v "^HOME=|^TERM=|^PWD="`;do export $line;done
              
Source by docs.cloudera.com #
 
PREVIOUS NEXT
Tagged: #shell
ADD COMMENT
Topic
Name
9+6 =