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

Hadoop QA commented on HDFS-10332:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s 
{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red} 0m 4s {color} 
| {color:red} HDFS-10332 does not apply to trunk. Rebase required? Wrong 
Branch? See https://wiki.apache.org/hadoop/HowToContribute for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Patch URL | 
https://issues.apache.org/jira/secure/attachment/12800822/HDFS-10332.01.patch |
| JIRA Issue | HDFS-10332 |
| Console output | 
https://builds.apache.org/job/PreCommit-HDFS-Build/15295/console |
| Powered by | Apache Yetus 0.2.0   http://yetus.apache.org |


This message was automatically generated.



> hdfs-native-client fails to build with CMake 2.8.11 or earlier
> --------------------------------------------------------------
>
>                 Key: HDFS-10332
>                 URL: https://issues.apache.org/jira/browse/HDFS-10332
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: hdfs-client
>            Reporter: Tibor Kiss
>            Assignee: Tibor Kiss
>            Priority: Minor
>         Attachments: HDFS-10332.01.patch
>
>
> Due to a new syntax introduced in CMake 2.8.12 (get_filename_component's 
> function when VAR=DIRECTORY) the native-client won't build.
> Currently RHEL6 & 7 are using older version of CMake. 
> Error log:
> {noformat}
> [INFO] --- maven-antrun-plugin:1.7:run (make) @ hadoop-hdfs-native-client ---
> [INFO] Executing tasks
> main:
>      [exec] JAVA_HOME=, 
> JAVA_JVM_LIBRARY=/usr/java/jdk1.7.0_79/jre/lib/amd64/server/libjvm.so
>      [exec] JAVA_INCLUDE_PATH=/usr/java/jdk1.7.0_79/include, 
> JAVA_INCLUDE_PATH2=/usr/java/jdk1.7.0_79/include/linux
>      [exec] Located all JNI components successfully.
>      [exec] -- Could NOT find PROTOBUF (missing:  PROTOBUF_LIBRARY 
> PROTOBUF_INCLUDE_DIR)
>      [exec] -- valgrind location: MEMORYCHECK_COMMAND-NOTFOUND
>      [exec] -- checking for module 'fuse'
>      [exec] --   package 'fuse' not found
>      [exec] -- Failed to find Linux FUSE libraries or include files.  Will 
> not build FUSE client.
>      [exec] -- Configuring incomplete, errors occurred!
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:95 (copy_on_demand)
>      [exec]
>      [exec]
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:96 (copy_on_demand)
>      [exec]
>      [exec]
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:97 (copy_on_demand)
>      [exec]
>      [exec]
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:98 (copy_on_demand)
>      [exec]
>      [exec]
>      [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 "hdfspp" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp
>      [exec]     linked by target "hdfspp_static" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp
>      [exec]     linked by target "protoc-gen-hrpc" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/proto
>      [exec]     linked by target "bad_datanode_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "hdfs_builder_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "hdfspp_errors_test" in directory 
> /home/tiborkiss/devel/workspace
>      [exec] 
> /hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "libhdfs_threaded_hdfspp_test_shim_static" 
> in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/test
>      [exec]     linked by target "logging_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "node_exclusion_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
> tiborkiss@eiger ~/d/w/hadoop ❯❯❯ cat ../HADOOP-cmake-error.txt
> [INFO] --- maven-antrun-plugin:1.7:run (make) @ hadoop-hdfs-native-client ---
> [INFO] Executing tasks
> main:
>      [exec] JAVA_HOME=, 
> JAVA_JVM_LIBRARY=/usr/java/jdk1.7.0_79/jre/lib/amd64/server/libjvm.so
>      [exec] JAVA_INCLUDE_PATH=/usr/java/jdk1.7.0_79/include, 
> JAVA_INCLUDE_PATH2=/usr/java/jdk1.7.0_79/include/linux
>      [exec] Located all JNI components successfully.
>      [exec] -- Could NOT find PROTOBUF (missing:  PROTOBUF_LIBRARY 
> PROTOBUF_INCLUDE_DIR)
>      [exec] -- valgrind location: MEMORYCHECK_COMMAND-NOTFOUND
>      [exec] -- checking for module 'fuse'
>      [exec] --   package 'fuse' not found
>      [exec] -- Failed to find Linux FUSE libraries or include files.  Will 
> not build FUSE client.
>      [exec] -- Configuring incomplete, errors occurred!
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:95 (copy_on_demand)
>      [exec]
>      [exec]
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:96 (copy_on_demand)
>      [exec]
>      [exec]
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:97 (copy_on_demand)
>      [exec]
>      [exec]
>      [exec] CMake Error at main/native/libhdfspp/CMakeLists.txt:71 
> (get_filename_component):
>      [exec]   get_filename_component unknown component DIRECTORY
>      [exec] Call Stack (most recent call first):
>      [exec]   main/native/libhdfspp/CMakeLists.txt:98 (copy_on_demand)
>      [exec]
>      [exec]
>      [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 "hdfspp" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp
>      [exec]     linked by target "hdfspp_static" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp
>      [exec]     linked by target "protoc-gen-hrpc" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/proto
>      [exec]     linked by target "bad_datanode_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "hdfs_builder_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "hdfspp_errors_test" in directory 
> /home/tiborkiss/devel/workspace
>      [exec] 
> /hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "libhdfs_threaded_hdfspp_test_shim_static" 
> in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "logging_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "node_exclusion_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "remote_block_reader_test" in directory 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/tests
>      [exec]     linked by target "rpc_engine_test" in directory 
> /home/tiborkiss/devel/workspace/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 
> /home/tiborkiss/devel/workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/libhdfspp/lib/proto
>      [exec]
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to