You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by zs...@apache.org on 2009/10/23 05:47:34 UTC

svn commit: r828925 - /hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecReducer.java

Author: zshao
Date: Fri Oct 23 03:47:33 2009
New Revision: 828925

URL: http://svn.apache.org/viewvc?rev=828925&view=rev
Log:
Emergency compilation fix for hive with hadoop 0.17.

Modified:
    hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecReducer.java

Modified: hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecReducer.java
URL: http://svn.apache.org/viewvc/hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecReducer.java?rev=828925&r1=828924&r2=828925&view=diff
==============================================================================
--- hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecReducer.java (original)
+++ hadoop/hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/ExecReducer.java Fri Oct 23 03:47:33 2009
@@ -198,7 +198,7 @@
         } catch (SerDeException e) {
           throw new HiveException("Unable to deserialize reduce input value (tag=" + tag.get()
               + ") from " + 
-              Utilities.formatBinaryString(valueWritable.getBytes(), 0, valueWritable.getLength())
+              Utilities.formatBinaryString(valueWritable.get(), 0, valueWritable.getSize())
               + " with properties " + valueTableDesc[tag.get()].getProperties(),
               e);
         }