HCE Project Python language Distributed Tasks Manager Application, Distributed Crawler Application and client API bindings.
2.0.0-chaika
Hierarchical Cluster Engine Python language binding
|
Functions | |
def | processFullBatch (input_object) |
Variables | |
siteId1 = str(md5.new("http://www.yomiuri.co.jp").hexdigest()) | |
urlId1 = str(md5.new("http://www.yomiuri.co.jp/sports/mlb/20140407-OYT1T50015.html?from=ytop_top").hexdigest()) | |
bItem1 = BatchItem(siteId1, urlId1) | |
siteId2 = str(md5.new("http://localhost/www.yomiuri.co.jp").hexdigest()) | |
urlId2 = str(md5.new("http://localhost/www.yomiuri.co.jp/template1.html").hexdigest()) | |
bItem2 = BatchItem(siteId2, urlId2) | |
string | siteId3 = "" |
urlId3 = str(md5.new("http://localhost/www.yomiuri.co.jp/template1.html").hexdigest()) | |
bItem3 = BatchItem(siteId3, urlId3) | |
list | url_list |
string | PWD = "cd ../../bin" |
string | PYTHON_BINARY = "/usr/bin/python" |
string | CRAWLER_TASK_BINARY = "./crawler-task.py" |
string | CRAWLER_TASK_CFG = "--config=../ini/crawler-task.ini" |
string | PROCESSOR_TASK_BINARY = "./processor-task.py" |
string | PROCESSOR_TASK_CFG = "--config=../ini/processor-task.ini" |
Results = namedtuple("Results", "exit_code, output, err") | |
input_object = Batch(1,url_list) | |
def | result = processFullBatch(input_object) |
response = pickle.loads(result.output) | |
HCE project, Python bindings, Distributed Tasks Manager application. Event objects definitions. @package: dc @file ftest_dc_full_batch_processing.py @author Oleksii <developers.hce@gmail.com> @link: http://hierarchical-cluster-engine.com/ @copyright: Copyright © 2013-2014 IOIX Ukraine @license: http://hierarchical-cluster-engine.com/license/ @since: 0.1
def ftests.ftest_dc_full_batch_processing.processFullBatch | ( | input_object | ) |
Definition at line 65 of file ftest_dc_full_batch_processing.py.
Definition at line 34 of file ftest_dc_full_batch_processing.py.
Definition at line 38 of file ftest_dc_full_batch_processing.py.
Definition at line 42 of file ftest_dc_full_batch_processing.py.
string ftests.ftest_dc_full_batch_processing.CRAWLER_TASK_BINARY = "./crawler-task.py" |
Definition at line 56 of file ftest_dc_full_batch_processing.py.
string ftests.ftest_dc_full_batch_processing.CRAWLER_TASK_CFG = "--config=../ini/crawler-task.ini" |
Definition at line 57 of file ftest_dc_full_batch_processing.py.
Definition at line 78 of file ftest_dc_full_batch_processing.py.
string ftests.ftest_dc_full_batch_processing.PROCESSOR_TASK_BINARY = "./processor-task.py" |
Definition at line 58 of file ftest_dc_full_batch_processing.py.
string ftests.ftest_dc_full_batch_processing.PROCESSOR_TASK_CFG = "--config=../ini/processor-task.ini" |
Definition at line 59 of file ftest_dc_full_batch_processing.py.
string ftests.ftest_dc_full_batch_processing.PWD = "cd ../../bin" |
Definition at line 54 of file ftest_dc_full_batch_processing.py.
string ftests.ftest_dc_full_batch_processing.PYTHON_BINARY = "/usr/bin/python" |
Definition at line 55 of file ftest_dc_full_batch_processing.py.
ftests.ftest_dc_full_batch_processing.response = pickle.loads(result.output) |
Definition at line 82 of file ftest_dc_full_batch_processing.py.
def ftests.ftest_dc_full_batch_processing.result = processFullBatch(input_object) |
Definition at line 80 of file ftest_dc_full_batch_processing.py.
ftests.ftest_dc_full_batch_processing.Results = namedtuple("Results", "exit_code, output, err") |
Definition at line 62 of file ftest_dc_full_batch_processing.py.
ftests.ftest_dc_full_batch_processing.siteId1 = str(md5.new("http://www.yomiuri.co.jp").hexdigest()) |
Definition at line 32 of file ftest_dc_full_batch_processing.py.
ftests.ftest_dc_full_batch_processing.siteId2 = str(md5.new("http://localhost/www.yomiuri.co.jp").hexdigest()) |
Definition at line 36 of file ftest_dc_full_batch_processing.py.
string ftests.ftest_dc_full_batch_processing.siteId3 = "" |
Definition at line 40 of file ftest_dc_full_batch_processing.py.
list ftests.ftest_dc_full_batch_processing.url_list |
Definition at line 45 of file ftest_dc_full_batch_processing.py.
ftests.ftest_dc_full_batch_processing.urlId1 = str(md5.new("http://www.yomiuri.co.jp/sports/mlb/20140407-OYT1T50015.html?from=ytop_top").hexdigest()) |
Definition at line 33 of file ftest_dc_full_batch_processing.py.
ftests.ftest_dc_full_batch_processing.urlId2 = str(md5.new("http://localhost/www.yomiuri.co.jp/template1.html").hexdigest()) |
Definition at line 37 of file ftest_dc_full_batch_processing.py.
ftests.ftest_dc_full_batch_processing.urlId3 = str(md5.new("http://localhost/www.yomiuri.co.jp/template1.html").hexdigest()) |
Definition at line 41 of file ftest_dc_full_batch_processing.py.