[
https://issues.apache.org/jira/browse/HDFS-9380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001043#comment-15001043
]
Allen Wittenauer commented on HDFS-9380:
----------------------------------------
Actually, it's worse than that for OpenSSL:
{code}
mvn compile -Pnative -Drequire.snappy \
-Drequire.openssl \
-Dopenssl.prefix=/usr/local/opt/openssl/ \
-Dopenssl.include=/usr/local/opt/openssl/include \
-Dopenssl.lib=/usr/local/opt/openssl/lib \
-Drequire.libwebhdfs -Drequire.test.libhadoop
{code}
... will build other native components but the HDFS-8707 code ignores these
maven directives. So the build fails. That's a definite blocker bug.
> HDFS-8707 builds are failing with protobuf directories as undef
> ---------------------------------------------------------------
>
> Key: HDFS-9380
> URL: https://issues.apache.org/jira/browse/HDFS-9380
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: hdfs-client
> Reporter: Bob Hansen
> Assignee: Haohui Mai
>
> See recent builds in HDFS-9320 and HDFS-9103.
> {code}
> [exec] CMake Error: The following variables are used in this project,
> but they are set to NOTFOUND.
> [exec] Please set them or make sure they are set and tested correctly in
> the CMake files:
> [exec] PROTOBUF_LIBRARY (ADVANCED)
> [exec] linked by target "protoc-gen-hrpc" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/proto
> [exec] linked by target "inputstream_test" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
> [exec] linked by target "remote_block_reader_test" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
> [exec] linked by target "rpc_engine_test" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
> [exec] PROTOBUF_PROTOC_LIBRARY (ADVANCED)
> [exec] linked by target "protoc-gen-hrpc" in directory
> /testptch/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/proto
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)