Uploaded image for project: 'CDH (READ-ONLY)'
  1. CDH (READ-ONLY)
  2. DISTRO-501

CDH-4.3.0 no longer includes fix for HIVE-3528 (regression from 4.2.1)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CDH4.3.0
    • Fix Version/s: CDH4.4.0
    • Component/s: Hive
    • Labels:

      Description

      CDH-4.2.1 includes a fix for HIVE-3528:
      http://archive.cloudera.com/cdh4/cdh/4/hive-0.10.0-cdh4.2.1.releasenotes.html

      CDH-4.3.0 unfortunately does not include this fix:
      http://archive.cloudera.com/cdh4/cdh/4/hive-0.10.0-cdh4.3.0.releasenotes.html

      Hive queries that try to write data in avro format with an optional record will no longer work. The following error shows up in the mapper logs:

      2013-07-19 12:11:34,149 WARN org.apache.hadoop.mapred.Child: Error running child
      java.lang.RuntimeException: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row {...}
      	at org.apache.hadoop.hive.ql.exec.ExecMapper.map(ExecMapper.java:159)
      	at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
      	at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:417)
      	at org.apache.hadoop.mapred.MapTask.run(MapTask.java:332)
      	at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:396)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1408)
      	at org.apache.hadoop.mapred.Child.main(Child.java:262)
      Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: Hive Runtime Error while processing row {...}
      	at org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:673)
      	at org.apache.hadoop.hive.ql.exec.ExecMapper.map(ExecMapper.java:141)
      	... 8 more
      Caused by: org.apache.avro.AvroRuntimeException: Not a record: ["null",{...}]
      	at org.apache.avro.Schema.getFields(Schema.java:192)
      

        Attachments

          Activity

            People

            • Assignee:
              prasadm Prasad Mujumdar
              Reporter:
              haeusler Michael Häusler
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: