以下是使用start-all.sh
启动hadoop守护进程时收到的错误消息:attached screenshot
STARTUP_MSG: build = https://git-wip-us.apache.org/repos/asf/hadoop.git -r 91f2b7a13d1e97be65db92ddabc627cc29ac0009; compiled by 'jdu' on 2017-03-17T04:12Z
STARTUP_MSG: java = 1.8.0_121
cat: /usr/local/hadoop/conf/slaves: No such file or directory
有哪些修正?
答案 0 :(得分:0)
查看错误消息,您似乎缺少SELECT
l.*,SUM(lp.amount) AS landPayMonth,p.pName,u.uName,SUM(ci.amount) AS totAmnt,
t.unitId
FROM
(SELECT DISTINCT landlord_payment.id,landlord_payment.amount,landlord_payment.landlordId FROM landlord_payment) lp,
(SELECT DISTINCT cashIn.id,cashIn.tenantId,cashIn.registeredTime,cashIn.amount FROM cashIn) ci,landlords l,properties p,units u,tenants t
WHERE
ci.tenantId = t.id
AND l.id = lp.landlordId
AND t.unitId = u.id
AND u.propertyId = p.id
AND p.landlordId = l.id
AND STR_TO_DATE(ci.registeredTime, '%Y-%m') = STR_TO_DATE(CURDATE(), '%Y-%m')
GROUP BY l.id;
目录中的slaves
文件。你可以创建一个
如果您在/usr/local/hadoop/conf/
模式下运行hadoop
,则只需将local/pseudo
放入该文件中
如果您在localhost
模式下运行hadoop
,则需要在群集中添加所有cluster
的{{1}}或ip
个。