fix CI
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/5d2934b7 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/5d2934b7 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/5d2934b7 Branch: refs/heads/KYLIN-2606 Commit: 5d2934b7e6331e5fef2c18c92d7338932b087b3f Parents: 92b6404 Author: Hongbin Ma <mahong...@apache.org> Authored: Tue May 23 21:26:02 2017 +0800 Committer: hongbin ma <m...@kyligence.io> Committed: Tue May 23 21:27:41 2017 +0800 ---------------------------------------------------------------------- .../apache/kylin/metadata/model/TblColRef.java | 1 - .../org/apache/kylin/rest/DebugDeployCLI.java | 31 ++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/5d2934b7/core-metadata/src/main/java/org/apache/kylin/metadata/model/TblColRef.java ---------------------------------------------------------------------- diff --git a/core-metadata/src/main/java/org/apache/kylin/metadata/model/TblColRef.java b/core-metadata/src/main/java/org/apache/kylin/metadata/model/TblColRef.java index 3bca61c..5a28e8b 100644 --- a/core-metadata/src/main/java/org/apache/kylin/metadata/model/TblColRef.java +++ b/core-metadata/src/main/java/org/apache/kylin/metadata/model/TblColRef.java @@ -87,7 +87,6 @@ public class TblColRef implements Serializable { checkArgument(col.table.getModel() == UNKNOWN_MODEL || col.table.getModel() == model); TableRef tableRef = model.findTable(alias); checkArgument(tableRef.getTableDesc().getIdentity().equals(col.column.getTable().getIdentity())); - checkArgument(tableRef.getTableDesc() == col.column.getTable()); col.fixTableRef(tableRef); } http://git-wip-us.apache.org/repos/asf/kylin/blob/5d2934b7/server/src/main/java/org/apache/kylin/rest/DebugDeployCLI.java ---------------------------------------------------------------------- diff --git a/server/src/main/java/org/apache/kylin/rest/DebugDeployCLI.java b/server/src/main/java/org/apache/kylin/rest/DebugDeployCLI.java new file mode 100644 index 0000000..28c1b12 --- /dev/null +++ b/server/src/main/java/org/apache/kylin/rest/DebugDeployCLI.java @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. +*/ + +package org.apache.kylin.rest; + +import java.io.IOException; + +import org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI; + +public class DebugDeployCLI { + + public static void main(String[] args) throws IOException { + DebugTomcat.setupDebugEnv(); + DeployCoprocessorCLI.main(new String[] { "default", "all" }); + } +}