-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for FileChannel #12
Comments
Could you give me some exemples of how you do it? |
I'm investigating what you want to do with SSHD-Core. |
@ogirardot I made some tests with an embedded FTP server. It seems to work pretty well :) I will make some changes for the next version. Anyway I have a great tool now to test the implementation. Like this: FileZilla -> Custom Java Program that use FtpServer -> Nio -> jsr203hadoop -> HDFS I don't know how you use NIO with SSHD but if the MINA FTP server use NIO in the same way, I will be able to debug it and fix the pb.
|
I'm having trouble using this API with SSHD ( apache mina sshd ) , it have a EOF Exception. i do it like under: sshd.setFileSystemFactory(new HdfsSftpFileSystemFactory()); public class HdfsSftpFileSystemFactory implements FileSystemFactory {
} when i download file, it have a EOF Exception . HadoopFileSystem$3 [position] |
I think you should not instanciate |
I'm having trouble using this API with SSHD-Core mainly because of the lack of
public FileChannel newFileChannel(Path path, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
method on HadoopFileSystemProvider.I'm trying to create an implementation but I am a bit seb-back by my lack of knowledge of this API.
Regards,
Olivier.
The text was updated successfully, but these errors were encountered: