StarRocks / starrocks

The world's fastest open query engine for sub-second analytics both on and off the data lakehouse. With the flexibility to support nearly any scenario, StarRocks provides best-in-class performance for multi-dimensional analytics, real-time analytics, and ad-hoc queries. A Linux Foundation project.
https://starrocks.io
Apache License 2.0
9.03k stars 1.82k forks source link

存算分离原生表查询认证刷新失败 #53097

Open shuolinwang opened 19 hours ago

shuolinwang commented 19 hours ago

问题描述: 创建hdfs原生表后,可以正常查询,但是一天后,查询失败,提示starlet err Open hdfs file xxx.dat 上机器看文件是存在的

image

日志报错

image

storage volume创建语句 CREATE STORAGE VOLUME def_volume TYPE = HDFS LOCATIONS = ("xxx.db") PROPERTIES ( "enable"="true", "hadoop.security.authentication" = "kerberos", "hadoop.security.kerberos.ticket.cache.path" = "/tmp/krb5cc_999" );

现在排查思路是hdfs认证,因为每次都是一天后失败,而刚好认证的ticket cache的有效期是一天,希望各位大佬帮忙看下

image
kevincai commented 19 hours ago

check cn.out/be.out or jni.log if there is any useful log.