文档介绍:一)将hdfs映射到windows下,通过网上邻居访问
过实现WebDavHttp协议,结合WebDav的众多客户端,可以将hdfs映射为windows或是linux的本地文件系统.
而使用api存储文件时,也将对应用透明,)
项目hdfs-(其中neon和fuse可以直接使用,但是davfs2--)
编译安装fuse,neon和davfs2
通过./configure;
如果在ubuntu下不加后缀(因为在linux下后缀并不代表文件的格式),在windows通过其
make
makeinstall来安装首先赋予openlab用户执行的权限,将neon---
******@openlab00:/usr/cap/tomcat--webdav/linux_mount_lib$sudochownopenlab:openlab-Rneon---
******@openlab00:/usr/cap/tomcat--webdav/linux_mount_lib$cdneon-
执行fuse下的configure
******@openlab00:/usr/cap/tomcat--webdav/linux_mount_lib/neon-$./configure
******@openlab00:/usr/cap/tomcat--webdav/linux_mount_lib/neon-$make
******@openlab00:/usr/cap/tomcat--webdav/linux_mount_lib/neon-$makeinstall
在执行******@openlab00:/usr/cap/tomcat--webdav/linux_mount_lib/neon-$./configure时,出现如下错误:checkingforaBSD-compatibleinstall.../usr/bin/install-c
checkingbuildsystemtype...i686-pc-linux-gnu
checkinghostsystemtype...i686-pc-linux-gnu
checkingforgcc...gcc
checkingforCcompilerdefaultoutputfilename...
checkingwhethertheCcompilerworks...yes
checkingwhetherwearecrosscompiling...no
checkingforsuffixofexecutables...
checkingforsuffixofobjectfiles...o
如果在ubuntu下不加后缀(因为在linux下后缀并不代表文件的格式),在windows通过其
make
make
make
checkingwhetherweareusingtheGNUCcompiler...yes
checkingwhethergccaccepts-g...yes
checkingforgccoptiontoacceptISOC89...noneneeded
checkingforasedthatdoesnottruncateoutput.../bin/sed
checkingforgrepthathandleslonglinesand-e.../bin/grep
checkingforegrep.../bin/grep-...no
checkingforxml2-config...no
configure:error:noXMLparserwasfound:
解决方法:
******@openlab00:/usr/cap/tomcat--webdav/linux_mount_lib/neon-.