[ 
https://issues.apache.org/jira/browse/SENTRY-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13755190#comment-13755190
 ] 

Sravya Tirukkovalur commented on SENTRY-3:
------------------------------------------

[~prasadm] Is this the right way to use this tool on a real hadoop cluster:
{noformat}
bin/senty.sh --hive-home /usr/lib/hive --hive-config /etc/hive/conf -h
{noformat}

I get this error:
{noformat}
Exception in thread "main" java.io.IOException: Error opening job jar: 
/home/systest/incubator-sentry/lib/sentry-binding-hive-*.jar
        at org.apache.hadoop.util.RunJar.main(RunJar.java:135)
Caused by: java.util.zip.ZipException: error in opening zip file
        at java.util.zip.ZipFile.open(Native Method)
        at java.util.zip.ZipFile.<init>(ZipFile.java:127)
        at java.util.jar.JarFile.<init>(JarFile.java:135)
        at java.util.jar.JarFile.<init>(JarFile.java:72)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:133)
{noformat}

But the sentry jars are at /usr/lib/hive/lib
                
> Create a diagnostics tool for configuration validation
> ------------------------------------------------------
>
>                 Key: SENTRY-3
>                 URL: https://issues.apache.org/jira/browse/SENTRY-3
>             Project: Sentry
>          Issue Type: New Feature
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>         Attachments: sentry-3-WIP-1.patch.patch
>
>
> Create a tool for offline troubleshooting -
>   Validate the configuration
>   List permissions for a given user
>   Offline query validation

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to