-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/18728/
-----------------------------------------------------------
(Updated March 12, 2014, 2:52 p.m.)
Review request for Tajo.
Bugs: TAJO-647
https://issues.apache.org/jira/browse/TAJO-647
Repository: tajo
Description
-------
The main problem is that localAllocation does not find next lowest volume. and
it will assign to remote in rack.
We should control the remote tasks.
Leaf scheduling priorities
1. tasks in a volume of host
2. unknown disk, non-splitable in local host
3. remote tasks in rack. (consider the remaining tasks)
4. random remote tasks. (tail concurrency control of scheduled tasks)
Diffs (updated)
-----
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/DefaultTaskScheduler.java
3ee93ac0f996d8f3854265f7d1dd1c58e050e14a
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/querymaster/QueryUnit.java
57b3db4730ccaf80bcf61d0ef157908b2f5be2c9
tajo-core/tajo-core-backend/src/main/java/org/apache/tajo/master/querymaster/SubQuery.java
790d30b652e2d75014cd7ffe2b20527fae2d948e
Diff: https://reviews.apache.org/r/18728/diff/
Testing
-------
I've tested two cluster.
Cluster-1 : ( disk * 4) * 4 servers
Cluster-2 : ( disk * 8) * 10 servers
Test DataSet : TPCH 100GB, 1TB
Thanks,
Jinho Kim