Changeset 72


Ignore:
Timestamp:
Jun 2, 2009, 5:20:19 PM (15 years ago)
Author:
waue
Message:

test

Location:
nutchez-0.1
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • nutchez-0.1/bin/nutchez

    r69 r72  
    66
    77# begining ..
    8 bin=`dirname "$0"`
    9 bin=`cd "$bin"; pwd`
    108
    11 . "$bin"/nutchez-func.sh
     9#bin=`dirname "$0"`
     10#bin=`cd "$bin"; pwd`
     11
     12#. "$bin"/nutchez-func.sh
     13
     14  export NUTCH_CONF_DIR=~/.nutchez
     15  export HADOOP_CONF_DIR=~/.nutchez
     16  export HADOOP_LOG_DIR=~/.nutchez/log
     17
     18. /opt/nutch/bin/nutchez-func.sh
     19. ~/.nutchez/hadoop-env.sh
     20
     21
     22
    1223init_nutchez
    1324
  • nutchez-0.1/bin/nutchez-func.sh

    r69 r72  
    99
    1010# set 1 to display more for debug,
    11 VERB=1
     11VERB=0
    1212
    1313init_nutchez () {
     
    1919    chown -R $LOGNAME:$LOGNAME ~/.nutchez
    2020  fi
    21   export NUTCH_CONF_DIR=~/.nutchez
    22   export HADOOP_CONF_DIR=~/.nutchez
    23   export HADOOP_LOG_DIR=~/.nutchez/log
    24   . ~/.nutchez/hadoop-env.sh || . /etc/nutch/hadoop-env.sh
     21#  export NUTCH_CONF_DIR=~/.nutchez
     22#  export HADOOP_CONF_DIR=~/.nutchez
     23#  export HADOOP_LOG_DIR=~/.nutchez/log
     24#  . ~/.nutchez/hadoop-env.sh || . /etc/nutch/hadoop-env.sh
    2525}
    2626
     
    173173  echo_vb "8. start_tomcat "
    174174  echo_vb "/opt/nutch/tomcat/bin/startup.sh"
    175   if [ -e /tmp/search ]
     175  if [ -e /tmp/search ];then
    176176    rm -rf /tmp/search
    177177  fi
  • nutchez-0.1/conf/sav/n.crawler.txt

    r67 r72  
    1 6
     13
  • nutchez-0.1/conf/sav/n.url.txt

    r67 r72  
    1 http://www.nchc.org.tw
    2 http://www.yahoo.com.tw
     1www.nchc.org.tw
     2www.hadoop.tw
Note: See TracChangeset for help on using the changeset viewer.