It seems that writes/reads to regular files can't not be made non-blocking. I found the following references for support: from The Linux Programming Interface: A Linux and UNIX System Programming Handbook: "--- Nonblocking mode can be used with devic…
今天在linux命令行使用scp命令拷贝一个目录到另一台服务器的时候,报如下错误: [root@hadoop01 ~]# scp flume -r hadoop02:/root/apps flume: not a regular file -r: No such file or directory [root@hadoop01 ~]# scp flume hadoop02:/root/apps/ flume: not a regular file 原来在使用scp拷贝一个目录(注意拷贝目录必须加…