遇到kylin往hdfs写数据权限问题

问题:Caused by:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.security.AccessControlException): Permission denied: user=root, access=WRITE, inode="/user/root/.hiveJars":hdfs:hdfs:drwxr-xr-x
解决办法:
执行。

export HADOOP_USER_NAME=hdfs
hadoop fs -chmod -R 777 /  
[atguigu@hadoop105 logs]$ tail -n 50 kylin.log 2025-06-01 18:51:12,570 INFO [Scheduler 870863417 Job e902ec64-5d8e-45b5-a8bc-8262dce7ba9f-146] job.NSparkExecutable:41 : 2025-06-01 18:51:12,560 INFO [pool-1-thread-1] parser.CapacitySchedulerParser : Capacity actual available resource: AvailableResource(ResourceInfo(2048,536870911),ResourceInfo(8192,2147483647)). 2025-06-01 18:51:12,570 INFO [Scheduler 870863417 Job e902ec64-5d8e-45b5-a8bc-8262dce7ba9f-146] job.NSparkExecutable:41 : 2025-06-01 18:51:12,561 INFO [pool-1-thread-1] application.SparkApplication : Current available resource in cluster is not sufficient, wait for a period: 343492. 2025-06-01 18:51:34,478 INFO [FetcherRunner 769301877-24] threadpool.DefaultFetcherRunner:117 : Job Fetcher: 1 should running, 1 actual running, 0 stopped, 0 ready, 0 already succeed, 4 error, 0 discarded, 0 others 2025-06-01 18:52:01,567 DEBUG [BadQueryDetector] service.BadQueryDetector:148 : Detect bad query. 2025-06-01 18:52:04,480 INFO [FetcherRunner 769301877-24] threadpool.DefaultFetcherRunner:117 : Job Fetcher: 1 should running, 1 actual running, 0 stopped, 0 ready, 0 already succeed, 4 error, 0 discarded, 0 others 2025-06-01 18:52:34,478 INFO [FetcherRunner 769301877-24] threadpool.DefaultFetcherRunner:117 : Job Fetcher: 1 should running, 1 actual running, 0 stopped, 0 ready, 0 already succeed, 4 error, 0 discarded, 0 others 2025-06-01 18:53:01,567 DEBUG [BadQueryDetector] service.BadQueryDetector:148 : Detect bad query. 2025-06-01 18:53:03,257 DEBUG [http-nio-7070-exec-1] badquery.BadQueryHistoryManager:65 : Loaded 0 Bad Query(s) 2025-06-01 18:53:04,478 INFO [FetcherRunner 769301877-24] threadpool.DefaultFetcherRunner:117 : Job Fetcher: 1 should running, 1 actual running, 0 stopped, 0 ready, 0 already succeed, 4 error, 0 discarded, 0 others 2025-06-01 18:53:34,477 INFO [FetcherRunner 769301877-24] threadpool.DefaultFetcherRunner:117 : Job Fetcher: 1 should running, 1 actual running, 0 stopped, 0 ready, 0 already succeed, 4 error, 0 discarded, 0 othe
06-02
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值