Ignore:
Timestamp:
Feb 4, 2010, 3:36:39 AM (15 years ago)
Author:
jazz
Message:

開另一個視窗避免 CTRL+C 把 java 子程序全砍了 - 暫時無法在 Cygwin 網站找到解法
http://www.mail-archive.com/cygwin@cygwin.com/msg104921.html

File:
1 edited

Legend:

Unmodified
Added
Removed
  • hadoop4win-setup/my_packages/hadoop/bin/start-hadoop

    r129 r140  
    11#!/bin/bash
    2 /opt/hadoop/bin/hadoop-daemon.sh start namenode
    3 /opt/hadoop/bin/hadoop-daemon.sh start datanode
    4 /opt/hadoop/bin/hadoop-daemon.sh start jobtracker
    5 /opt/hadoop/bin/hadoop-daemon.sh start tasktracker
    6 cygstart http://localhost:50070
    7 cygstart http://localhost:50030
     2cygstart --showminnoactive /bin/bash -c /bin/start-hadoop-daemon
     3for ((i=1;i<=10;i++)); do sleep 1; printf "."; done
     4printf "\n"
     5jps
Note: See TracChangeset for help on using the changeset viewer.