Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-15767

Hive On Spark is not working on secure clusters from Oozie

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.1, 2.1.1
    • 3.0.0
    • Spark
    • None

    Description

      When a HiveAction is launched form Oozie with Hive On Spark enabled, we're getting errors:

      Caused by: java.io.IOException: Exception reading file:/yarn/nm/usercache/yshi/appcache/application_1485271416004_0022/container_1485271416004_0022_01_000002/container_tokens
              at org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:188)
              at org.apache.hadoop.mapreduce.security.TokenCache.mergeBinaryTokens(TokenCache.java:155)
      

      This is caused by passing the mapreduce.job.credentials.binary property to the Spark configuration in RemoteHiveSparkClient.

      Attachments

        1. HIVE-15767.1.patch
          1 kB
          Gézapeti
        2. HIVE-15767-001.patch
          1 kB
          Gézapeti
        3. HIVE-15767-002.patch
          1 kB
          Gézapeti

        Activity

          People

            gezapeti Gézapeti
            gezapeti Gézapeti
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: