hadoop102链接不上
用
vim /etc/sysconfig/network-scripts/ifcfg-ens33
更改IP地址,然后重启网卡即可
systemctl stop NetworkManager 关闭掉网络管理
systemctl disable NetworkManager 将网络管理禁用
service network restart 重启网卡
springBoot获取数据报错
{"timestamp":"2023-08-29T01:29:18.747+00:00","status":500,"error":"Internal Server Error","path":"/applog"} used:3 ms
复制这些到
@ControllerAdvice
public class EntityExceptionHandler {
@ExceptionHandler(value = { Exception.class })
public ResponseEntity<Object> handleAnyException(Exception ex, WebRequest request) {
return new ResponseEntity<>(
ex.getMessage(), new HttpHeaders(), HttpStatus.INTERNAL_SERVER_ERROR);
}
}
结果
flink_db没有启动收集数据
cd flink_db
java -jar gmall2020-mock-db-2020-11-27.jar