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

Change RCFileOutputFormat's generic signatute to be <WritableComparable, ..>

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None
    • Reviewed
    • Hide
      HIVE-479. Change RCFileOutputFormat's generic signatute. (Yongqiang He via zshao)
      Show
      HIVE-479 . Change RCFileOutputFormat's generic signatute. (Yongqiang He via zshao)

    Description

      In one test for hive-477, i found that the below command can not sucessfully pass:

      $HADOOP_HOME/bin/hadoop jar $HADOOP_HOME/contrib/streaming/hadoop-0.19.0-streaming.jar -input /user/hive/warehouse/tablerc1 -output testHiveWriter -inputformat org.apache.hadoop.hive.ql.io.RCFileInputFormat -outputformat org.apache.hadoop.hive.ql.io.RCFileOutputFormat -mapper org.apache.hadoop.mapred.lib.IdentityMapper -jobconf mapred.work.output.dir=. -jobconf hive.io.rcfile.column.number.conf=32 -jobconf mapred.output.compress=true -numReduceTasks 0

      It is caused by the assumption that RCFileOutputFormat thinks the key's class of passes in records is Void.

      Attachments

        1. hive-479-2009-5-12.patch
          2 kB
          He Yongqiang

        Activity

          People

            he yongqiang He Yongqiang
            he yongqiang He Yongqiang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: