[ https://issues.apache.org/jira/browse/HDFS-14707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16901906#comment-16901906 ]
Masatake Iwasaki commented on HDFS-14707: ----------------------------------------- I manually tested the modified httpfs.sh using downloaded hadoop-2.9.2.tar.gz with debug logging enabled in httpfs-log4j.properties. Native library was not loaded without the fix. {noformat} 2019-08-07 17:24:51,001 DEBUG NativeCodeLoader [][:] Trying to load the custom-built native-hadoop library... 2019-08-07 17:24:51,001 DEBUG NativeCodeLoader [][:] Failed to load native-hadoop with error: java.lang.UnsatisfiedLinkError: no hadoop in java.library.path 2019-08-07 17:24:51,001 DEBUG NativeCodeLoader [][:] java.library.path=/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 2019-08-07 17:24:51,002 WARN NativeCodeLoader [][:] Unable to load native-hadoop library for your platform... using builtin-java classes where applicable {noformat} Native library was loaded with the patch. {noformat} 2019-08-07 17:25:45,622 DEBUG NativeCodeLoader [][:] Trying to load the custom-built native-hadoop library... 2019-08-07 17:25:45,623 DEBUG NativeCodeLoader [][:] Loaded the native-hadoop library {noformat} > Add JAVA_LIBRARY_PATH to HTTPFS startup options in branch-2 > ------------------------------------------------------------ > > Key: HDFS-14707 > URL: https://issues.apache.org/jira/browse/HDFS-14707 > Project: Hadoop HDFS > Issue Type: Improvement > Components: httpfs > Reporter: Masatake Iwasaki > Assignee: Masatake Iwasaki > Priority: Major > Attachments: HDFS-14707-branch-2.001.patch > > > Currently HTTPFS does not load hadoop native library since java.library.path > is not set on Tomcat startup. -- This message was sent by Atlassian JIRA (v7.6.14#76016) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org