这玩意儿装起来真是呕心沥血。
网上找不到编译后的文件,下载下来是源码,大小只有2.27 MB……编译完变成2GB了。
得装mysql
得装maven(这个尤其重要)
得配置hadoop代理等等
/etc/hosts里面的问题尤其无语:
一定记得要进hadoop-master2-namenode-ubuntu.log查看日志,会发现很多exception。这回是非常恶心的问题,装oozie的时候有的教程叫关掉
hosts里面对于ubuntu 127.0.1.1的设置。
结果hadoop说:UnknownHostException: ubuntu: Temporary failure in name resolution 而去掉ubuntu设置,又会导致
上传oozie任务的时候出现:
Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 1 sec.
Retry count = 1
Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 2 sec.
Retry count = 2
Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 4 sec.
Retry count = 3
Connection exception has occurred [ java.net.ConnectException Connection refused (Connection refused) ]. Trying after 8 sec.
Retry count = 4