hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joep Rottinghuis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-2901) Build should fail sanely if protoc isn't on PATH
Date Fri, 02 Sep 2011 01:46:09 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-2901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13095714#comment-13095714
] 

Joep Rottinghuis commented on MAPREDUCE-2901:
---------------------------------------------

On my Ubuntu desktop (11.04) protobuf-compiler package (2.3.0-4ubuntu2) is installed and protoc
is on the command line.
I still get the error.

http://wiki.apache.org/hadoop/DevelopingOnTrunkAfter279Merge advices to add non-standard installation
directory to LD_LIBRARY_PATH.
However, the libprotoc6 package has already put libprotoc.so.6 and libprotoc.so.6.0.0 in /usr/lib/.
Seems like a standard path to me.

It seems to me that simply checking whether protoc is in the path will not be sufficient.

> Build should fail sanely if protoc isn't on PATH
> ------------------------------------------------
>
>                 Key: MAPREDUCE-2901
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2901
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.23.0
>            Reporter: Vinod Kumar Vavilapalli
>
> It now fails "[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec
(generate-sources) on project hadoop-yarn-api: Command execution failed. Process exited with
an error: 1(Exit value: 1) -> [Help 1]".
> Which doesn't help much.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message