Browse Source

MAPREDUCE-1251. c++ utils doesn't compile. Contributed by Eli Collins. Missing patch from branch-0.20.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security@1135736 13f79535-47bb-0310-9956-ffa450edef68
Konstantin Shvachko 14 năm trước cách đây
mục cha
commit
2441f029b3

+ 2 - 0
CHANGES.txt

@@ -173,6 +173,8 @@ Release 0.20.204.0 - unreleased
     HDFS-1767. Namenode ignores non-initial block report from datanodes
     when in safemode during startup. (Matt Foley via suresh)
 
+    MAPREDUCE-1251. c++ utils doesn't compile. (Eli Collins via shv)
+
 Release 0.20.203.1 - Unreleased
 
     HADOOP-7330. Fix MetricsSourceAdapter to use the value instead of the 

+ 2 - 0
src/c++/pipes/api/hadoop/Pipes.hh

@@ -31,6 +31,8 @@
 #include <string>
 #endif
 
+#include <stdint.h>
+
 namespace HadoopPipes {
 
 /**

+ 1 - 0
src/c++/utils/api/hadoop/SerialUtils.hh

@@ -19,6 +19,7 @@
 #define HADOOP_SERIAL_UTILS_HH
 
 #include <string>
+#include <stdint.h>
 
 namespace HadoopUtils {