【问题标题】:impala-shell query failing with Error(13)impala-shell 查询失败并出现错误 (13)
【发布时间】:2015-07-30 14:10:23
【问题描述】:

我在 3 节点集群上运行 impala-shell。有些查询可以正常工作,但有些则返回以下错误:

Create file /tmp/impala-scratch/924abcb4827fd7ba:d15cd3585951f4b2_c8e0146a-37cd-457a-96f6-ac5d933cd4da failed with errno=13 description=Error(13): Permission denied

我已经检查了我的本地目录,并且 /tmp/impala-scratch 确实存在并且我可以读写执行。任何提示将不胜感激!

【问题讨论】:

    标签: shell impala


    【解决方案1】:

    好的,所以我想通了。原来旧的 /tmp/impala-scratch 有访问权限: drwxr-xr-x

    根据: Hiveserver2: Failed to create/change scratchdir permissions to 777: Could not create FileClient

    您必须将权限更改为 777:

    chmod -R 777 /tmp/impala-scratch/

    这解决了它。

    【讨论】:

      猜你喜欢
      • 2022-07-18
      • 2013-09-17
      • 2015-07-04
      • 2021-08-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多