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

Spark driver stderr logs should appear in hive client logs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      Currently, spark driver exceptions are not getting logged in beeline. Instead, the users sees the not-so-useful:

      ERROR : Failed to execute spark task, with exception 'org.apache.hadoop.hive.ql.metadata.HiveException(Failed to create spark client.)'
      <huge stack trace ommitted>
      

      The user has to look at HS2 logs to discover the root cause:

      2015-04-01 11:33:16,048 INFO org.apache.hive.spark.client.SparkClientImpl: 15/04/01 11:33:16 WARN UserGroupInformation: PriviledgedActionException as:foo (auth:PROXY) via hive (auth:SIMPLE) cause:org.apache.hadoop.security.AccessControlException: Permission denied: user=foo, access=WRITE, inode="/user":hdfs:supergroup:drwxr-xr-x
      ...
      

      We should surface these critical errors in hive client.

      Attachments

        1. HIVE-13657.patch
          4 kB
          Mohit Sabharwal
        2. HIVE-13657.1.patch
          4 kB
          Mohit Sabharwal

        Activity

          People

            mohitsabharwal Mohit Sabharwal
            mohitsabharwal Mohit Sabharwal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: