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

ASF GitHub Bot commented on HDFS-16930:
---------------------------------------

jojochuang commented on code in PR #5449:
URL: https://github.com/apache/hadoop/pull/5449#discussion_r1127102374


##########
hadoop-hdfs-project/hadoop-hdfs-native-client/src/main/native/fuse-dfs/fuse_dfs_wrapper.sh:
##########
@@ -31,22 +31,13 @@ if [ "$JAVA_HOME" = "" ]; then
 export  JAVA_HOME=/usr/local/java
 fi
 
-if [ "$LD_LIBRARY_PATH" = "" ]; then
-export LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/$OS_ARCH/server:/usr/local/lib
-fi
-
-while IFS= read -r -d '' file
-do
-  export CLASSPATH=$CLASSPATH:$file
-done < <(find "$HADOOP_HOME/hadoop-client" -name "*.jar" -print0)
-
 while IFS= read -r -d '' file
 do
   export CLASSPATH=$CLASSPATH:$file
-done < <(find "$HADOOP_HOME/hadoop-hdfs-project" -name "*.jar" -print0)
+done < <(find "$HADOOP_HOME/hadoop-tools/hadoop-distcp" -name "*.jar" -print0)

Review Comment:
   It's been a while but I don't think fuse-dfs relies on distcp jars





> Update the wrapper for fuse-dfs
> -------------------------------
>
>                 Key: HDFS-16930
>                 URL: https://issues.apache.org/jira/browse/HDFS-16930
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: fuse-dfs
>            Reporter: Chao-Heng Lee
>            Assignee: Chao-Heng Lee
>            Priority: Minor
>              Labels: pull-request-available
>
> TheĀ fuse_dfs_wrapper.sh hasn't been updated for quite a long time.
> Although the documentation mentions that the script may not work out of the 
> box, it would be clearer to update any outdated paths.
> for example, from
> {code:java}
> export 
> LIBHDFS_PATH="$HADOOP_HOME/hadoop-hdfs-project/hadoop-hdfs-native-client/target/usr/local/lib"{code}
> to
> {code:java}
> export 
> LIBHDFS_PATH="$HADOOP_HOME/hadoop-hdfs-project/hadoop-hdfs-native-client/target/native/target/usr/local/lib"{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to