You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/07/30 20:12:39 UTC

[jira] [Commented] (TAJO-928) Session variables should override query configs in TajoConf.

    [ https://issues.apache.org/jira/browse/TAJO-928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14079677#comment-14079677 ] 

ASF GitHub Bot commented on TAJO-928:
-------------------------------------

GitHub user hyunsik opened a pull request:

    https://github.com/apache/tajo/pull/98

    TAJO-928: Session variables should override query configs in TajoConf.

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/hyunsik/tajo TAJO-928

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tajo/pull/98.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #98
    
----
commit a3b78642abb6c160b147eae2f29a10e362c14cac
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-08T08:47:42Z

    Improve session variables to affect the query config.

commit 0a0035d9b259a1a05ba790b7a778a745251d27bd
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-08T12:54:32Z

     Fixed.

commit 3fb54a6dde89d2d8e972253c1eccd17f334180d4
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-09T02:23:28Z

    Completed output file rotating.

commit 8028f5f876af2050bb602e277026e76ca802619a
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-15T03:57:29Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into OUTPUT_ROTATING
    
    Conflicts:
    	tajo-core/src/main/java/org/apache/tajo/engine/planner/global/GlobalPlanner.java
    	tajo-core/src/main/java/org/apache/tajo/master/querymaster/Repartitioner.java
    	tajo-core/src/main/java/org/apache/tajo/master/querymaster/SubQuery.java

commit 50f6af418b42704ba14a4c7a084372f80c7ce1ec
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-15T06:25:09Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into OUTPUT_ROTATING

commit 4d0abc0dfbf6c5898bce6bd0e1ecd4c995108571
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-15T11:13:55Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into OUTPUT_ROTATING
    
    Conflicts:
    	tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/HashBasedColPartitionStoreExec.java
    	tajo-core/src/main/java/org/apache/tajo/engine/planner/physical/SortBasedColPartitionStoreExec.java

commit dd79f666d81875bf6a547478b76fc55b60f37d09
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-15T12:31:11Z

    Added estimatedwrittensize.

commit da231ca89e5cf3638ea16faad281f8296854a9dd
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-17T03:03:37Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into OUTPUT_ROTATING

commit c006382a3b16973872d753c9a0e0150da1c0f687
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-17T03:10:20Z

    Reflect session variables to GlobalPlanner, Repartitioner, and PhysicalPlannerImpl.

commit bccd8528c84e09bc9861648bb427fb7706f8652d
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-25T01:20:33Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into OUTPUT_ROTATING

commit 244318ccf8154c4b4e45dc24fdab23f85513e496
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-25T01:27:08Z

    Reset output rotating part.

commit 244b2614f0986248cec43bd0012bce8c489ea95f
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-25T06:28:35Z

    Add SessionVars and improve QueryContext.

commit ed05c03448e9b49fa1280266d6b4fc38e473f314
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-25T08:06:35Z

    Improved QueryContext.

commit c8e53b4d140b7f6d656f10ded1767272b62a526e
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-29T07:29:05Z

    Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/tajo into TAJO-928
    
    Conflicts:
    	tajo-core/src/main/java/org/apache/tajo/master/querymaster/Repartitioner.java

commit 2becff67dafba948e37463ef840c2d96ce8c56a1
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-29T10:16:01Z

    Refactored QueryContext to take conf always.

commit 59861210fe4f16b50b076fd0b0456d6f7bd8a145
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-29T10:35:55Z

    Refactored TaskAttemptContext to not take TajoConf.

commit ea952a4a3068f9ccff8cf2455300ddd7968da0fd
Author: Hyunsik Choi <hy...@apache.org>
Date:   2014-07-30T18:09:19Z

    Fixed all unit tests.

----


> Session variables should override query configs in TajoConf.
> ------------------------------------------------------------
>
>                 Key: TAJO-928
>                 URL: https://issues.apache.org/jira/browse/TAJO-928
>             Project: Tajo
>          Issue Type: Improvement
>          Components: distributed query plan, planner/optimizer
>            Reporter: Hyunsik Choi
>            Assignee: Hyunsik Choi
>             Fix For: 0.9.0
>
>
> Currently, we should use tajo-site in order to change the configurations related queries, such as optimization option or some parameters. It is never practical because we need to restart a Tajo cluster in order to change the config.
> The main purpose of this issue is to refactor the system of session variable and some part to recognize query configs to accept the session variables. Also, when there are duplicated configs in session and TajoConf, session variables should override the existing config of TajoConf.



--
This message was sent by Atlassian JIRA
(v6.2#6252)