Error: Error while compiling statement: FAILED: SemanticException Unable to determine if hdfs://hadoopNode2:8020/user/hive/warehouse/test is encrypted...
1.发现问题:
在hive客户端或者beeline查询hive表时候报错:
根据报错信息查看,是在集群namenode做了HA之后,产生的hdfs路径不对的问题;
2.解决问题,修改hive元数据mysql信息表DBS和SDS:
更改语句:
mysql> update sds set LOCATION = REPLACE(LOCATION,'hadoopNode2:8020','cdh-test-gxc');