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

Chris Nauroth commented on HDFS-8346:
-------------------------------------

* HDFS-573 implemented Windows compatibility for libhdfs.  As part of this 
effort, we refactored OS-specific system calls into OS-specific source files.  
We also introduced htable.c for a platform-neutral hash table implementation.  
libwebhdfs includes jni_helper.c from libhdfs in its own build.  jni_helper.c 
depends on the OS-specific sources and the hash table, but since the libwebhdfs 
build was not updated to include these files, this causes unresolved external 
symbols.
* HADOOP-11403 introduced the {{terror}} function in exception.c as a 
cross-platform thread-safe error reporting function.  libwebhdfs code was 
changed to call this function, but libwebhdfs doesn't use the exception.c from 
hadoop-common.  Instead, it uses the exception.c from libhdfs, which does not 
have this function.


> libwebhdfs build fails during link due to unresolved external symbols.
> ----------------------------------------------------------------------
>
>                 Key: HDFS-8346
>                 URL: https://issues.apache.org/jira/browse/HDFS-8346
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: native
>    Affects Versions: 2.6.0
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>
> The libwebhdfs build is currently broken due to various unresolved external 
> symbols during link.  Multiple patches have introduced a few different forms 
> of this breakage.  See comments for full details.



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

Reply via email to