You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sergio Peña (JIRA)" <ji...@apache.org> on 2016/09/27 20:22:20 UTC

[jira] [Commented] (HIVE-14848) S3 creds added to a hidden list by HIVE-14588 are not working on MR jobs

    [ https://issues.apache.org/jira/browse/HIVE-14848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15527300#comment-15527300 ] 

Sergio Peña commented on HIVE-14848:
------------------------------------

[~lskuff] FYI

> S3 creds added to a hidden list by HIVE-14588 are not working on MR jobs
> ------------------------------------------------------------------------
>
>                 Key: HIVE-14848
>                 URL: https://issues.apache.org/jira/browse/HIVE-14848
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>    Affects Versions: 2.2.0
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>         Attachments: HIVE-14848.1.patch
>
>
> When S3 credentials are included in hive-site.xml, then MR jobs that need to read
> data from S3 cannot use them because S3 values are stripped from the Job configuration
> object before submitting the MR job.
> {noformat}
> @Override
> public void initialize(HiveConf conf, QueryPlan queryPlan, DriverContext driverContext) {
>   ...
>   conf.stripHiddenConfigurations(job);
>   this.jobExecHelper = new HadoopJobExecHelper(job, console, this, this);
> }
> {noformat}
> We should use a MR property {{mapreduce.job.redacted-properties}} instead to hide this list on the MR side (such as history server UI) to allow MR run the job without issues.



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