hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-17609) Tool to manipulate delegation tokens
Date Tue, 26 Sep 2017 23:47:00 GMT


Hive QA commented on HIVE-17609:

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 7 failed/errored test(s), 11077 tests executed
*Failed tests:*
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[optimize_nullscan] (batchId=161)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[union_fast_stats] (batchId=156)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=235)
org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=235)

Test results:
Console output:
Test logs:

Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 7 tests failed

This message is automatically generated.

ATTACHMENT ID: 12889145 - PreCommit-HIVE-Build

> Tool to manipulate delegation tokens
> ------------------------------------
>                 Key: HIVE-17609
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore, Security
>    Affects Versions: 2.2.0, 3.0.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-17609.1.patch
> This was precipitated by OOZIE-2797. We had a case in production where the number of
active metastore delegation tokens outstripped the ZooKeeper {{jute.maxBuffer}} size. Delegation
tokens could neither be fetched, nor be cancelled. 
> The root-cause turned out to be a miscommunication, causing delegation tokens fetched
by Oozie *not* to be cancelled automatically from HCat. This was sorted out as part of OOZIE-2797.
> The issue exposed how poor the log-messages were, in the code pertaining to token fetch/cancellation.
We also found need for a tool to query/list/purge delegation tokens that might have expired
already. This patch introduces such a tool, and improves the log-messages.

This message was sent by Atlassian JIRA

View raw message