hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hari Sankar Sivarama Subramaniyan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-10508) Strip out password information from config passed to Tez/MR in cases where password encryption is not used
Date Tue, 28 Apr 2015 21:09:07 GMT

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

Hari Sankar Sivarama Subramaniyan updated HIVE-10508:
-----------------------------------------------------
    Attachment: HIVE-10508.2.patch

[~thejas] Thanks for the review.
1. Made changes in MR job conf as well
2. Changed the value to empty string
3. conf.setVar() is not possible since conf is a jobconf. I can use conf.set(HiveConf.ConfVars.METASTOREPWD.name(),
"") .  However, I stuck with HiveConf.setVar() since it is used in other places in the same
file.
Please let me know if you think I need to change this.

> Strip out password information from config passed to Tez/MR in cases where password encryption
is not used
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-10508
>                 URL: https://issues.apache.org/jira/browse/HIVE-10508
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Hari Sankar Sivarama Subramaniyan
>            Assignee: Hari Sankar Sivarama Subramaniyan
>         Attachments: HIVE-10508.1.patch, HIVE-10508.2.patch
>
>
> Remove password information from configuration copy that is sent to Yarn/Tez. We don't
need it there. The config entries can potentially be visible to other users.



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

Mime
View raw message