我的语句:create table dwd_personas.dwd_train as
select userid,eventid,invited,hour(time)invited_time,dayofweek_func(time)invited_week,interested label from ods_personas_raw.ods_train
报错:
java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 2 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask
查看日志:
java.io.EOFException: End of File Exception between local host is: "xx/192.168.100.155"; destination host is: "xx":9000; : java.io.EOFException; For more details see: http://wiki.apache.org/hadoop/EOFException
修改/etc/hosts
没有效
hadoop安装包下的etc/hadoop/core.site.xml slaves 等配置文件中的 ip或结点名称 改为 结点ip 192.168.. 或名称
主要是要么都是使用主机名要么都使用ip地址