sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-1064) Fix TestDbOperations#testCaseSensitivity
Date Fri, 12 Feb 2016 23:31:18 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anne Yu updated SENTRY-1064:
----------------------------
    Attachment: SENTRY-1064.1.patch

> Fix TestDbOperations#testCaseSensitivity
> ----------------------------------------
>
>                 Key: SENTRY-1064
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1064
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.7.0
>            Reporter: Anne Yu
>            Assignee: Anne Yu
>             Fix For: 1.7.0
>
>         Attachments: SENTRY-1064.0.patch, SENTRY-1064.1.patch
>
>
> There is one failure found across all setups on a real cluster:
> {code}
> org.apache.sentry.tests.e2e.dbprovider.TestDbOperations.testCaseSensitivity
> Failing for the past 3 builds (Since Unstable#4174 )
> Took 1.8 sec.
> add description
> Error Message
> Permission denied: user=hive, access=WRITE, inode="/":hdfs:supergroup:drwxr-xr-x
>  at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkFsPermission(DefaultAuthorizationProvider.java:281)
>  at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:262)
>  at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.check(DefaultAuthorizationProvider.java:242)
>  at org.apache.hadoop.hdfs.server.namenode.DefaultAuthorizationProvider.checkPermission(DefaultAuthorizationProvider.java:169)
>  at org.apache.sentry.hdfs.SentryAuthorizationProvider.checkPermission(SentryAuthorizationProvider.java:178)
>  at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.checkPermission(FSPermissionChecker.java:152)
>  at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:6590)
>  at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:6572)
>  at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkAncestorAccess(FSNamesystem.java:6524)
>  at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:4322)
>  at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInt(FSNamesystem.java:4292)
>  at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:4265)
>  at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.mkdirs(NameNodeRpcServer.java:867)
>  at org.apache.hadoop.hdfs.server.namenode.AuthorizationProviderProxyClientProtocol.mkdirs(AuthorizationProviderProxyClientProtocol.java:322)
>  at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.mkdirs(ClientNamenodeProtocolServerSideTranslatorPB.java:603)
>  at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
>  at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:617)
>  at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1073)
>  at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2086)
>  at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:2082)
>  at java.security.AccessController.doPrivileged(Native Method)
>  at javax.security.auth.Subject.doAs(Subject.java:415)
>  at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1693)
>  at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2080)
> Stacktrace
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message