You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2015/12/08 03:12:23 UTC
kylin git commit: KYLIN-1182 Move upgrade script to right place
Repository: kylin
Updated Branches:
refs/heads/2.0-rc 5e639ee0c -> 379e293f7
KYLIN-1182 Move upgrade script to right place
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/379e293f
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/379e293f
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/379e293f
Branch: refs/heads/2.0-rc
Commit: 379e293f79b31aa443b47a5fb4ce3819bd99382e
Parents: 5e639ee
Author: lidongsjtu <do...@ebay.com>
Authored: Mon Dec 7 12:25:06 2015 +0800
Committer: lidongsjtu <do...@ebay.com>
Committed: Mon Dec 7 15:00:33 2015 +0800
----------------------------------------------------------------------
build/bin/upgrade_v2.sh | 29 +++++++++++++++++++++++++++++
build/script/upgrade_v2.sh | 29 -----------------------------
2 files changed, 29 insertions(+), 29 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/379e293f/build/bin/upgrade_v2.sh
----------------------------------------------------------------------
diff --git a/build/bin/upgrade_v2.sh b/build/bin/upgrade_v2.sh
new file mode 100755
index 0000000..a954d35
--- /dev/null
+++ b/build/bin/upgrade_v2.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+#
+# 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.
+#
+
+dir=$(dirname ${0})
+source ${dir}/check-env.sh
+
+echo "======Deploy coprocessor======="
+$KYLIN_HOME/bin/kylin.sh org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI $KYLIN_HOME/lib/kylin-coprocessor-2.0-incubating-SNAPSHOT.jar
+
+echo "=====Upgrade Cube metadata====="
+$KYLIN_HOME/bin/kylin.sh org.apache.kylin.cube.upgrade.v2.CubeMetadataUpgradeV2
+
+echo "==============End=============="
http://git-wip-us.apache.org/repos/asf/kylin/blob/379e293f/build/script/upgrade_v2.sh
----------------------------------------------------------------------
diff --git a/build/script/upgrade_v2.sh b/build/script/upgrade_v2.sh
deleted file mode 100755
index a954d35..0000000
--- a/build/script/upgrade_v2.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-#
-# 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.
-#
-
-dir=$(dirname ${0})
-source ${dir}/check-env.sh
-
-echo "======Deploy coprocessor======="
-$KYLIN_HOME/bin/kylin.sh org.apache.kylin.storage.hbase.util.DeployCoprocessorCLI $KYLIN_HOME/lib/kylin-coprocessor-2.0-incubating-SNAPSHOT.jar
-
-echo "=====Upgrade Cube metadata====="
-$KYLIN_HOME/bin/kylin.sh org.apache.kylin.cube.upgrade.v2.CubeMetadataUpgradeV2
-
-echo "==============End=============="