Changeset 249 for nutchez-0.2


Ignore:
Timestamp:
Jul 22, 2010, 5:16:27 PM (14 years ago)
Author:
rock
Message:

Debug: nutchez (/etc/hosts timestamp )

Location:
nutchez-0.2/src/shell
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.2/src/shell/add_hosts

    r174 r249  
    3939
    4040# Backup /etc/hosts
    41 cp -f "$2" "$2.bak"
     41#cp -f "$2" "$2.bak"
    4242
    4343# attache nutch_nodes to hosts
  • nutchez-0.2/src/shell/client_install

    r244 r249  
    1111# 需要 master_install 設定的參數區
    1212# Master IP here
    13 Master_IP_Address=your.master.ip.here
     13Master_IP_Address=140.110.138.179
    1414# Master Hostname here
    15 Master_Hostname=your.msater.hostname.here
     15Master_Hostname=rocky
    1616# 此檔自己用的參數區
    1717Linux_Distribution="";
  • nutchez-0.2/src/shell/client_remove

    r244 r249  
    1212# 需要 master_install 設定的參數區
    1313# Master IP here
    14 Master_IP_Address=input.your.master.ip_address
     14Master_IP_Address=140.110.138.179
    1515# Master Hostname here
    1616Master_Hostname=input_your_master_hostname
  • nutchez-0.2/src/shell/duplicate_del

    r174 r249  
    4545done
    4646
    47 cp -f "$1" "${1}.bak"
     47#cp -f "$1" "${1}.bak"
    4848#read -p "cp -f $1 ${1}.bak ; $?"
  • nutchez-0.2/src/shell/nutchez

    r243 r249  
    6464        exit
    6565    fi
     66    cp -f "${NutchEZ_HOME}/system/nutch_nodes" "${NutchEZ_HOME}/system/nutch_nodes.bak"
     67
    6668# 若 nutch_nodes 被更新過,則要求更新 /etc/hosts
    6769elif [ ${NutchEZ_HOME}/system/nutch_nodes -nt ${NutchEZ_HOME}/system/nutch_nodes.bak ]; then
Note: See TracChangeset for help on using the changeset viewer.