hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mithun Radhakrishnan (JIRA)" <>
Subject [jira] [Updated] (HIVE-9736) StorageBasedAuthProvider should batch namenode-calls where possible.
Date Wed, 29 Apr 2015 08:16:06 GMT


Mithun Radhakrishnan updated HIVE-9736:
    Attachment: HIVE-9736.5.patch

As per [~sushanth]'s suggestion, I've squashed the patches for HIVE-9681 and HIVE-9736 into
a single one. This should allow the patch to apply to trunk, for tests.

(Good idea, Sush.)

> StorageBasedAuthProvider should batch namenode-calls where possible.
> --------------------------------------------------------------------
>                 Key: HIVE-9736
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore, Security
>            Reporter: Mithun Radhakrishnan
>            Assignee: Mithun Radhakrishnan
>         Attachments: HIVE-9736.1.patch, HIVE-9736.2.patch, HIVE-9736.3.patch, HIVE-9736.4.patch,
> Consider a table partitioned by 2 keys (dt, region). Say a dt partition could have 10000
associated regions. Consider that the user does:
> {code:sql}
> ALTER TABLE my_table DROP PARTITION (dt='20150101');
> {code}
> As things stand now, {{StorageBasedAuthProvider}} will make individual {{DistributedFileSystem.listStatus()}}
calls for each partition-directory, and authorize each one separately. It'd be faster to batch
the calls, and examine multiple FileStatus objects at once.

This message was sent by Atlassian JIRA

View raw message