[
https://issues.apache.org/jira/browse/HDFS-9380?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15001035#comment-15001035
]
Allen Wittenauer commented on HDFS-9380:
----------------------------------------
Question:
How is PROTOBUF_LIBRARY, etc in the CMake file supposed to be defined? Even
after I add protobuf-c-compiler to the Ubuntu docker image, nothing in the
CMakeFile.txt appears to actually do the work of setting those vars or even
determining where protobuf is installed. Is it expected that users will
configure them on the mvn command line? That seems like a 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)