https://medium.com/@lucjuggery/docker-apparmor-30-000-foot-view-60c5a5deb7b#.nj5v0if6h
apache-spark-stderr-and-stdout
Try this in log4j.properties passed to Spark (or modify default configuration under Spark/conf)
# Log to stdout and stderr
log4j.rootLogger=INFO, stdout, stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PRO TIP: Transfer git repo without `.git` folder using tar.gz | ssh `git archive HEAD | gzip -c | ssh <host> 'tar -zxvf -' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-4.3# curl -4 \ | |
--insecure \ | |
-sSf \ | |
-w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nAppCon time:\t%{time_appconnect}\nRedirect time:\t%{time_redirect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' \ | |
-o /dev/null | |
-XPUT https://my-endpoint |
NewerOlder