You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/12/09 04:33:11 UTC
[jira] [Commented] (SENTRY-957) Exceptions in
MetastoreCacheInitializer should probably not prevent HMS from starting up
[ https://issues.apache.org/jira/browse/SENTRY-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15047964#comment-15047964 ]
Hadoop QA commented on SENTRY-957:
----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12776466/SENTRY-957.002.patch against master.
{color:red}Overall:{color} -1 due to 57 errors
{color:red}ERROR:{color} mvn test exited 1
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestLockPrivileges
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestCrossDbOps
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestSandboxOps
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbExportImportPrivileges
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestMovingToProduction
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPrivilegesAtFunctionScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestPrivilegeWithHAGrantOption
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbComplexView
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbMovingToProduction
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.metastore.TestMetaStoreWithPigHCat
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.metastore.TestAuthorizingObjectStore
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbEndToEnd
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegesAtColumnScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestJDBCInterface
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegesAtFunctionScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestOperations
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestConfigTool
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbMetadataPermissions
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPerDBConfiguration
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbJDBCInterface
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbRuntimeMetadataRetrieval
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegesAtTableScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestRuntimeMetadataRetrieval
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPrivilegesAtColumnScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbUriPermissions
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbMetadataObjectRetrieval
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestMetadataObjectRetrieval
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.ha.TestHaEnd2End
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegeAtTransform
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbSandboxOps
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestMetadataPermissions
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegesAtDatabaseScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPrivilegeAtTransform
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbCrossDbOps
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbPrivilegeCleanupOnDrop
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestEndToEnd
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPrivilegesAtDatabaseScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPolicyImportExport
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestReloadPrivileges
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestViewPrivileges
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestSentryOnFailureHookLoading
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestServerConfiguration
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestUserManagement
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestPrivilegeWithGrantOption
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbDDLAuditLog
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestUriPermissions
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestColumnEndToEnd
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDatabaseProvider
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbOperations
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPrivilegesAtTableScope
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.metastore.TestMetastoreEndToEnd
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbColumnLevelMetaDataOps
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestExportImportPrivileges
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestPerDatabasePolicyFile
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbConnections
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbSentryOnFailureHookLoading
Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/1017/console
This message is automatically generated.
> Exceptions in MetastoreCacheInitializer should probably not prevent HMS from starting up
> ----------------------------------------------------------------------------------------
>
> Key: SENTRY-957
> URL: https://issues.apache.org/jira/browse/SENTRY-957
> Project: Sentry
> Issue Type: Bug
> Components: Hdfs Plugin
> Affects Versions: 1.7.0
> Reporter: Sravya Tirukkovalur
> Assignee: Hao Hao
> Fix For: 1.7.0
>
> Attachments: SENTRY-957.001.patch, SENTRY-957.002.patch
>
>
> Right now if there is an error condition in evaluating paths in MetastoreCacheInitializer in one of the tasks, we throw a Runtime Exception. The more I think about, it looks like it would be best to log an error and continue; as a plugin should not cause the service to come down? On the other hand, doing so might result in incomplete sync which might make it hard to get to the root cause.
> {noformat}
> for (Future<CallResult> result : results) {
> CallResult callResult = result.get();
> if (callResult.failure != null) {
> throw new RuntimeException(callResult.failure);
> }
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)