[
https://issues.apache.org/jira/browse/TAJO-149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761564#comment-13761564
]
Jinho Kim commented on TAJO-149:
--------------------------------
Hyunsik,
Looks great for me. but I getting following error.
{noformat}
java.lang.IllegalStateException: staging must be set before starting a Tajo
Cluster starts up
at
com.google.common.base.Preconditions.checkState(Preconditions.java:149)
at org.apache.tajo.conf.TajoConf.getStagingRoot(TajoConf.java:370)
at
org.apache.tajo.master.TajoMaster.checkAndInitializeSystemDirectories(TajoMaster.java:201)
at org.apache.tajo.master.TajoMaster.init(TajoMaster.java:123)
at
org.apache.tajo.TajoTestingCluster.startMiniTajoCluster(TajoTestingCluster.java:271)
at
org.apache.tajo.TajoTestingCluster.startMiniCluster(TajoTestingCluster.java:386)
at
org.apache.tajo.TajoTestingCluster.startMiniCluster(TajoTestingCluster.java:351)
at
org.apache.tajo.LocalTajoTestingUtility.setup(LocalTajoTestingUtility.java:53)
at org.apache.tajo.TpchTestBase.setUp(TpchTestBase.java:94)
at org.apache.tajo.TpchTestBase.<clinit>(TpchTestBase.java:51)
{noformat}
> Eliminate QueryConf and its file write
> --------------------------------------
>
> Key: TAJO-149
> URL: https://issues.apache.org/jira/browse/TAJO-149
> Project: Tajo
> Issue Type: Improvement
> Components: master, worker
> Reporter: Hyunsik Choi
> Assignee: Hyunsik Choi
> Fix For: 0.2-incubating
>
> Attachments: TAJO-149.patch
>
>
> QueryConf is a subclass of org.apache.hadoop.conf.Configuration. This has a
> similar mechanism of JobConf of MapReduce. It has overheads and too big to be
> distributed across a number of nodes. I've added QueryMeta to the patch of
> TAJO-144. QueryMeta contains a set of key-value pairs and is based on
> protobuf. Since QueryMeta is a wrapper class of a protobuf message and will
> contain only specific information for each query, it will be very lightweight
> and is easy to be disseminated across a number of nodes.
> In this issue, we will replace QueryConf by QueryMeta, and we will eliminate
> the part where QueryConf is written as a xml file on HDFS.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira