代码拉取完成,页面将自动刷新
#Apache FtpServer Hadoop HDFS Adapter
##项目说明
本项目是一个让 Apache FTpServer(http://mina.apache.org/downloads-ftpserver.html) 支持 HDFS 文件系统的组件. 全代码只要三个类, 但是也是本人走查 ftpserver 代码的心血. 当看过这个项目, 测试本地 FTP 成功后, 灵光闪现, 要是能支持 Hadoop 多好, 因此走读代码, 发现编写也很简单, 因此有了该组件.
希望对广大 hadoop 爱好者, 有相关需求的朋友有用.
##配置方式:
'''
<listeners>
<nio-listener name="default" port="2121" local-address="0.0.0.0" implicit-ssl="false">
</nio-listener>
</listeners>
<file-user-manager file="./res/conf/users.properties" />
<filesystem>
<beans:bean id="hdfsFileSystem" class="com.yiidata.ftpserver.hdfs.HdfsFileSystemFactory">
<beans:constructor-arg type="org.apache.hadoop.conf.Configuration">
<beans:bean class="org.apache.hadoop.conf.Configuration" />
</beans:constructor-arg>
</beans:bean>
</filesystem>
'''
'''
<server xmlns="http://mina.apache.org/ftpserver/spring/v1"
xmlns:beans="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://mina.apache.org/ftpserver/spring/v1 http://mina.apache.org/ftpserver/ftpserver-1.0.xsd
"
id="myServer">
'''
项目名: adapter, 拼写错误, 错了就错了吧. 不要介意
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型