sqoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abraham Elmahrek <...@cloudera.com>
Subject Re: ask for help - - generate docs encounter a error against sqoop1.4.6
Date Mon, 04 May 2015 09:33:11 GMT
Your project directory has a space in it ("sqoop 1.4.6"). I don't know if
the build script handles this. Try removing the space.

On Mon, May 4, 2015 at 2:23 AM, Shi Ju SJ Xie <xieshiju@cn.ibm.com> wrote:

> Hi,
>
> I try to generate the docs for sqoop 1.4.6, but got bellow error:
> If I ran this command against sqoop 1.4.5, there were no any problems.
>
> command:
> [aa@oc5330673083 sqoop]$ ant  -Dhadoopversion=200 -Dhbaseprofile=95
>  real-docs  -verbose
>
>
> logs:
>
> real-docs:
>      [exec] Current OS is Linux
>      [exec] Executing 'make' with arguments:
>      [exec] '-C'
>      [exec] '/home/xieshiju/sqoop-IBM/sqoop 1.4.6/dev/sqoop/src/docs'
>      [exec] 'BUILDROOT=/home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build'
>      [exec] 'VERSION=1.4.6'
>      [exec]
>      [exec] The ' characters around the executable and arguments are
>      [exec] not part of the command.
>      [exec] make: Entering directory `/home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/src/docs'
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-codegen.txt
>      [exec] Makefile:84: warning: overriding commands for target
> `/home/xieshiju/sqoop-IBM/sqoop'
>      [exec] Makefile:75: warning: ignoring old commands for target
> `/home/xieshiju/sqoop-IBM/sqoop'
>      [exec] Makefile:93: warning: overriding commands for target
> `/home/xieshiju/sqoop-IBM/sqoop'
>      [exec] Makefile:84: warning: ignoring old commands for target
> `/home/xieshiju/sqoop-IBM/sqoop'
>      [exec] xmlto man  man/sqoop-codegen.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-codegen
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-codegen
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-codegen
>      [exec] Note: Writing sqoop-codegen.1
>      [exec] gzip man/sqoop-codegen.1
>      [exec] rm man/sqoop-codegen.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-codegen.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-create-hive-table.txt
>      [exec] xmlto man  man/sqoop-create-hive-table.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-create-hive-table
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-create-hive-table
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-create-hive-table
>      [exec] Note: Writing sqoop-create-hive-table.1
>      [exec] gzip man/sqoop-create-hive-table.1
>      [exec] rm man/sqoop-create-hive-table.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-create-hive-table.1.gz
> /home/xieshiju/sqoop-IBM/sqoop 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-eval.txt
>      [exec] xmlto man  man/sqoop-eval.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-eval
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-eval
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-eval
>      [exec] Note: Writing sqoop-eval.1
>      [exec] gzip man/sqoop-eval.1
>      [exec] rm man/sqoop-eval.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-eval.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-export.txt
>      [exec] xmlto man  man/sqoop-export.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-export
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-export
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-export
>      [exec] Note: Writing sqoop-export.1
>      [exec] gzip man/sqoop-export.1
>      [exec] rm man/sqoop-export.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-export.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-help.txt
>      [exec] xmlto man  man/sqoop-help.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-help
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-help
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-help
>      [exec] Note: Writing sqoop-help.1
>      [exec] gzip man/sqoop-help.1
>      [exec] rm man/sqoop-help.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-help.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-import-all-tables.txt
>      [exec] xmlto man  man/sqoop-import-all-tables.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-import-all-tables
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-import-all-tables
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-import-all-tables
>      [exec] Note: Writing sqoop-import-all-tables.1
>      [exec] gzip man/sqoop-import-all-tables.1
>      [exec] rm man/sqoop-import-all-tables.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-import-all-tables.1.gz
> /home/xieshiju/sqoop-IBM/sqoop 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-import-mainframe.txt
>      [exec] xmlto man  man/sqoop-import-mainframe.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-import-mainframe
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-import-mainframe
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-import-mainframe
>      [exec] Note: Writing sqoop-import-mainframe.1
>      [exec] gzip man/sqoop-import-mainframe.1
>      [exec] rm man/sqoop-import-mainframe.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-import-mainframe.1.gz
> /home/xieshiju/sqoop-IBM/sqoop 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-import.txt
>      [exec] xmlto man  man/sqoop-import.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-import
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-import
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-import
>      [exec] Note: Writing sqoop-import.1
>      [exec] gzip man/sqoop-import.1
>      [exec] rm man/sqoop-import.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-import.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-job.txt
>      [exec] xmlto man  man/sqoop-job.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-job
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-job
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-job
>      [exec] Note: Writing sqoop-job.1
>      [exec] gzip man/sqoop-job.1
>      [exec] rm man/sqoop-job.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-job.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-list-databases.txt
>      [exec] xmlto man  man/sqoop-list-databases.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-list-databases
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-list-databases
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-list-databases
>      [exec] Note: Writing sqoop-list-databases.1
>      [exec] gzip man/sqoop-list-databases.1
>      [exec] rm man/sqoop-list-databases.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-list-databases.1.gz
> /home/xieshiju/sqoop-IBM/sqoop 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-list-tables.txt
>      [exec] xmlto man  man/sqoop-list-tables.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-list-tables
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-list-tables
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-list-tables
>      [exec] Note: Writing sqoop-list-tables.1
>      [exec] gzip man/sqoop-list-tables.1
>      [exec] rm man/sqoop-list-tables.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-list-tables.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-merge.txt
>      [exec] xmlto man  man/sqoop-merge.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-merge
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-merge
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-merge
>      [exec] Note: Writing sqoop-merge.1
>      [exec] gzip man/sqoop-merge.1
>      [exec] rm man/sqoop-merge.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-merge.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-metastore.txt
>      [exec] xmlto man  man/sqoop-metastore.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-metastore
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-metastore
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-metastore
>      [exec] Note: Writing sqoop-metastore.1
>      [exec] gzip man/sqoop-metastore.1
>      [exec] rm man/sqoop-metastore.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-metastore.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop.txt
>      [exec] xmlto man  man/sqoop.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop
>      [exec] Note: Writing sqoop.1
>      [exec] gzip man/sqoop.1
>      [exec] rm man/sqoop.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -b docbook -d manpage -a "author=Sqoop Team"
> man/sqoop-version.txt
>      [exec] xmlto man  man/sqoop-version.xml -o man
>      [exec] Warn: AUTHOR sect.: no personblurb|contrib for Sqoop Team
>      sqoop-version
>      [exec] Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib
>      sqoop-version
>      [exec] Note: AUTHOR sect.: see see
> http://docbook.sf.net/el/personblurb   sqoop-version
>      [exec] Note: Writing sqoop-version.1
>      [exec] gzip man/sqoop-version.1
>      [exec] rm man/sqoop-version.xml
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mv man/sqoop-version.1.gz /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] mkdir -p /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs
>      [exec] asciidoc --unsafe -a revnumber=1.4.6 \
>      [exec]  -b docbook \
>      [exec] web/index.txt
>      [exec] xmlto  -v -o /home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/build/docs -m web/html.xsl \
>      [exec] html-nochunks web/index.xml
>      [exec] usage: xmlto [OPTION]... FORMAT XML
>      [exec] OPTIONs are:
>      [exec]   -v              verbose output (-vv for very verbose)
>      [exec]   -x stylesheet   use the specified stylesheet instead of
> choosing one
>      [exec]   -m fragment     use the XSL fragment to customize the
> stylesheet
>      [exec]   -o directory    put output in the specified directory
> instead of
>      [exec]                   the current working directory
>      [exec]   -p postprocopts pass option to postprocessor
>      [exec]   --extensions    turn on stylesheet extensions for this tool
> chain
>      [exec]   --searchpath    colon-separated list of fallback directories
>      [exec]   --skip-validation
>      [exec]                   do not attempt to validate the input before
> processing
>      [exec]   --stringparam paramname=paramvalue
>      [exec]                   pass a named parameter to the stylesheet
> from the
>      [exec]                   command line
>      [exec]   --noclean       temp files are not deleted automatically
>      [exec]                   (good for diagnostics)
>      [exec]   --noautosize    do not autodetect paper size via locales or
> paperconf
>      [exec]   --with-fop      use fop for formatting (if fop available)
>      [exec]   --with-dblatex  use dblatex for formatting (if dblatex
> available)
>      [exec]
>      [exec] Available FORMATs depend on the type of the XML file (which is
>      [exec] determined automatically).
>      [exec]
>      [exec] For documents of type "docbook":
>      [exec] awt
>      [exec] dvi
>      [exec] fo
>      [exec] html
>      [exec] htmlhelp
>      [exec] html-nochunks
>      [exec] javahelp
>      [exec] man
>      [exec] mif
>      [exec] pcl
>      [exec] pdf
>      [exec] ps
>      [exec] svg
>      [exec] txt
>      [exec] xhtml
>      [exec] xhtml-nochunks
>      [exec]
>      [exec] For documents of type "fo":
>      [exec] awt
>      [exec] mif
>      [exec] pcl
>      [exec] svg
>      [exec] txt
>      [exec] make: Leaving directory `/home/xieshiju/sqoop-IBM/sqoop
> 1.4.6/dev/sqoop/src/docs'
>      [exec] make: *** [/home/xieshiju/sqoop-IBM/sqoop] Error 1
>
> BUILD FAILED
> /home/xieshiju/sqoop-IBM/sqoop 1.4.6/dev/sqoop/build.xml:1264: exec
> returned: 2
>  at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
>  at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
>  at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
>  at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>  at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:606)
>  at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>  at org.apache.tools.ant.Task.perform(Task.java:348)
>  at org.apache.tools.ant.Target.execute(Target.java:435)
>  at org.apache.tools.ant.Target.performTasks(Target.java:456)
>  at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
>  at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
>  at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>  at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
>  at org.apache.tools.ant.Main.runBuild(Main.java:851)
>  at org.apache.tools.ant.Main.startAnt(Main.java:235)
>  at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>  at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>
> Total time: 26 seconds
> [xieshiju@oc5330673083 sqoop]$
>
>
>
>
>
>
>    Thanks and best regard,
>    Shiju
>    ------------------------------------------------------
>    Shi Ju, Xie
>    InfoSphere BigInsights, IBM China Software Development Laboratory
>    Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road,
>    Haidian District Beijing P.R.China 100193
>
>    Phone: +86 10 82450799
>    e-mail: xieshiju@cn.ibm.com
>    ------------------------------------------------------
>
>

Mime
View raw message