Giter VIP home page Giter VIP logo

ranger_modules's People

Contributors

sergealexandre avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ranger_modules's Issues

Update Hive policy is not working

Hello,

Thank you for this module.

I sucessfully test a Hive Poliy creation but I have a problem on policy update. Here the error :

fatal: [master-2]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"admin_password": "*",
"admin_url": "http://localhost:6080",
"admin_username": "admin",
"ca_bundle_file": "None",
"log_level": "None",
"policies": [
{
"audit": true,
"columns": [
"
"
],
"databases": [
"
"
],
"enabled": true,
"name": "Perceval_hive",
"permissions": [
{
"accesses": [
"all"
],
"delegate_admin": true,
"groups": [],
"users": [
"admin",
"ambari-qa",
"hive"
]
}
],
"tables": [
"
"
]
}
],
"service_name": null,
"state": "present",
"validate_certs": true
}
},
"logs": [],
"msg": "Invalid returned http code '400' when calling POST on 'http://localhost:6080/service/public/v2/api/policy': {"statusCode":1,"msgDesc":"(0) Validation failure: error code[3010], reason[Another policy already exists for matching resource: policy-name=[all - database, table, column], service=[Perceval_hive]], field[resources], subfield[null], type[semantically incorrect] "}"
}

Maybe I missed something, can you help me?

Thanks for your help.

Matthieu

Deleting hdfs ranger policy

Hello,

i'm facing an issue with deleteing policy from hdfs ranger

Here is my code for deleting...

  • name: Apply ranger Hdfs policy
    ranger_hdfs_policies:
    state: absent.
    admin_url: https://{{ groups['ranger'][0] }}:6182
    admin_username: "admin"
    admin_password: "{{ RANGER_ADMIN_PASSWORD }}"
    validate_certs: no
    policies:
    • name: " User {{ User_Ftid }} Home access "
      paths:
      • "/user/{{ User_Ftid }}"
        permissions:
      • users:
        • "{{ User_Ftid }}"
          accesses:
        • Write
        • read
        • execute
          tags:
    • ranger_policies
      when : User_Ftid[0] is defined

always i receive this error :
ERROR! couldn't resolve module/action 'ranger_hdfs_policies'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/var/www/html/JENKINS/workspace/Delete_user_NA/roles/Delete_user_NA/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

HDFS ranger rule

  • name: Apply ranger Hdfs policy
    ^ here
    Build step '

Row-Level Filtering support

I'm not sure if possible because I was looking at Ranger API documentation, but it would be possible to add support for Row Level Filter policies type?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.