2
雖然在OSX開始Hadoop的資源管理器,我得到以下錯誤:的nohup:不能從控制檯分離:不適當的IOCTL用於設備
bash-3.2$ start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /Users/hadoop/hadoop-2.7.3/logs/yarn-hadoop-resourcemanager-MacBook-Pro-2.local.out
nohup: can't detach from console: Inappropriate ioctl for device
localhost: starting nodemanager, logging to /Users/hadoop/hadoop-2.7.3/logs/yarn-hadoop-nodemanager-MacBook-Pro-2.local.out
bash-3.2$ cat /Users/hadoop/hadoop-2.7.3/logs/yarn-hadoop-resourcemanager-MacBook-Pro-2.local.out
nohup: can't detach from console: Inappropriate ioctl for device
ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 709
virtual memory (kbytes, -v) unlimited
可能的重複http://stackoverflow.com/questions/23898623/nohup-cant-detach-from-console – patrungel
喜patrungel,這是一個不同的問題,但我發現一個解決方法,在下面發佈 – Panda123