You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by lu...@apache.org on 2015/07/20 07:27:08 UTC
[1/3] incubator-kylin git commit: KYLIN-884 add sample doc,
fix link issue
Repository: incubator-kylin
Updated Branches:
refs/heads/0.7-staging 9687a3b38 -> 8a761579d
KYLIN-884 add sample doc, fix link issue
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/3eb986b1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/3eb986b1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/3eb986b1
Branch: refs/heads/0.7-staging
Commit: 3eb986b1bf720796a8ab429514fdb1f37219f9da
Parents: df020d7
Author: Luke Han <lu...@apache.org>
Authored: Mon Jul 20 13:17:59 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Mon Jul 20 13:17:59 2015 +0800
----------------------------------------------------------------------
website/_config.yml | 5 +++--
website/_config_prod.yml | 24 ++++++++++++++++++++++++
website/_docs/tutorial/kylin_sample.md | 23 +++++++++++++++++++++++
website/_includes/footer.html | 4 ++--
4 files changed, 52 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/3eb986b1/website/_config.yml
----------------------------------------------------------------------
diff --git a/website/_config.yml b/website/_config.yml
index cc17a87..9874902 100644
--- a/website/_config.yml
+++ b/website/_config.yml
@@ -16,16 +16,17 @@
#
# Site settings
-title: kylin.io
+title: Apache Kylin
email: dev@kylin.incubator.apache.org
description: Apache Kylin Home
baseurl: "" # the subpath of your site, e.g. /blog/
-url: "http://kylin.incubator.apache.org" # the base hostname & protocol for your site
+url: "http://127.0.0.1" # the base hostname & protocol for your site
twitter_username: ApacheKylin
encoding: UTF-8
timezone: America/Dawson
+exclude: ["README.md", "Rakefile", "*.scss", "*.haml", "*.sh"]
include: [_docs]
# Build settings
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/3eb986b1/website/_config_prod.yml
----------------------------------------------------------------------
diff --git a/website/_config_prod.yml b/website/_config_prod.yml
new file mode 100644
index 0000000..eaaf611
--- /dev/null
+++ b/website/_config_prod.yml
@@ -0,0 +1,24 @@
+#
+# 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.
+#
+
+# Site settings
+
+# Notes:
+# To release to website, use following script to generate real docs:
+# >jekyll build -config _config.yml _config_prod.yml
+#
+url: "http://kylin.incubator.apache.org" # the base hostname & protocol for your site
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/3eb986b1/website/_docs/tutorial/kylin_sample.md
----------------------------------------------------------------------
diff --git a/website/_docs/tutorial/kylin_sample.md b/website/_docs/tutorial/kylin_sample.md
new file mode 100644
index 0000000..46f51a2
--- /dev/null
+++ b/website/_docs/tutorial/kylin_sample.md
@@ -0,0 +1,23 @@
+---
+layout: docs
+title: Quick Start with Sample Cube
+categories: tutorial
+permalink: /docs/tutorial/kylin_sample.html
+version: v0.7.2
+since: v0.7.1
+---
+
+Kylin provides a script for you to create a sample Cube; the script will also create three sample hive tables:
+
+1. Run ${KYLIN_HOME}/bin/sample.sh ; Restart kylin server to flush the caches;
+2. Logon Kylin web, select project "learn_kylin";
+3. Select the sample cube "kylin_sales_cube", click "Actions" -> "Build", pick up a date later than 2014-01-01 (to cover all 10000 sample records);
+4. Check the build progress in "Jobs" tab, until 100%;
+5. Execute SQLs in the "Query" tab, for example:
+ select part_dt, sum(price) as total_selled, count(distinct seller_id) as sellers from kylin_sales group by part_dt order by part_dt
+6. You can verify the query result and compare the response time with hive;
+
+
+## What's next
+
+After cube being built, please refer to other document of this tutorial for more detail information.
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/3eb986b1/website/_includes/footer.html
----------------------------------------------------------------------
diff --git a/website/_includes/footer.html b/website/_includes/footer.html
index eca5273..70d2bcb 100644
--- a/website/_includes/footer.html
+++ b/website/_includes/footer.html
@@ -25,10 +25,10 @@
Apache Kylin is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
</div>
<a href="http://www.apache.org">
- <img id="asf-logo" alt="Apache Software Foundation" src="assets/images/feather-small.gif">
+ <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/feather-small.gif">
</a>
<a href="http://incubator.apache.org/">
- <img id="incubator-logo" alt="Apache Incubator" src="assets/images/egg-logo.png">
+ <img id="incubator-logo" alt="Apache Incubator" src="/assets/images/egg-logo.png">
</a>
<div id="copyright">
[2/3] incubator-kylin git commit: update jekyll config file
Posted by lu...@apache.org.
update jekyll config file
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/00f0d62c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/00f0d62c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/00f0d62c
Branch: refs/heads/0.7-staging
Commit: 00f0d62cf23f7446936096d6ecce1905bb58239c
Parents: 3eb986b
Author: Luke Han <lu...@apache.org>
Authored: Mon Jul 20 13:23:45 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Mon Jul 20 13:23:45 2015 +0800
----------------------------------------------------------------------
website/_config.yml | 2 +-
website/_data/docs.yml | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/00f0d62c/website/_config.yml
----------------------------------------------------------------------
diff --git a/website/_config.yml b/website/_config.yml
index 9874902..fe5afde 100644
--- a/website/_config.yml
+++ b/website/_config.yml
@@ -20,7 +20,7 @@ title: Apache Kylin
email: dev@kylin.incubator.apache.org
description: Apache Kylin Home
baseurl: "" # the subpath of your site, e.g. /blog/
-url: "http://127.0.0.1" # the base hostname & protocol for your site
+url: "http://kylin.incubator.apache.org" # the base hostname & protocol for your site
twitter_username: ApacheKylin
encoding: UTF-8
http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/00f0d62c/website/_data/docs.yml
----------------------------------------------------------------------
diff --git a/website/_data/docs.yml b/website/_data/docs.yml
index 63b1fda..8a6236d 100644
--- a/website/_data/docs.yml
+++ b/website/_data/docs.yml
@@ -17,6 +17,7 @@
- title: Tutorial
docs:
+ - tutorial/kylin_sample
- tutorial/create_cube
- tutorial/cube_build_job
- tutorial/acl
[3/3] incubator-kylin git commit: Merge branch '0.7-staging' of
https://git-wip-us.apache.org/repos/asf/incubator-kylin into 0.7-staging
Posted by lu...@apache.org.
Merge branch '0.7-staging' of https://git-wip-us.apache.org/repos/asf/incubator-kylin into 0.7-staging
Project: http://git-wip-us.apache.org/repos/asf/incubator-kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kylin/commit/8a761579
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kylin/tree/8a761579
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kylin/diff/8a761579
Branch: refs/heads/0.7-staging
Commit: 8a761579d650178b4295f98e694ebdda2e76fc9d
Parents: 00f0d62 9687a3b
Author: Luke Han <lu...@apache.org>
Authored: Mon Jul 20 13:25:56 2015 +0800
Committer: Luke Han <lu...@apache.org>
Committed: Mon Jul 20 13:25:56 2015 +0800
----------------------------------------------------------------------
.../org/apache/kylin/cube/CubeSegmentsTest.java | 4 +--
.../kylin/job/tools/CubeMigrationCLI.java | 4 ++-
website/_docs/development/build_api.md | 2 +-
website/_docs/index.cn.md | 33 --------------------
website/_docs/index.md | 33 ++++++++++----------
website/_docs/install/index.md | 2 +-
6 files changed, 23 insertions(+), 55 deletions(-)
----------------------------------------------------------------------