sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenni Kuff (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-533) [Unit Test] TestHDFSIntegration.testEnd2End is failing due to NPE in Sentry Service
Date Wed, 19 Nov 2014 16:27:33 GMT
Lenni Kuff created SENTRY-533:
---------------------------------

             Summary: [Unit Test] TestHDFSIntegration.testEnd2End is failing due to NPE in
Sentry Service
                 Key: SENTRY-533
                 URL: https://issues.apache.org/jira/browse/SENTRY-533
             Project: Sentry
          Issue Type: Bug
    Affects Versions: 1.5.0
            Reporter: Lenni Kuff
            Priority: Blocker
             Fix For: 1.5.0


The *TestHDFSIntegration.testEnd2End* is failing repeatedly in the CI runs. Recent example
is:
https://builds.apache.org/job/Sentry-jdk-1.7/108/

It looks like there is a NPE from the server side callstack.

{code}
Error Message
-----------------------
Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.SentryGrantRevokeTask.
Unknown error for request: TAlterSentryRoleGrantPrivilegeRequest(protocol_version:1, requestorUserName:hive,
roleName:admin_role, privileges:[TSentryPrivilege(privilegeScope:SERVER, serverName:server1,
dbName:, tableName:, URI:, action:*, createTime:1416386831228, grantOption:FALSE, columnName:)]),
message: null. Server Stacktrace: java.lang.NullPointerException
 at org.apache.sentry.hdfs.SentryPlugin.getAuthzObj(SentryPlugin.java:222)
 at org.apache.sentry.hdfs.SentryPlugin.onAlterSentryRoleGrantPrivilege(SentryPlugin.java:161)
 at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor.alter_sentry_role_grant_privilege(SentryPolicyStoreProcessor.java:269)
 at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$alter_sentry_role_grant_privilege.getResult(SentryPolicyService.java:933)
 at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$alter_sentry_role_grant_privilege.getResult(SentryPolicyService.java:918)
 at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
 at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
 at org.apache.sentry.provider.db.service.thrift.SentryProcessorWrapper.process(SentryProcessorWrapper.java:48)
 at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
 at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:724)


Stacktrace
---------------------------
java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code
1 from org.apache.hadoop.hive.ql.exec.SentryGrantRevokeTask. Unknown error for request: TAlterSentryRoleGrantPrivilegeRequest(protocol_version:1,
requestorUserName:hive, roleName:admin_role, privileges:[TSentryPrivilege(privilegeScope:SERVER,
serverName:server1, dbName:, tableName:, URI:, action:*, createTime:1416386831228, grantOption:FALSE,
columnName:)]), message: null. Server Stacktrace: java.lang.NullPointerException
	at org.apache.sentry.hdfs.SentryPlugin.getAuthzObj(SentryPlugin.java:222)
	at org.apache.sentry.hdfs.SentryPlugin.onAlterSentryRoleGrantPrivilege(SentryPlugin.java:161)
	at org.apache.sentry.provider.db.service.thrift.SentryPolicyStoreProcessor.alter_sentry_role_grant_privilege(SentryPolicyStoreProcessor.java:269)
	at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$alter_sentry_role_grant_privilege.getResult(SentryPolicyService.java:933)
	at org.apache.sentry.provider.db.service.thrift.SentryPolicyService$Processor$alter_sentry_role_grant_privilege.getResult(SentryPolicyService.java:918)
	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
	at org.apache.sentry.provider.db.service.thrift.SentryProcessorWrapper.process(SentryProcessorWrapper.java:48)
	at org.apache.thrift.TMultiplexedProcessor.process(TMultiplexedProcessor.java:123)
	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:244)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:724)

	at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:277)
	at org.apache.sentry.tests.e2e.hdfs.TestHDFSIntegration.testEnd2End(TestHDFSIntegration.java:480)
{code}



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

Mime
View raw message