Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change 
notification.

The "DevelopingOnTrunkAfter279Merge" page has been changed by 
VinodKumarVavilapalli:
http://wiki.apache.org/hadoop/DevelopingOnTrunkAfter279Merge?action=diff&rev1=5&rev2=6

Comment:
Minor updates: Location of README and INSTALL files, error msg related to 
protobug.

  MR-279 branch is merged into mapreduce trunk and this changes things a bit 
for developing on mapreduce.
  
- You can get all the help that is needed from the INSTALL file at 
http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-mapreduce/INSTALL. 
Reproducing some of those contents here for the short-term lookup.
+ You can get all the help that is needed from (1) the README at 
http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-yarn/README
 and (2) the INSTALL file at 
http://svn.apache.org/repos/asf/hadoop/common/trunk/hadoop-mapreduce-project/INSTALL.
 Reproducing some of those contents here for the short-term lookup.
  
  ----------
  Checking out source code
@@ -90, +90 @@

  
  This means that you don't have protoc installed on your machine. Installing 
protoc (and adding a non-standard installation directory to your 
LD_LIBRARY_PATH) should get it working.
  
+ 3) Getting errors while compiling protobuf 2.4
+ For compiling YARN, You need to have protobuf 2.4.0a or higher (Download from 
http://code.google.com/p/protobuf/downloads/list).
+ Install protobuf 2.4.0a or higher (Download from 
http://code.google.com/p/protobuf/downloads/list)
+  - install the protoc executable (configure, make, make install)
+  - install the maven artifact (cd java; mvn install)
+ Installing protoc requires gcc 4.1.x or higher.
+ If the make step fails with (Valid until a fix is released for protobuf 
2.4.0a)
+     ./google/protobuf/descriptor.h:1152: error:
+     
`google::protobuf::internal::Mutex*google::protobuf::DescriptorPool::mutex_'
+     is private
+   Replace descriptor.cc with 
http://protobuf.googlecode.com/svn-history/r380/trunk/src/google/protobuf/descriptor.cc
+ 
  Hope that helps. If you run into issues, please send an email or create a 
JIRA issue.
  

Reply via email to