hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aviad sela <sela.s...@gmail.com>
Subject How to Apply patch to Relase 0.19.1
Date Wed, 04 Mar 2009 19:24:38 GMT
 I need to apply patch to Release 0.19.1,
In order to deploy I need to compile again and create a new

The development environment consists of Windows XP ,  Eclipse 3.4 (IBM RAD

The target platform is AIX 5.3.

I have extracted the release from the SVN, and tried to exeucte the ANT
build (project -> Build project)

Problem encontered:
1. Failure to carry out target <compile-core-classes>, it seem that the
<jsp-compiler> macro fails to find org.apach.log4j.Category class.

     Resolution: Since the release comes with log4j ver 1.2.15 which does
not include this class, I have commented out the <jsp-compiler> tasks,
                         this has allowed me to continue processing.

     Help:   How should I include the web class (war) into the newly
compiled jars ?

2. Failure to compile <compile-contrib> ->>> <eclipse-plugin>  project,

      Resolution:    It seems that the build.xml under
src/contrib/eclipse-plugin  direcotory uses property ${eclipse.home}
                          This property should refernce the plugin jars,
                           However, my platform places the plugin jars in a
different location !

                        I have carried out the following steps to make it

   - Under Windows->Preferences->Ant->Runtime  in the Property tab, I have
   added a new variable   eclipse.homeplugins=<MY_PLUGIN_PATH>
   - In src/contrib/build-contrib.xml  I have added the following condition

   <condition property="eclipse_plugin.home" value="${eclipse.homeplugins}"


   <isset property="${eclipse.homeplugins}"/>



   In src/contrib/eclipse-plugin/build.xml I have changed the <path
   id="eclipse-sdk-jars"> into the following:

   <path id="eclipse-sdk-jars">

   <!-- The following original is REMOVED, fileset
   dir="${eclipse.home}/plugins/" -->

   <fileset dir="${eclipse_plugin.home}/plugins/">

Help: The build fails,   after 100 of such erros (beside avoid compiling
this project)

[*javac*] *
*:56: cannot find symbol
[*javac*] symbol : class BundleContext
[*javac*] location: class org.apache.hadoop.eclipse.Activator
[*javac*] public void start(BundleContext context) throws Exception {
[*javac*] Note: Recompile with -Xlint:unchecked for details.
[*javac*] 100 errors
*[subant*] Exiting
*subant*] Exiting


The following error occurred while executing this line:
The following error occurred while executing this line:
Compile failed; see the compiler error output for details.
*at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(Unknown
at org.apache.tools.ant.taskdefs.Ant.execute(Unknown Source)
at org.apache.tools.ant.taskdefs.SubAnt.execute(Unknown Source)
at org.apache.tools.ant.taskdefs.SubAnt.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(Unknown Source)


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message