hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Cseh (JIRA)" <>
Subject [jira] [Commented] (HIVE-15767) Hive On Spark is not working on secure clusters from Oozie
Date Tue, 08 Aug 2017 07:13:00 GMT


Peter Cseh commented on HIVE-15767:

I don't remember all the details, but here is a longer stack trace:{code}
java.lang.RuntimeException: Exception reading file:/yarn/nm/usercache/yshi/appcache/application_1485271416004_0001/container_1485271416004_0001_01_000002/container_tokens
	at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(
Spark does not refer the {{mapreduce.job.credentials.binary}} directly, it is hard-coded in
Hadoop's TokenCache [here|].
I think this TokenCache is used by Hadoop's FileSystem implementation too so when Spark talks
to HDFS it does through this class.

> Hive On Spark is not working on secure clusters from Oozie
> ----------------------------------------------------------
>                 Key: HIVE-15767
>                 URL:
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>    Affects Versions: 1.2.1, 2.1.1
>            Reporter: Peter Cseh
>            Assignee: Peter Cseh
>         Attachments: HIVE-15767-001.patch, HIVE-15767-002.patch, HIVE-15767.1.patch
> When a HiveAction is launched form Oozie with Hive On Spark enabled, we're getting errors:
> {noformat}
> Caused by: Exception reading file:/yarn/nm/usercache/yshi/appcache/application_1485271416004_0022/container_1485271416004_0022_01_000002/container_tokens
>         at
>         at
> {noformat}
> This is caused by passing the {{mapreduce.job.credentials.binary}} property to the Spark
configuration in RemoteHiveSparkClient.

This message was sent by Atlassian JIRA

View raw message