搭建hive远程模式集群时配置文件core-site.xml未生效

在搭建hive集群时在2号机使用beeline命令连接一号机的hiveserver2服务时报错

! connect jdbc:hive2://node01:10000
Connecting to jdbc:hive2://node01:10000
Enter username for jdbc:hive2://node01:10000: root
Enter password for jdbc:hive2://node01:10000: password
22/04/14 05:59:55 [main]: WARN jdbc.HiveConnection: Failed to connect to node01:10000
Could not open connection to the HS2 server. Please check the server URI and if the URI is correct, then ask the administrator to check the server status.
Error: Could not open client transport with JDBC Uri: jdbc:hive2://node01:10000: java.net.NoRouteToHostException: No route to host (Host unreachable) (state=08S01,code=0)
 在报错后我查到时Hadoop的安全伪装机制需要修改core-site.xml文件之后重启Hadoop集群但是我重启之后
在连接时再次报这个错所以我觉得是这个文件未生效我想要这个文件生效