Added: kylin/site/cn/docs16/tutorial/acl.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs16/tutorial/acl.html?rev=1766622&view=auto ============================================================================== --- kylin/site/cn/docs16/tutorial/acl.html (added) +++ kylin/site/cn/docs16/tutorial/acl.html Wed Oct 26 04:14:47 2016 @@ -0,0 +1,1268 @@ +<!-- +* 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. +--> + +<!doctype html> +<html> + <!-- +* 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. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | Kylin Cube æéæäºæç¨</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/docs16/tutorial/acl.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + + //oringal tracker for kylin.io + ga('create', 'UA-55534813-1', 'auto'); + //new tracker for kylin.apache.org + ga('create', 'UA-55534813-2', 'auto', {'name':'toplevel'}); + + ga('send', 'pageview'); + ga('toplevel.send', 'pageview'); + + +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +</head> + + <body> + <!-- +* 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. +--> + +<header id="header" > + <div id="head" class="parallax" parallax-speed="3" > + <div id="logo" class="text-center"> <img class="img-circle" id="circlelogo" src="/assets/images/kylin_logo.jpg"> <span class="title" >Apache Kylinâ¢</span> <span class="tagline">Extreme OLAP Engine for Big Data</span> + </div> + </div> + + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs15" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</li> + <li><a href="/community" >社åº</a></li> + <li><a href="/development" >å¼å</a></li> + <li><a href="/blog">å客</li> + <li><a href="/" >English</a></li> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> +</nav> + </header> + + + <div class="container"> + <div class="row"> + <!-- +* 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. +--> + +<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼å§" data-toggle="collapse" id="navtitle">å¼å§</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/index.html" class="list-group-item-lay pjaxlink" id="navlist">æ¦è¿°</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleå®è£ " data-toggle="collapse" id="navtitle">å®è£ </a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/install/manual_install_guide.html" class="list-group-item-lay pjaxlink" id="navlist">æå¨å®è£ æå</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleæç¨" data-toggle="collapse" id="navtitle">æç¨</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/cube_build_job.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube 建ç«åJobçæ§æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/acl.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube æéæäºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/web.html" class="list-group-item-lay pjaxlink" id="navlist">Kylinç½é¡µçæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau.html" class="list-group-item-lay pjaxlink" id="navlist">Tableauæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau_91.html" class="list-group-item-lay pjaxlink" id="navlist">Tableau 9 æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/powerbi.html" class="list-group-item-lay pjaxlink" id="navlist">微软ExcelåPower BIæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/odbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin ODBC 驱å¨ç¨åºæç¨</a></li> + + + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + <div class="col-md-9 col-lg-9 col-xs-14 aside2"> + <div id="container"> + <div id="pjax"> + <h1 class="post-title">Kylin Cube æéæäºæç¨</h1> + <article class="post-content" > + <p>å¨<code class="highlighter-rouge">Cubes</code>页é¢ï¼åå»cubeè¡æ¥ç详ç»ä¿¡æ¯ãå¨è¿éæä»¬å ³æ³¨<code class="highlighter-rouge">Access</code>æ ç¾ã<br /> +ç¹å»<code class="highlighter-rouge">+Grant</code>æé®è¿è¡ææã</p> + +<p><img src="/images/Kylin-Cube-Permission-Grant-Tutorial/14 +grant.png" alt="" /></p> + +<p>ä¸ä¸ªcubeæåç§ä¸åçæéãå°ä½ çé¼ æ 移å¨å°<code class="highlighter-rouge">?</code>å¾æ æ¥ç详ç»ä¿¡æ¯ã</p> + +<p><img src="/images/Kylin-Cube-Permission-Grant-Tutorial/15 grantInfo.png" alt="" /></p> + +<p>ææ对象ä¹æ两ç§ï¼<code class="highlighter-rouge">User</code>å<code class="highlighter-rouge">Role</code>ã<code class="highlighter-rouge">Role</code>æ¯æä¸ç»æ¥æåæ ·æéçç¨æ·ã</p> + +<h3 id="section">1. æäºç¨æ·æé</h3> +<ul> + <li> + <p>éæ©<code class="highlighter-rouge">User</code>ç±»åï¼è¾å ¥ä½ æ³è¦ææçç¨æ·çç¨æ·å并éæ©ç¸åºçæéã</p> + + <p><img src="/images/Kylin-Cube-Permission-Grant-Tutorial/16 grant-user.png" alt="" /></p> + </li> + <li> + <p>ç¶åç¹å»<code class="highlighter-rouge">Grant</code>æé®æ交请æ±ãå¨è¿ä¸æä½æååï¼ä½ ä¼å¨è¡¨ä¸çå°ä¸ä¸ªæ°ç表项ãä½ å¯ä»¥éæ©ä¸åç访é®æéæ¥ä¿®æ¹ç¨æ·æéãç¹å»<code class="highlighter-rouge">Revoke</code>æé®å¯ä»¥å é¤ä¸ä¸ªæ¥ææéçç¨æ·ã</p> + + <p><img src="/images/Kylin-Cube-Permission-Grant-Tutorial/16 user-update.png" alt="" /></p> + </li> +</ul> + +<h3 id="section-1">2. æäºè§è²æé</h3> +<ul> + <li> + <p>éæ©<code class="highlighter-rouge">Role</code>ç±»åï¼éè¿ç¹å»ä¸ææé®éæ©ä½ æ³è¦ææçä¸ç»ç¨æ·å¹¶éæ©ä¸ä¸ªæéã</p> + </li> + <li> + <p>ç¶åç¹å»<code class="highlighter-rouge">Grant</code>æé®æ交请æ±ãå¨è¿ä¸æä½æååï¼ä½ ä¼å¨è¡¨ä¸çå°ä¸ä¸ªæ°ç表项ãä½ å¯ä»¥éæ©ä¸åç访é®æéæ¥ä¿®æ¹ç»æéãç¹å»<code class="highlighter-rouge">Revoke</code>æé®å¯ä»¥å é¤ä¸ä¸ªæ¥ææéçç»ã</p> + </li> +</ul> + + </article> + </div> + </div> + </div> + </div> + </div> + <!-- +* 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. +--> + +<footer id="underfooter"> + <div class="container"> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body" style="text-align:center"> + <a href="http://www.apache.org"> + <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/feather-small.gif"> + </a> + + <div> + The contents of this website are © 2015 Apache Software Foundation under the terms of the <a + href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. Apache Kylin and + its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html>
Added: kylin/site/cn/docs16/tutorial/create_cube.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs16/tutorial/create_cube.html?rev=1766622&view=auto ============================================================================== --- kylin/site/cn/docs16/tutorial/create_cube.html (added) +++ kylin/site/cn/docs16/tutorial/create_cube.html Wed Oct 26 04:14:47 2016 @@ -0,0 +1,1392 @@ +<!-- +* 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. +--> + +<!doctype html> +<html> + <!-- +* 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. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | Kylin Cube å建æç¨</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/docs16/tutorial/create_cube.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + + //oringal tracker for kylin.io + ga('create', 'UA-55534813-1', 'auto'); + //new tracker for kylin.apache.org + ga('create', 'UA-55534813-2', 'auto', {'name':'toplevel'}); + + ga('send', 'pageview'); + ga('toplevel.send', 'pageview'); + + +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +</head> + + <body> + <!-- +* 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. +--> + +<header id="header" > + <div id="head" class="parallax" parallax-speed="3" > + <div id="logo" class="text-center"> <img class="img-circle" id="circlelogo" src="/assets/images/kylin_logo.jpg"> <span class="title" >Apache Kylinâ¢</span> <span class="tagline">Extreme OLAP Engine for Big Data</span> + </div> + </div> + + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs15" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</li> + <li><a href="/community" >社åº</a></li> + <li><a href="/development" >å¼å</a></li> + <li><a href="/blog">å客</li> + <li><a href="/" >English</a></li> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> +</nav> + </header> + + + <div class="container"> + <div class="row"> + <!-- +* 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. +--> + +<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼å§" data-toggle="collapse" id="navtitle">å¼å§</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/index.html" class="list-group-item-lay pjaxlink" id="navlist">æ¦è¿°</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleå®è£ " data-toggle="collapse" id="navtitle">å®è£ </a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/install/manual_install_guide.html" class="list-group-item-lay pjaxlink" id="navlist">æå¨å®è£ æå</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleæç¨" data-toggle="collapse" id="navtitle">æç¨</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/cube_build_job.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube 建ç«åJobçæ§æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/acl.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube æéæäºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/web.html" class="list-group-item-lay pjaxlink" id="navlist">Kylinç½é¡µçæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau.html" class="list-group-item-lay pjaxlink" id="navlist">Tableauæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau_91.html" class="list-group-item-lay pjaxlink" id="navlist">Tableau 9 æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/powerbi.html" class="list-group-item-lay pjaxlink" id="navlist">微软ExcelåPower BIæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/odbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin ODBC 驱å¨ç¨åºæç¨</a></li> + + + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + <div class="col-md-9 col-lg-9 col-xs-14 aside2"> + <div id="container"> + <div id="pjax"> + <h1 class="post-title">Kylin Cube å建æç¨</h1> + <article class="post-content" > + <h3 id="i-">I. æ°å»ºä¸ä¸ªé¡¹ç®</h3> +<ol> + <li> + <p>ç±é¡¶é¨èåæ è¿å ¥<code class="highlighter-rouge">Query</code>页é¢ï¼ç¶åç¹å»<code class="highlighter-rouge">Manage Projects</code>ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/1 manage-prject.png" alt="" /></p> + </li> + <li> + <p>ç¹å»<code class="highlighter-rouge">+ Project</code>æé®æ·»å ä¸ä¸ªæ°ç项ç®ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/2 %2Bproject.png" alt="" /></p> + </li> + <li> + <p>å¡«åä¸å表å并ç¹å»<code class="highlighter-rouge">submit</code>æé®æ交请æ±ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/3 new-project.png" alt="" /></p> + </li> + <li> + <p>æååï¼åºé¨ä¼æ¾ç¤ºéç¥ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/3.1 pj-created.png" alt="" /></p> + </li> +</ol> + +<h3 id="ii-">II. åæ¥ä¸å¼ 表</h3> +<ol> + <li> + <p>å¨é¡¶é¨èåæ ç¹å»<code class="highlighter-rouge">Tables</code>ï¼ç¶åç¹å»<code class="highlighter-rouge">+ Sync</code>æé®å è½½hive表å æ°æ®ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/4 %2Btable.png" alt="" /></p> + </li> + <li> + <p>è¾å ¥è¡¨å并ç¹å»<code class="highlighter-rouge">Sync</code>æé®æ交请æ±ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/5 hive-table.png" alt="" /></p> + </li> +</ol> + +<h3 id="iii-cube">III. æ°å»ºä¸ä¸ªcube</h3> +<p>é¦å ï¼å¨é¡¶é¨èåæ ç¹å»<code class="highlighter-rouge">Cubes</code>ãç¶åç¹å»<code class="highlighter-rouge">+Cube</code>æé®è¿å ¥cube designer页é¢ã</p> + +<p><img src="/images/Kylin-Cube-Creation-Tutorial/6 %2Bcube.png" alt="" /></p> + +<p><strong>æ¥éª¤1. Cubeä¿¡æ¯</strong></p> + +<p>å¡«åcubeåºæ¬ä¿¡æ¯ãç¹å»<code class="highlighter-rouge">Next</code>è¿å ¥ä¸ä¸æ¥ã</p> + +<p>ä½ å¯ä»¥ä½¿ç¨åæ¯ãæ°ååâ_âæ¥ä¸ºä½ çcubeå½åï¼æ³¨æååä¸ä¸è½ä½¿ç¨ç©ºæ ¼ï¼ã</p> + +<p><img src="/images/Kylin-Cube-Creation-Tutorial/7 cube-info.png" alt="" /></p> + +<p><strong>æ¥éª¤2. 维度</strong></p> + +<ol> + <li> + <p>建ç«äºå®è¡¨ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-factable.png" alt="" /></p> + </li> + <li> + <p>ç¹å»<code class="highlighter-rouge">+Dimension</code>æé®æ·»å ä¸ä¸ªæ°ç维度ã</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-%2Bdim.png" alt="" /></p> + </li> + <li> + <p>å¯ä»¥éæ©ä¸åç±»åç维度å å ¥ä¸ä¸ªcubeãæ们å¨è¿éååºå ¶ä¸ä¸é¨åä¾ä½ åèã</p> + + <ul> + <li> + <p>ä»äºå®è¡¨è·å维度ã<br /> + <img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-typeA.png" alt="" /></p> + </li> + <li> + <p>ä»æ¥æ¾è¡¨è·å维度ã<br /> + <img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-typeB-1.png" alt="" /></p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-typeB-2.png" alt="" /></p> + </li> + <li> + <p>ä»æå级ç»æçæ¥æ¾è¡¨è·å维度ã<br /> + <img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-typeC.png" alt="" /></p> + </li> + <li> + <p>ä»æè¡ç维度(derived dimensions)çæ¥æ¾è¡¨è·å维度ã<br /> + <img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-typeD.png" alt="" /></p> + </li> + </ul> + </li> + <li> + <p>ç¨æ·å¯ä»¥å¨ä¿å维度åè¿è¡ç¼è¾ã<br /> +<img src="/images/Kylin-Cube-Creation-Tutorial/8 dim-edit.png" alt="" /></p> + </li> +</ol> + +<p><strong>æ¥éª¤3. 度é</strong></p> + +<ol> + <li> + <p>ç¹å»<code class="highlighter-rouge">+Measure</code>æé®æ·»å ä¸ä¸ªæ°ç度éã<br /> +<img src="/images/Kylin-Cube-Creation-Tutorial/9 meas-%2Bmeas.png" alt="" /></p> + </li> + <li> + <p>æ ¹æ®å®ç表达å¼å ±æ5ç§ä¸åç±»åç度éï¼<code class="highlighter-rouge">SUM</code>ã<code class="highlighter-rouge">MAX</code>ã<code class="highlighter-rouge">MIN</code>ã<code class="highlighter-rouge">COUNT</code>å<code class="highlighter-rouge">COUNT_DISTINCT</code>ã请谨æ éæ©è¿åç±»åï¼å®ä¸<code class="highlighter-rouge">COUNT(DISTINCT)</code>ç误差çç¸å ³ã</p> + <ul> + <li> + <p>SUM</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/9 meas-sum.png" alt="" /></p> + </li> + <li> + <p>MIN</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/9 meas-min.png" alt="" /></p> + </li> + <li> + <p>MAX</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/9 meas-max.png" alt="" /></p> + </li> + <li> + <p>COUNT</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/9 meas-count.png" alt="" /></p> + </li> + <li> + <p>DISTINCT_COUNT</p> + + <p><img src="/images/Kylin-Cube-Creation-Tutorial/9 meas-distinct.png" alt="" /></p> + </li> + </ul> + </li> +</ol> + +<p><strong>æ¥éª¤4. è¿æ»¤å¨</strong></p> + +<p>è¿ä¸æ¥éª¤æ¯å¯éçãä½ å¯ä»¥ä½¿ç¨<code class="highlighter-rouge">SQL</code>æ ¼å¼æ·»å ä¸äºæ¡ä»¶è¿æ»¤å¨ã</p> + +<p><img src="/images/Kylin-Cube-Creation-Tutorial/10 filter.png" alt="" /></p> + +<p><strong>æ¥éª¤5. æ´æ°è®¾ç½®</strong></p> + +<p>è¿ä¸æ¥éª¤æ¯ä¸ºå¢éæ建cubeè设计çã</p> + +<p><img src="/images/Kylin-Cube-Creation-Tutorial/11 refresh-setting1.png" alt="" /></p> + +<p>éæ©ååºç±»åãååºååå¼å§æ¥æã</p> + +<p><img src="/images/Kylin-Cube-Creation-Tutorial/11 refresh-setting2.png" alt="" /></p> + +<p><strong>æ¥éª¤6. é«çº§è®¾ç½®</strong></p> + +<p><img src="/images/Kylin-Cube-Creation-Tutorial/12 advanced.png" alt="" /></p> + +<p><strong>æ¥éª¤7. æ¦è§ & ä¿å</strong></p> + +<p>ä½ å¯ä»¥æ¦è§ä½ çcube并è¿åä¹åçæ¥éª¤è¿è¡ä¿®æ¹ãç¹å»<code class="highlighter-rouge">Save</code>æé®å®æcubeå建ã</p> + +<p><img src="/images/Kylin-Cube-Creation-Tutorial/13 overview.png" alt="" /></p> + + </article> + </div> + </div> + </div> + </div> + </div> + <!-- +* 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. +--> + +<footer id="underfooter"> + <div class="container"> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body" style="text-align:center"> + <a href="http://www.apache.org"> + <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/feather-small.gif"> + </a> + + <div> + The contents of this website are © 2015 Apache Software Foundation under the terms of the <a + href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. Apache Kylin and + its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html> Added: kylin/site/cn/docs16/tutorial/cube_build_job.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs16/tutorial/cube_build_job.html?rev=1766622&view=auto ============================================================================== --- kylin/site/cn/docs16/tutorial/cube_build_job.html (added) +++ kylin/site/cn/docs16/tutorial/cube_build_job.html Wed Oct 26 04:14:47 2016 @@ -0,0 +1,1305 @@ +<!-- +* 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. +--> + +<!doctype html> +<html> + <!-- +* 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. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | Kylin Cube 建ç«åJobçæ§æç¨</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/docs16/tutorial/cube_build_job.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + + //oringal tracker for kylin.io + ga('create', 'UA-55534813-1', 'auto'); + //new tracker for kylin.apache.org + ga('create', 'UA-55534813-2', 'auto', {'name':'toplevel'}); + + ga('send', 'pageview'); + ga('toplevel.send', 'pageview'); + + +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +</head> + + <body> + <!-- +* 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. +--> + +<header id="header" > + <div id="head" class="parallax" parallax-speed="3" > + <div id="logo" class="text-center"> <img class="img-circle" id="circlelogo" src="/assets/images/kylin_logo.jpg"> <span class="title" >Apache Kylinâ¢</span> <span class="tagline">Extreme OLAP Engine for Big Data</span> + </div> + </div> + + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs15" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</li> + <li><a href="/community" >社åº</a></li> + <li><a href="/development" >å¼å</a></li> + <li><a href="/blog">å客</li> + <li><a href="/" >English</a></li> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> +</nav> + </header> + + + <div class="container"> + <div class="row"> + <!-- +* 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. +--> + +<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼å§" data-toggle="collapse" id="navtitle">å¼å§</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/index.html" class="list-group-item-lay pjaxlink" id="navlist">æ¦è¿°</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleå®è£ " data-toggle="collapse" id="navtitle">å®è£ </a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/install/manual_install_guide.html" class="list-group-item-lay pjaxlink" id="navlist">æå¨å®è£ æå</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleæç¨" data-toggle="collapse" id="navtitle">æç¨</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/cube_build_job.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube 建ç«åJobçæ§æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/acl.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube æéæäºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/web.html" class="list-group-item-lay pjaxlink" id="navlist">Kylinç½é¡µçæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau.html" class="list-group-item-lay pjaxlink" id="navlist">Tableauæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau_91.html" class="list-group-item-lay pjaxlink" id="navlist">Tableau 9 æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/powerbi.html" class="list-group-item-lay pjaxlink" id="navlist">微软ExcelåPower BIæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/odbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin ODBC 驱å¨ç¨åºæç¨</a></li> + + + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + <div class="col-md-9 col-lg-9 col-xs-14 aside2"> + <div id="container"> + <div id="pjax"> + <h1 class="post-title">Kylin Cube 建ç«åJobçæ§æç¨</h1> + <article class="post-content" > + <h3 id="cube">Cube建ç«</h3> +<p>é¦å ï¼ç¡®è®¤ä½ æ¥æä½ æ³è¦å»ºç«çcubeçæéã</p> + +<ol> + <li> + <p>å¨<code class="highlighter-rouge">Cubes</code>页é¢ä¸ï¼ç¹å»cubeæ å³ä¾§ç<code class="highlighter-rouge">Action</code>ä¸ææé®å¹¶éæ©<code class="highlighter-rouge">Build</code>æä½ã</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/1 action-build.png" alt="" /></p> + </li> + <li> + <p>éæ©åä¼åºç°ä¸ä¸ªå¼¹åºçªå£ã</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/2 pop-up.png" alt="" /></p> + </li> + <li> + <p>ç¹å»<code class="highlighter-rouge">END DATE</code>è¾å ¥æ¡éæ©å¢éæ建è¿ä¸ªcubeçç»ææ¥æã</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/3 end-date.png" alt="" /></p> + </li> + <li> + <p>ç¹å»<code class="highlighter-rouge">Submit</code>æ交请æ±ã</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/4 submit.png" alt="" /></p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/4.1 success.png" alt="" /></p> + + <p>æ交请æ±æååï¼ä½ å°ä¼çå°<code class="highlighter-rouge">Jobs</code>页é¢æ°å»ºäºjobã</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/5 jobs-page.png" alt="" /></p> + </li> + <li> + <p>å¦è¦æ¾å¼è¿ä¸ªjobï¼ç¹å»<code class="highlighter-rouge">Discard</code>æé®ã</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/6 discard.png" alt="" /></p> + </li> +</ol> + +<h3 id="job">Jobçæ§</h3> +<p>å¨<code class="highlighter-rouge">Jobs</code>页é¢ï¼ç¹å»job详æ æé®æ¥çæ¾ç¤ºäºå³ä¾§ç详ç»ä¿¡æ¯ã</p> + +<p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/7 job-steps.png" alt="" /></p> + +<p>job详ç»ä¿¡æ¯ä¸ºè·è¸ªä¸ä¸ªjobæä¾äºå®çæ¯ä¸æ¥è®°å½ãä½ å¯ä»¥å°å æ åæ¾å¨ä¸ä¸ªæ¥éª¤ç¶æå¾æ ä¸æ¥çåºæ¬ç¶æåä¿¡æ¯ã</p> + +<p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/8 hover-step.png" alt="" /></p> + +<p>ç¹å»æ¯ä¸ªæ¥éª¤æ¾ç¤ºçå¾æ æé®æ¥ç详æ ï¼<code class="highlighter-rouge">Parameters</code>ã<code class="highlighter-rouge">Log</code>ã<code class="highlighter-rouge">MRJob</code>ã<code class="highlighter-rouge">EagleMonitoring</code>ã</p> + +<ul> + <li> + <p>Parameters</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/9 parameters.png" alt="" /></p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/9 parameters-d.png" alt="" /></p> + </li> + <li> + <p>Log</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/9 log.png" alt="" /></p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/9 log-d.png" alt="" /></p> + </li> + <li> + <p>MRJob(MapReduce Job)</p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/9 mrjob.png" alt="" /></p> + + <p><img src="/images/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/9 mrjob-d.png" alt="" /></p> + </li> +</ul> + + </article> + </div> + </div> + </div> + </div> + </div> + <!-- +* 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. +--> + +<footer id="underfooter"> + <div class="container"> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body" style="text-align:center"> + <a href="http://www.apache.org"> + <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/feather-small.gif"> + </a> + + <div> + The contents of this website are © 2015 Apache Software Foundation under the terms of the <a + href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. Apache Kylin and + its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html> Added: kylin/site/cn/docs16/tutorial/kylin_client_tool.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs16/tutorial/kylin_client_tool.html?rev=1766622&view=auto ============================================================================== --- kylin/site/cn/docs16/tutorial/kylin_client_tool.html (added) +++ kylin/site/cn/docs16/tutorial/kylin_client_tool.html Wed Oct 26 04:14:47 2016 @@ -0,0 +1,1326 @@ +<!-- +* 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. +--> + +<!doctype html> +<html> + <!-- +* 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. +--> + +<head> + <meta charset="utf-8"> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + + <title>Apache Kylin | Kylin Client Tool 使ç¨æç¨</title> + <meta name="description" content="Apache Kylin Home"> + <meta name="author" content="Apache Kylin"> + <link rel="shortcut icon" href="fav.png" type="image/png"> + + + +<link rel="stylesheet" href="/assets/css/animate.css"> +<!-- Bootstrap --> +<link rel="stylesheet" href="/assets/css/bootstrap.min.css"> + +<!-- Fonts --> +<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> --> + +<!-- Icons --> +<link rel="stylesheet" href="/assets/css/font-awesome.min.css"> + + <!-- Custom styles --> + <link rel="stylesheet" href="/assets/css/styles.css"> + <link rel="stylesheet" href="/assets/css/docs.css"> + + <link rel="canonical" href="http://kylin.apache.org/cn/docs16/tutorial/kylin_client_tool.html"> + <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" /> + +<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]--> +<script> + (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ + (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), + m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) + })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); + + + //oringal tracker for kylin.io + ga('create', 'UA-55534813-1', 'auto'); + //new tracker for kylin.apache.org + ga('create', 'UA-55534813-2', 'auto', {'name':'toplevel'}); + + ga('send', 'pageview'); + ga('toplevel.send', 'pageview'); + + +</script> +<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script> +<script type="text/javascript" src="/assets/js/nside.js"></script> </script> +<script type="text/javascript" src="/assets/js/nnav.js"></script> </script> +</head> + + <body> + <!-- +* 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. +--> + +<header id="header" > + <div id="head" class="parallax" parallax-speed="3" > + <div id="logo" class="text-center"> <img class="img-circle" id="circlelogo" src="/assets/images/kylin_logo.jpg"> <span class="title" >Apache Kylinâ¢</span> <span class="tagline">Extreme OLAP Engine for Big Data</span> + </div> + </div> + + <!-- Main Menu --> + <nav class="navbar navbar-default" role="navigation" id="nav-wrapper"> + <div class="container-fluid" id="nav"> + <!-- Brand and toggle get grouped for better mobile display --> + <div class="navbar-header"> + <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> + <span class="sr-only">Toggle navigation</span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + + </div> + + <!-- Collect the nav links, forms, and other content for toggling --> + <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> + <ul class="nav navbar-nav"> + <li><a href="/cn">é¦é¡µ</a></li> + <li><a href="/cn/docs15" >ææ¡£</a></li> + <li><a href="/cn/download">ä¸è½½</li> + <li><a href="/community" >社åº</a></li> + <li><a href="/development" >å¼å</a></li> + <li><a href="/blog">å客</li> + <li><a href="/" >English</a></li> + <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li> + <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li> + <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li> + </ul> + + + </div><!-- /.navbar-collapse --> + </div><!-- /.container-fluid --> +</nav> + </header> + + + <div class="container"> + <div class="row"> + <!-- +* 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. +--> + +<div class="col-md-3 col-lg-3 col-xs-4 aside1 visible-md visible-lg" id="nside1" style=" padding-top: 2em"> + <ul class="nav nav-pills nav-stacked"> + + <li><a href="#titleå¼å§" data-toggle="collapse" id="navtitle">å¼å§</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/index.html" class="list-group-item-lay pjaxlink" id="navlist">æ¦è¿°</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleå®è£ " data-toggle="collapse" id="navtitle">å®è£ </a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/install/manual_install_guide.html" class="list-group-item-lay pjaxlink" id="navlist">æå¨å®è£ æå</a></li> + + + + + + + + + <ul> + </div> +</div> + + <li><a href="#titleæç¨" data-toggle="collapse" id="navtitle">æç¨</a></li> + <div class="collapse in"> + <div class="list-group" id="list1"> + <ul style="list-style-type:disc"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/cube_build_job.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube 建ç«åJobçæ§æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/acl.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin Cube æéæäºæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/web.html" class="list-group-item-lay pjaxlink" id="navlist">Kylinç½é¡µçæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau.html" class="list-group-item-lay pjaxlink" id="navlist">Tableauæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/tableau_91.html" class="list-group-item-lay pjaxlink" id="navlist">Tableau 9 æç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/powerbi.html" class="list-group-item-lay pjaxlink" id="navlist">微软ExcelåPower BIæç¨</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <li><a href="/cn/docs15/tutorial/odbc.html" class="list-group-item-lay pjaxlink" id="navlist">Kylin ODBC 驱å¨ç¨åºæç¨</a></li> + + + + + + + + + <ul> + </div> +</div> + + + </ul> +</div> + <div class="col-md-9 col-lg-9 col-xs-14 aside2"> + <div id="container"> + <div id="pjax"> + <h1 class="post-title">Kylin Client Tool 使ç¨æç¨</h1> + <article class="post-content" > + <blockquote> + <p>Kylin-client-toolæ¯ä¸ä¸ªç¨pythonç¼åçï¼å®å ¨åºäºkylinçrest apiçå·¥å ·ãå¯ä»¥å®ç°kylinçcubeå建ï¼ææ¶build cubeï¼jobçæ交ãè°åº¦ãæ¥çãåæ¶ä¸æ¢å¤ã</p> +</blockquote> + +<h2 id="section">å®è£ </h2> +<p>1.确认è¿è¡ç¯å¢å®è£ äºpython2.6/2.7</p> + +<p>2.æ¬å·¥å ·éå®è£ 第ä¸æ¹pythonå apschedulerårequestsï¼è¿è¡setup.shè¿è¡å®è£ ï¼macç¨æ·è¿è¡setup-mac.shè¿è¡å®è£ ãä¹å¯ç¨setuptoolsè¿è¡å®è£ </p> + +<h2 id="section-1">é ç½®</h2> +<p>ä¿®æ¹å·¥å ·ç®å½ä¸çsettings/settings.pyæ件ï¼è¿è¡é ç½®</p> + +<p><code class="highlighter-rouge">KYLIN_USER</code> Kylinç¨æ·å</p> + +<p><code class="highlighter-rouge">KYLIN_PASSWORD</code> Kylinçå¯ç </p> + +<p><code class="highlighter-rouge">KYLIN_REST_HOST</code> Kylinçå°å</p> + +<p><code class="highlighter-rouge">KYLIN_REST_PORT</code> Kylinç端å£</p> + +<p><code class="highlighter-rouge">KYLIN_JOB_MAX_COCURRENT</code> å 许åæ¶buildçjobæ°é</p> + +<p><code class="highlighter-rouge">KYLIN_JOB_MAX_RETRY</code> cube buildåºç°erroråï¼å 许çéå¯job次æ°</p> + +<h2 id="section-2">å½ä»¤è¡ç使ç¨</h2> +<p>æ¬å·¥å ·ä½¿ç¨optparseéè¿å½ä»¤è¡æ¥æ§è¡æä½ï¼å ·ä½ç¨æ³å¯éè¿<code class="highlighter-rouge">python kylin_client_tool.py ï¼h</code>æ¥æ¥ç</p> + +<h2 id="cube">cubeçå建</h2> +<p>æ¬å·¥å ·å®ä¹äºä¸ç§è¯»æåçææ¬ï¼æ¥å¿«écubeå建çæ¹æ³ï¼æ ¼å¼å¦ä¸</p> + +<p><code class="highlighter-rouge">cubeå|fact tableå|维度1,维度1ç±»å;维度2,维度2ç±»å...|ææ 1,ææ 1表达å¼,ææ 1ç±»å...|设置项|filter|</code></p> + +<p>设置项å æ以ä¸é项ï¼</p> + +<p><code class="highlighter-rouge">no_dictionary</code> 设置Rowkeysä¸ä¸çædictionaryç维度åå ¶é¿åº¦</p> + +<p><code class="highlighter-rouge">mandatory_dimension</code> 设置Rowkeysä¸mandatoryç维度</p> + +<p><code class="highlighter-rouge">aggregation_group</code> 设置aggregation group</p> + +<p><code class="highlighter-rouge">partition_date_column</code> 设置partition date column</p> + +<p><code class="highlighter-rouge">partition_date_start</code> 设置partition start date</p> + +<p>å ·ä½ä¾åå¯ä»¥æ¥çcube_def.csvæ件ï¼ç®åä¸æ¯æå«lookup tableçcubeå建</p> + +<p>使ç¨<code class="highlighter-rouge">-c</code>å½ä»¤è¿è¡å建ï¼ç¨<code class="highlighter-rouge">-F</code>æå®cubeå®ä¹æ件ï¼ä¾å¦</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -c -F cube_def.csv</code></p> + +<h2 id="build-cube">build cube</h2> +<p>###使ç¨cubeå®ä¹æ件build<br /> +使ç¨<code class="highlighter-rouge">-b</code>å½ä»¤ï¼éè¦ç¨<code class="highlighter-rouge">-F</code>æå®cubeå®ä¹æ件ï¼å¦ææå®äºpartition date columnï¼éè¿<code class="highlighter-rouge">-T</code>æå®end date(year-month-dayæ ¼å¼)ï¼è¥ä¸æå®ï¼ä»¥å½åæ¶é´ä¸ºend dateï¼ä¾å¦</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -b -F cube_def.csv -T 2016-03-01</code></p> + +<p>###使ç¨cubeåæ件build<br /> +ç¨<code class="highlighter-rouge">-f</code>æå®cubeåæ件ï¼æ件æ¯è¡ä¸ä¸ªcubeå</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -b -f cube_names.csv -T 2016-03-01</code></p> + +<p>###ç´æ¥å½ä»¤è¡åcubeåbuild<br /> +ç¨<code class="highlighter-rouge">-C</code>æå®cubeåï¼éè¿éå·è¿è¡åé</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -b -C client_tool_test1,client_tool_test2 -T 2016-03-01</code></p> + +<h2 id="job">job管ç</h2> +<p>###æ¥çjobç¶æ<br /> +使ç¨<code class="highlighter-rouge">-s</code>å½ä»¤æ¥çï¼ç¨<code class="highlighter-rouge">-f</code>æå®cubeåæ件ï¼ç¨<code class="highlighter-rouge">-C</code>æå®cubeåï¼è¥ä¸æå®ï¼å°æ¥çææcubeç¶æãç¨<code class="highlighter-rouge">-S</code>æå®jobç¶æï¼R表示<code class="highlighter-rouge">Running</code>ï¼E表示<code class="highlighter-rouge">Error</code>ï¼F表示<code class="highlighter-rouge">Finished</code>ï¼D表示<code class="highlighter-rouge">Discarded</code>ï¼ä¾å¦ï¼</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -s -C kylin_sales_cube -f cube_names.csv -S F</code></p> + +<p>###æ¢å¤job<br /> +ç¨<code class="highlighter-rouge">-r</code>å½ä»¤æ¢å¤jobï¼ç¨<code class="highlighter-rouge">-f</code>æå®cubeåæ件ï¼ç¨<code class="highlighter-rouge">-C</code>æå®cubeåï¼è¥ä¸æå®ï¼å°æ¢å¤ææErrorç¶æçjobï¼ä¾å¦ï¼</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -r -C kylin_sales_cube -f cube_names.csv</code></p> + +<p>###åæ¶job<br /> +ç¨<code class="highlighter-rouge">-k</code>å½ä»¤åæ¶jobï¼ç¨<code class="highlighter-rouge">-f</code>æå®cubeåæ件ï¼ç¨<code class="highlighter-rouge">-C</code>æå®cubeåï¼è¥ä¸æå®ï¼å°åæ¶ææRunningæErrorç¶æçjobï¼ä¾å¦ï¼</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -k -C kylin_sales_cube -f cube_names.csv</code></p> + +<h2 id="build-cube-1">å®æ¶build cube</h2> +<p>### æ¯éä¸æ®µæ¶é´build cube<br /> +å¨cube buildå½ä»¤çåºç¡ä¸ï¼ä½¿ç¨<code class="highlighter-rouge">-B i</code>æå®æ¯éä¸æ®µæ¶é´buildçæ¹å¼ï¼ä½¿ç¨<code class="highlighter-rouge">-O</code>æå®é´éçå°æ¶æ°ï¼ä¾å¦ï¼</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -b -F cube_def.csv -B i -O 1</code></p> + +<h3 id="build-cube-2">设å®æ¶é´build cube</h3> +<p>使ç¨<code class="highlighter-rouge">-B t</code>æå®ææ¶build cubeçæ¹å¼ï¼ä½¿ç¨<code class="highlighter-rouge">-O</code>æå®buildæ¶é´ï¼ç¨éå·è¿è¡åé</p> + +<p><code class="highlighter-rouge">python kylin_client_tool.py -b -F cube_def.csv -T 2016-03-04 -B t -O 2016,3,1,0,0,0</code></p> + + </article> + </div> + </div> + </div> + </div> + </div> + <!-- +* 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. +--> + +<footer id="underfooter"> + <div class="container"> + <div class="row"> + <div class="col-md-12 widget"> + <div class="widget-body" style="text-align:center"> + <a href="http://www.apache.org"> + <img id="asf-logo" alt="Apache Software Foundation" src="/assets/images/feather-small.gif"> + </a> + + <div> + The contents of this website are © 2015 Apache Software Foundation under the terms of the <a + href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>. Apache Kylin and + its logo are trademarks of the Apache Software Foundation. + </div> + + </div> + </div> + </div> + <!-- /row of widgets --> + + </div> + <div></div> + +</footer> + + <script src="/assets/js/jquery-1.9.1.min.js"></script> + <script src="/assets/js/bootstrap.min.js"></script> + <script src="/assets/js/main.js"></script> + </body> +</html>