TAJO-928: Session variables should override query configs in TajoConf.#98
TAJO-928: Session variables should override query configs in TajoConf.#98hyunsik wants to merge 22 commits into
Conversation
…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
…into OUTPUT_ROTATING
…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
…into OUTPUT_ROTATING
…into OUTPUT_ROTATING
…into TAJO-928 Conflicts: tajo-core/src/main/java/org/apache/tajo/master/querymaster/Repartitioner.java
|
This is still ongoing work. The remain works are as follows:
|
…into TAJO-928 Conflicts: tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java
|
It is ready to be reviewed. Please review the patch. I'll also add some documentation soon. |
There was a problem hiding this comment.
I removed the commented out lines.
…into TAJO-928 Conflicts: tajo-common/src/main/java/org/apache/tajo/conf/TajoConf.java
|
I've described some changes. The current way is to set some keys in TajoConf.ConfVars. I deprecated the way, but the way still works for a while. If you use the old way, you can see the deprecation warning. But, the conf key automatically is replaced by new key corresponding to the conf key. Also, I've added the help command and its alias. So you can use Also, I've updated querydetail.jsp file to show session variables applied to the query. I believe that this patch is ready to be committed. Please review this. |
|
Thank you for your detailed description and sorry but I'm hard to review it now. |
|
@blrunner Thanks in advance! |
|
Hi @hyunsik Unfortunately, 'mvn clean install' failed as follows: Failed tests: testForwardedQuery(org.apache.tajo.scheduler.TestFifoScheduler): expected:<QUERY_RUNNING> but was:<QUERY_NOT_ASSIGNED> Tests run: 1096, Failures: 1, Errors: 0, Skipped: 0 Could you check it? |
|
I haven't experienced the failure. The failure seems to occur occasionally due to unknown reason. In addition, I strongly believe that this change affects the test. |
|
If the failure occurs occasionally, we need to handle it in another jira issue. |
|
Sorry for my late review. Could you rebase against the master branch? |
…into TAJO-928 Conflicts: tajo-core/src/test/java/org/apache/tajo/cli/TestTajoCli.java
|
I've rebased the patch against the latest revision. Thank you for your review. |
|
+1 Thank you for your great patch, it will be very useful to tajo. |
ZEPPELIN-147 reorder paragraph
No description provided.