Skip to content

policycache/hiveserver2_hive-tdp.json not created #871

@hamdiazz

Description

@hamdiazz

Hive is deployed, but i had the issue below in hiveserver2.err:

2024-08-13 17:55:49,179 ERROR util.PolicyRefresher: failed to save policies to cache file '/etc/ranger/hive-tdp/policycache/hiveServer2_hive-tdp.json'
java.io.FileNotFoundException: /etc/ranger/hive-tdp/policycache/hiveServer2_hive-tdp.json (Permission non accordée)

The directory /etc/ranger/hive-tdp/policycache is created with theses access:

drwxr-xr-x 2 root root   6 19 août  11:18 policycache

With "hive" as user, it works !

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions