You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Alex Luya <al...@gmail.com> on 2011/04/12 04:45:37 UTC

hadoop branch-0.20-append Build error:build.xml:933: exec returned: 1

BUILD FAILED
......./branch-0 .20-append/build.xml:927: The following error
occurred while executing this line:
....../branch-0 .20-append/build.xml:933: exec returned: 1

Total time: 1 minute 17 seconds
+ RESULT=1
+ '[' 1 '!=' 0 ']'
+ echo 'Build Failed: 64-bit build not run'
Build Failed: 64-bit build not run
+ exit 1
-----------------------------------------------------------------------------------------------------------------
I checked content in file build.xml:
------------------------------------------------------------------------------------------------------------
line 927:<antcall target="cn-docs"/></target><target name="cn-docs"
depends="forrest.check, init" description="Generate forrest-based
Chinese documentation. To use, specify -Dforrest.home=&lt;base of Apache
Forrest installation&gt; on the command line." if="forrest.home">
line 933:<exec dir="${src.docs.cn}"
executable="${forrest.home}/bin/forrest" failonerror="true">
-----------------------------------------------------------------------------------------------------------------------------------------------
It seems try to execute forrest,what is the problem here?I am running a
64bit ubuntu,with 64+32bit-jdk-1.6 and 64-bit-jdk-1.5  installed.Some
guys told there are some tricks in this
page:http://wiki.apache.org/hadoop/HowToRelease  to get forrest build to
work.But I can't find any tricks in the page.
Any help is appreciated.



Re: hadoop branch-0.20-append Build error:build.xml:933: exec returned: 1

Posted by Marcos Ortiz <ml...@uci.cu>.
El 4/11/2011 10:45 PM, Alex Luya escribió:
> BUILD FAILED
> ......./branch-0 .20-append/build.xml:927: The following error
> occurred while executing this line:
> ....../branch-0 .20-append/build.xml:933: exec returned: 1
>
> Total time: 1 minute 17 seconds
> + RESULT=1
> + '[' 1 '!=' 0 ']'
> + echo 'Build Failed: 64-bit build not run'
> Build Failed: 64-bit build not run
> + exit 1
> -----------------------------------------------------------------------------------------------------------------
> I checked content in file build.xml:
> ------------------------------------------------------------------------------------------------------------
> line 927:<antcall target="cn-docs"/></target><target name="cn-docs"
> depends="forrest.check, init" description="Generate forrest-based
> Chinese documentation. To use, specify -Dforrest.home=&lt;base of Apache
> Forrest installation&gt; on the command line." if="forrest.home">
> line 933:<exec dir="${src.docs.cn}"
> executable="${forrest.home}/bin/forrest" failonerror="true">
> -----------------------------------------------------------------------------------------------------------------------------------------------
> It seems try to execute forrest,what is the problem here?I am running a
> 64bit ubuntu,with 64+32bit-jdk-1.6 and 64-bit-jdk-1.5  installed.Some
> guys told there are some tricks in this
> page:http://wiki.apache.org/hadoop/HowToRelease  to get forrest build to
> work.But I can't find any tricks in the page.
> Any help is appreciated.
>
>
>    
1- Which version of Java do you have on the JAVA_HOME variable?
You can browse on the Forrest page to get how you can build it: 
http://forrest.apache.org

2- another question for you:
     Do you actually need Forrest?

Regards

-- 
Marcos Luís Ortíz Valmaseda
  Software Engineer (Large-Scaled Distributed Systems)
  University of Information Sciences,
  La Habana, Cuba
  Linux User # 418229


Re: hadoop branch-0.20-append Build error:build.xml:933: exec returned: 1

Posted by Marcos Ortiz <ml...@uci.cu>.
El 4/11/2011 10:45 PM, Alex Luya escribió:
> BUILD FAILED
> ......./branch-0 .20-append/build.xml:927: The following error
> occurred while executing this line:
> ....../branch-0 .20-append/build.xml:933: exec returned: 1
>
> Total time: 1 minute 17 seconds
> + RESULT=1
> + '[' 1 '!=' 0 ']'
> + echo 'Build Failed: 64-bit build not run'
> Build Failed: 64-bit build not run
> + exit 1
> -----------------------------------------------------------------------------------------------------------------
> I checked content in file build.xml:
> ------------------------------------------------------------------------------------------------------------
> line 927:<antcall target="cn-docs"/></target><target name="cn-docs"
> depends="forrest.check, init" description="Generate forrest-based
> Chinese documentation. To use, specify -Dforrest.home=&lt;base of Apache
> Forrest installation&gt; on the command line." if="forrest.home">
> line 933:<exec dir="${src.docs.cn}"
> executable="${forrest.home}/bin/forrest" failonerror="true">
> -----------------------------------------------------------------------------------------------------------------------------------------------
> It seems try to execute forrest,what is the problem here?I am running a
> 64bit ubuntu,with 64+32bit-jdk-1.6 and 64-bit-jdk-1.5  installed.Some
> guys told there are some tricks in this
> page:http://wiki.apache.org/hadoop/HowToRelease  to get forrest build to
> work.But I can't find any tricks in the page.
> Any help is appreciated.
>
>
>    
1- Which version of Java do you have on the JAVA_HOME variable?
You can browse on the Forrest page to get how you can build it: 
http://forrest.apache.org

2- another question for you:
     Do you actually need Forrest?

Regards

-- 
Marcos Luís Ortíz Valmaseda
  Software Engineer (Large-Scaled Distributed Systems)
  University of Information Sciences,
  La Habana, Cuba
  Linux User # 418229


Re: hadoop branch-0.20-append Build error:build.xml:933: exec returned: 1

Posted by Marcos Ortiz <ml...@uci.cu>.
El 4/11/2011 10:45 PM, Alex Luya escribió:
> BUILD FAILED
> ......./branch-0 .20-append/build.xml:927: The following error
> occurred while executing this line:
> ....../branch-0 .20-append/build.xml:933: exec returned: 1
>
> Total time: 1 minute 17 seconds
> + RESULT=1
> + '[' 1 '!=' 0 ']'
> + echo 'Build Failed: 64-bit build not run'
> Build Failed: 64-bit build not run
> + exit 1
> -----------------------------------------------------------------------------------------------------------------
> I checked content in file build.xml:
> ------------------------------------------------------------------------------------------------------------
> line 927:<antcall target="cn-docs"/></target><target name="cn-docs"
> depends="forrest.check, init" description="Generate forrest-based
> Chinese documentation. To use, specify -Dforrest.home=&lt;base of Apache
> Forrest installation&gt; on the command line." if="forrest.home">
> line 933:<exec dir="${src.docs.cn}"
> executable="${forrest.home}/bin/forrest" failonerror="true">
> -----------------------------------------------------------------------------------------------------------------------------------------------
> It seems try to execute forrest,what is the problem here?I am running a
> 64bit ubuntu,with 64+32bit-jdk-1.6 and 64-bit-jdk-1.5  installed.Some
> guys told there are some tricks in this
> page:http://wiki.apache.org/hadoop/HowToRelease  to get forrest build to
> work.But I can't find any tricks in the page.
> Any help is appreciated.
>
>
>    
1- Which version of Java do you have on the JAVA_HOME variable?
You can browse on the Forrest page to get how you can build it: 
http://forrest.apache.org

2- another question for you:
     Do you actually need Forrest?

Regards

-- 
Marcos Luís Ortíz Valmaseda
  Software Engineer (Large-Scaled Distributed Systems)
  University of Information Sciences,
  La Habana, Cuba
  Linux User # 418229


Re: hadoop branch-0.20-append Build error:build.xml:933: exec returned: 1

Posted by Marcos Ortiz <ml...@uci.cu>.
El 4/11/2011 10:45 PM, Alex Luya escribió:
> BUILD FAILED
> ......./branch-0 .20-append/build.xml:927: The following error
> occurred while executing this line:
> ....../branch-0 .20-append/build.xml:933: exec returned: 1
>
> Total time: 1 minute 17 seconds
> + RESULT=1
> + '[' 1 '!=' 0 ']'
> + echo 'Build Failed: 64-bit build not run'
> Build Failed: 64-bit build not run
> + exit 1
> -----------------------------------------------------------------------------------------------------------------
> I checked content in file build.xml:
> ------------------------------------------------------------------------------------------------------------
> line 927:<antcall target="cn-docs"/></target><target name="cn-docs"
> depends="forrest.check, init" description="Generate forrest-based
> Chinese documentation. To use, specify -Dforrest.home=&lt;base of Apache
> Forrest installation&gt; on the command line." if="forrest.home">
> line 933:<exec dir="${src.docs.cn}"
> executable="${forrest.home}/bin/forrest" failonerror="true">
> -----------------------------------------------------------------------------------------------------------------------------------------------
> It seems try to execute forrest,what is the problem here?I am running a
> 64bit ubuntu,with 64+32bit-jdk-1.6 and 64-bit-jdk-1.5  installed.Some
> guys told there are some tricks in this
> page:http://wiki.apache.org/hadoop/HowToRelease  to get forrest build to
> work.But I can't find any tricks in the page.
> Any help is appreciated.
>
>
>    
1- Which version of Java do you have on the JAVA_HOME variable?
You can browse on the Forrest page to get how you can build it: 
http://forrest.apache.org

2- another question for you:
     Do you actually need Forrest?

Regards

-- 
Marcos Luís Ortíz Valmaseda
  Software Engineer (Large-Scaled Distributed Systems)
  University of Information Sciences,
  La Habana, Cuba
  Linux User # 418229


Re: hadoop branch-0.20-append Build error:build.xml:933: exec returned: 1

Posted by Alex Luya <al...@gmail.com>.
This is my build script,and I hope I have got everything set right.By
the way,for java 1.5,only 64bit version has been set,is it ok?
-----------------------------------------------------------------------------------------------------------------
#!/bin/bash
VERSION=0.20.0-append
ANT_HOME=/home/alex/Software/ant-1.8.2
XERCES_HOME=/home/alex/Software/xerces-c_2_8
FORREST_HOME=/home/alex/Software/forrest-0.8
ECLIPSE_HOME=/home/alex/Software/eclipse
JDIFF_HOME=/home/alex/Software/jdiff-1.1.1
JAVA5_HOME=/usr/local/hadoop/jdk1.5.0_22
JAVA32_HOME=/usr/local/hadoop/jdk1.6.0_24_i586
JAVA64_HOME=/usr/local/hadoop/jdk1.6.0_24

set -x

ulimit -n 1024

### BUILD_ID is set by Hudson
#trunk=`pwd`/trunk

cd /home/alex/Software/branch-0.20-append

export JAVA_HOME=$JAVA32_HOME
export CFLAGS=-m32
export CXXFLAGS=-m32
$ANT_HOME/bin/ant -Dversion=$VERSION -Dcompile.native=true -Dcompile.c
++=true -Dlibhdfs=1 -Dlibrecordio=true -Dxercescroot=$XERCES_HOME
-Declipse.home=$ECLIPSE_HOME -Djdiff.home=$JDIFF_HOME -Djava5.home=
$JAVA5_HOME -Dforrest.home=$FORREST_HOME clean docs package-native
api-report tar test test-c++-libhdfs

RESULT=$?
if [ $RESULT != 0 ] ; then
  echo "Build Failed: 64-bit build not run"
  exit $RESULT
fi

export JAVA_HOME=$JAVA64_HOME
export CFLAGS=-m64
export CXXFLAGS=-m64
$ANT_HOME/bin/ant -Dversion=$VERSION -Dcompile.native=true -Dcompile.c
++=true compile-core-native compile-c++ tar
------------------------------------------------------------------------------------------------------------------------------------------------

On Thu, 2011-04-14 at 13:07 +0530, Harsh J wrote:
> Hello Alex.
> 
> Please do not cross-post to all the lists (it causes confusion, and
> triggers multiple conversations -- no good to any of us). This
> discussion is suitable at common-user@.
> 
> On Tue, Apr 12, 2011 at 8:15 AM, Alex Luya <al...@gmail.com> wrote:
> > BUILD FAILED
> > ......./branch-0 .20-append/build.xml:927: The following error
> > occurred while executing this line:
> > ....../branch-0 .20-append/build.xml:933: exec returned: 1
> >
> > Total time: 1 minute 17 seconds
> > + RESULT=1
> > + '[' 1 '!=' 0 ']'
> > + echo 'Build Failed: 64-bit build not run'
> > Build Failed: 64-bit build not run
> > + exit 1
> > -----------------------------------------------------------------------------------------------------------------
> > I checked content in file build.xml:
> > ------------------------------------------------------------------------------------------------------------
> > line 927:<antcall target="cn-docs"/></target><target name="cn-docs"
> > depends="forrest.check, init" description="Generate forrest-based
> > Chinese documentation. To use, specify -Dforrest.home=&lt;base of Apache
> > Forrest installation&gt; on the command line." if="forrest.home">
> > line 933:<exec dir="${src.docs.cn}"
> > executable="${forrest.home}/bin/forrest" failonerror="true">
> > -----------------------------------------------------------------------------------------------------------------------------------------------
> > It seems try to execute forrest,what is the problem here?I am running a
> > 64bit ubuntu,with 64+32bit-jdk-1.6 and 64-bit-jdk-1.5  installed.Some
> > guys told there are some tricks in this
> > page:http://wiki.apache.org/hadoop/HowToRelease  to get forrest build to
> > work.But I can't find any tricks in the page.
> > Any help is appreciated.
> 
> On a 64-bit machine, can you ensure that your default JDK is 64-bit
> and that java5.home is passed separately, along with forrest-0.8's
> location as forrest.home?
> 



Re: hadoop branch-0.20-append Build error:build.xml:933: exec returned: 1

Posted by Harsh J <ha...@cloudera.com>.
Hello Alex.

Please do not cross-post to all the lists (it causes confusion, and
triggers multiple conversations -- no good to any of us). This
discussion is suitable at common-user@.

On Tue, Apr 12, 2011 at 8:15 AM, Alex Luya <al...@gmail.com> wrote:
> BUILD FAILED
> ......./branch-0 .20-append/build.xml:927: The following error
> occurred while executing this line:
> ....../branch-0 .20-append/build.xml:933: exec returned: 1
>
> Total time: 1 minute 17 seconds
> + RESULT=1
> + '[' 1 '!=' 0 ']'
> + echo 'Build Failed: 64-bit build not run'
> Build Failed: 64-bit build not run
> + exit 1
> -----------------------------------------------------------------------------------------------------------------
> I checked content in file build.xml:
> ------------------------------------------------------------------------------------------------------------
> line 927:<antcall target="cn-docs"/></target><target name="cn-docs"
> depends="forrest.check, init" description="Generate forrest-based
> Chinese documentation. To use, specify -Dforrest.home=&lt;base of Apache
> Forrest installation&gt; on the command line." if="forrest.home">
> line 933:<exec dir="${src.docs.cn}"
> executable="${forrest.home}/bin/forrest" failonerror="true">
> -----------------------------------------------------------------------------------------------------------------------------------------------
> It seems try to execute forrest,what is the problem here?I am running a
> 64bit ubuntu,with 64+32bit-jdk-1.6 and 64-bit-jdk-1.5  installed.Some
> guys told there are some tricks in this
> page:http://wiki.apache.org/hadoop/HowToRelease  to get forrest build to
> work.But I can't find any tricks in the page.
> Any help is appreciated.

On a 64-bit machine, can you ensure that your default JDK is 64-bit
and that java5.home is passed separately, along with forrest-0.8's
location as forrest.home?

-- 
Harsh J