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/05/27 13:40:15 UTC

svn commit: r1681991 [6/8] - in /incubator/kylin/site: api/ api/2014/ api/2014/12/ api/2014/12/31/ api/2014/12/31/Build-Cube-with-Restful-API/ api/2015/ api/2015/03/ api/2015/03/18/ api/2015/03/18/Restful-Service-Doc/ howto/ howto/2014/ howto/2014/10/ ...

Added: incubator/kylin/site/installation/2015/01/22/Advance-settings-of-Kylin-environment/index.html
URL: http://svn.apache.org/viewvc/incubator/kylin/site/installation/2015/01/22/Advance-settings-of-Kylin-environment/index.html?rev=1681991&view=auto
==============================================================================
--- incubator/kylin/site/installation/2015/01/22/Advance-settings-of-Kylin-environment/index.html (added)
+++ incubator/kylin/site/installation/2015/01/22/Advance-settings-of-Kylin-environment/index.html Wed May 27 11:40:12 2015
@@ -0,0 +1,484 @@
+<!--
+* 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 | Advance settings of Kylin environment</title>
+  <meta name="description" content="Enabling LZO compression">
+  <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="stylesheet" href="/assets/css/pygments.css">
+
+  <link rel="canonical" href="http://kyli.io/installation/2015/01/22/Advance-settings-of-Kylin-environment/">
+  <link rel="alternate" type="application/rss+xml" title="kylin.io" href="http://kyli.io/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.incubator.apache.org
+  ga('create', 'UA-55534813-2', 'auto', {'name':'incubator'});
+
+  ga('send', 'pageview');
+  ga('incubator.send', 'pageview');
+
+
+</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">
+    <!--
+    <img class="img-circle" width="40px" height="40px" id="circlelogo" src="/assets/images/kylin_logo.jpg">
+    -->
+    <!-- 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="/"><b>Home</b></a></li>
+          <li><a href="/docs" >Docs</a></li>
+          <li><a href="/community" >Community</a></li>
+          <li><a href="/blog">Blog</li>
+          <li><a href="/download">Download</li>
+          <li><a href="/about" >About</a></li>
+          <li><a href="/cn" >中文版</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/incubator-kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/incubator-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="page-content">
+			<header style=" padding:2em 0 0 0">
+			<div class="container" >
+				<h4 class="section-title"><span>Kylin Docs</span></h4>
+			</div>
+		</div>
+		<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">
+	<ul class="nav nav-pills nav-stacked">
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+		<li><a href="#installation" data-toggle="collapse" >Installation</a></li>
+		<div class="collapse in" id="installation">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/installation/2015/03/13/On-Hadoop-CLI-installation/" class="list-group-item-lay pjaxlink">On Hadoop CLI installation</a></li>
+			
+				<li><a href="/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/" class="list-group-item-lay pjaxlink">Off Hadoop CLI Installation (Dev Env Setup)</a></li>
+			
+				<li><a href="/installation/2015/01/22/Kylin-Manual-Installation-Guide/" class="list-group-item-lay pjaxlink">Kylin Manual Installation Guide</a></li>
+			
+				<li><a href="/installation/2015/01/22/Advance-settings-of-Kylin-environment/" class="list-group-item-lay pjaxlink">Advance settings of Kylin environment</a></li>
+			
+				<li><a href="/installation/2014/12/05/On-Hadoop-Kylin-installation-using-Docker/" class="list-group-item-lay pjaxlink">On Hadoop Kylin installation using Docker</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+		<li><a href="#howto" data-toggle="collapse" >How to</a></li>
+		<div class="collapse in" id="howto">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/howto/2015/05/18/Export-Kylin-HBase-data/" class="list-group-item-lay pjaxlink">Export Kylin HBase data</a></li>
+			
+				<li><a href="/howto/2015/03/18/How-to-use-kylin-remote-jdbc-driver/" class="list-group-item-lay pjaxlink">How to use kylin remote jdbc driver</a></li>
+			
+				<li><a href="/howto/2015/03/05/Kylin-Metadata-Store/" class="list-group-item-lay pjaxlink">Kylin Metadata Store</a></li>
+			
+				<li><a href="/howto/2015/03/03/How-to-consume-Kylin-REST-API-in-javascript/" class="list-group-item-lay pjaxlink">How to consume Kylin REST API in javascript</a></li>
+			
+				<li><a href="/howto/2015/01/04/Run-Kylin-test-case-with-HBase-Mini-Cluster/" class="list-group-item-lay pjaxlink">Run Kylin test case with HBase Mini Cluster</a></li>
+			
+				<li><a href="/howto/2014/12/09/New-meta-data-model-structure/" class="list-group-item-lay pjaxlink">New meta data model structure</a></li>
+			
+				<li><a href="/howto/2014/11/14/How%20to%20install%20kylin%20in%20your%20Hadoop%20cluster/" class="list-group-item-lay pjaxlink">How to install kylin in your Hadoop cluster</a></li>
+			
+				<li><a href="/howto/2014/10/24/How-to-Contribute/" class="list-group-item-lay pjaxlink">How to Contribute</a></li>
+			
+				<li><a href="/howto/2014/10/23/Kylin-web-front-end-summary/" class="list-group-item-lay pjaxlink">Kylin web front end summary</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+		<li><a href="#tutorial" data-toggle="collapse" >Tutorial</a></li>
+		<div class="collapse in" id="tutorial">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-and-Tableau-Tutorial/" class="list-group-item-lay pjaxlink">Kylin and Tableau Tutorial</a></li>
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-Web-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Web Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/15/Kylin-Cube-Creation-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Creation Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/11/Kylin-Cube-Permission-Grant-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Permission Grant Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/06/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Build and Job Monitoring Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/05/Kylin-ODBC-Driver-Tutorial/" class="list-group-item-lay pjaxlink">Kylin ODBC Driver Tutorial</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#api" data-toggle="collapse" >API</a></li>
+		<div class="collapse in" id="api">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/api/2015/03/18/Restful-Service-Doc/" class="list-group-item-lay pjaxlink">Restful Service Doc</a></li>
+			
+				<li><a href="/api/2014/12/31/Build-Cube-with-Restful-API/" class="list-group-item-lay pjaxlink">Build Cube with Restful API</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+	 
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#faq" data-toggle="collapse" >FAQ</a></li>
+		<div class="collapse in" id="faq">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/faq/2015/05/18/FAQ-on-Kylin-Installation-and-Usage/" class="list-group-item-lay pjaxlink">FAQ on Kylin Installation and Usage</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">
+							<!--
+* 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="post" style=" padding:2em 4em 4em 4em">
+
+  <header class="post-header">
+    <h1 class="post-title">Advance settings of Kylin environment</h1>
+    <p class="post-meta" >Jan 22, 2015 • hongbin ma</p>
+  </header>
+
+  <article class="post-content" >
+    <h2 id="enabling-lzo-compression">Enabling LZO compression</h2>
+
+<p>LZO compression can be leveraged to compress the output of MR jobs, as well as hbase table storage, reducing the storage overhead. By default we do not enable LZO compression in Kylin because hadoop sandbox venders tend to not include LZO in their distributions due to license(GPL) issues.</p>
+
+<p>To enable LZO in Kylin, there are three steps:</p>
+
+<h3 id="make-sure-lzo-is-working-in-your-environment">Make sure LZO is working in your environment</h3>
+
+<p>we have a simple tool to test whether LZO is well installed and configured in your environment(we only test it on the hadoop CLI that you deployed Kylin), Just run</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">hbase org.apache.hadoop.util.RunJar kylin-job-latest.jar com.kylinolap.job.tools.LZOSupportnessChecker</code></pre></div>
+
+<p>If the program prints “LZO supported by current env? true”, you’re good to go. Otherwise you’ll need to first install LZO properly.</p>
+
+<h3 id="modify-kylinjobconfxml">Modify kylin_job_conf.xml</h3>
+
+<p>You’ll need to stop Kylin first by running <code>./kylin.sh stop</code>, and then modify /etc/kylin/kylin_job_conf.xml by uncommenting some configuration entries related to LZO compression. </p>
+
+<h3 id="export-kylinldlibrarypath-to-carry-your-native-library-paths">export KYLIN_LD_LIBRARY_PATH to carry your native library paths</h3>
+
+<p>Before running <code>./kylin.sh start</code> again, you’ll need to export KYLIN_LD_LIBRARY_PATH to carry your LZO native library paths. If you are not sure where it is, you can simply find it in /tmp/kylin_retrieve.sh, Kylin retrieved this from hbase, normally this should work. Here’s an example for hdp 2.1:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">export KYLIN_LD_LIBRARY_PATH=::/usr/lib/hadoop/lib/native/Linux-amd64-64:/usr/lib/hadoop/lib/native</code></pre></div>
+
+<p>After exporting, you need to run <code>./kylin.sh start</code> to start Kylin again. Now Kylin will use LZO to compress MR outputs and hbase tables.</p>
+
+  </article>
+
+</div>
+
+
+
+
+
+						</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">
+          <div>
+          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>
+          <p style="text-align:center" > Apache Kylin is distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0. </a>
+          </p>
+        </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: incubator/kylin/site/installation/2015/01/22/Kylin-Manual-Installation-Guide/index.html
URL: http://svn.apache.org/viewvc/incubator/kylin/site/installation/2015/01/22/Kylin-Manual-Installation-Guide/index.html?rev=1681991&view=auto
==============================================================================
--- incubator/kylin/site/installation/2015/01/22/Kylin-Manual-Installation-Guide/index.html (added)
+++ incubator/kylin/site/installation/2015/01/22/Kylin-Manual-Installation-Guide/index.html Wed May 27 11:40:12 2015
@@ -0,0 +1,519 @@
+<!--
+* 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 Manual Installation Guide</title>
+  <meta name="description" content="INTRODUCTION">
+  <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="stylesheet" href="/assets/css/pygments.css">
+
+  <link rel="canonical" href="http://kyli.io/installation/2015/01/22/Kylin-Manual-Installation-Guide/">
+  <link rel="alternate" type="application/rss+xml" title="kylin.io" href="http://kyli.io/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.incubator.apache.org
+  ga('create', 'UA-55534813-2', 'auto', {'name':'incubator'});
+
+  ga('send', 'pageview');
+  ga('incubator.send', 'pageview');
+
+
+</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">
+    <!--
+    <img class="img-circle" width="40px" height="40px" id="circlelogo" src="/assets/images/kylin_logo.jpg">
+    -->
+    <!-- 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="/"><b>Home</b></a></li>
+          <li><a href="/docs" >Docs</a></li>
+          <li><a href="/community" >Community</a></li>
+          <li><a href="/blog">Blog</li>
+          <li><a href="/download">Download</li>
+          <li><a href="/about" >About</a></li>
+          <li><a href="/cn" >中文版</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/incubator-kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/incubator-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="page-content">
+			<header style=" padding:2em 0 0 0">
+			<div class="container" >
+				<h4 class="section-title"><span>Kylin Docs</span></h4>
+			</div>
+		</div>
+		<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">
+	<ul class="nav nav-pills nav-stacked">
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+		<li><a href="#installation" data-toggle="collapse" >Installation</a></li>
+		<div class="collapse in" id="installation">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/installation/2015/03/13/On-Hadoop-CLI-installation/" class="list-group-item-lay pjaxlink">On Hadoop CLI installation</a></li>
+			
+				<li><a href="/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/" class="list-group-item-lay pjaxlink">Off Hadoop CLI Installation (Dev Env Setup)</a></li>
+			
+				<li><a href="/installation/2015/01/22/Kylin-Manual-Installation-Guide/" class="list-group-item-lay pjaxlink">Kylin Manual Installation Guide</a></li>
+			
+				<li><a href="/installation/2015/01/22/Advance-settings-of-Kylin-environment/" class="list-group-item-lay pjaxlink">Advance settings of Kylin environment</a></li>
+			
+				<li><a href="/installation/2014/12/05/On-Hadoop-Kylin-installation-using-Docker/" class="list-group-item-lay pjaxlink">On Hadoop Kylin installation using Docker</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+		<li><a href="#howto" data-toggle="collapse" >How to</a></li>
+		<div class="collapse in" id="howto">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/howto/2015/05/18/Export-Kylin-HBase-data/" class="list-group-item-lay pjaxlink">Export Kylin HBase data</a></li>
+			
+				<li><a href="/howto/2015/03/18/How-to-use-kylin-remote-jdbc-driver/" class="list-group-item-lay pjaxlink">How to use kylin remote jdbc driver</a></li>
+			
+				<li><a href="/howto/2015/03/05/Kylin-Metadata-Store/" class="list-group-item-lay pjaxlink">Kylin Metadata Store</a></li>
+			
+				<li><a href="/howto/2015/03/03/How-to-consume-Kylin-REST-API-in-javascript/" class="list-group-item-lay pjaxlink">How to consume Kylin REST API in javascript</a></li>
+			
+				<li><a href="/howto/2015/01/04/Run-Kylin-test-case-with-HBase-Mini-Cluster/" class="list-group-item-lay pjaxlink">Run Kylin test case with HBase Mini Cluster</a></li>
+			
+				<li><a href="/howto/2014/12/09/New-meta-data-model-structure/" class="list-group-item-lay pjaxlink">New meta data model structure</a></li>
+			
+				<li><a href="/howto/2014/11/14/How%20to%20install%20kylin%20in%20your%20Hadoop%20cluster/" class="list-group-item-lay pjaxlink">How to install kylin in your Hadoop cluster</a></li>
+			
+				<li><a href="/howto/2014/10/24/How-to-Contribute/" class="list-group-item-lay pjaxlink">How to Contribute</a></li>
+			
+				<li><a href="/howto/2014/10/23/Kylin-web-front-end-summary/" class="list-group-item-lay pjaxlink">Kylin web front end summary</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+		<li><a href="#tutorial" data-toggle="collapse" >Tutorial</a></li>
+		<div class="collapse in" id="tutorial">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-and-Tableau-Tutorial/" class="list-group-item-lay pjaxlink">Kylin and Tableau Tutorial</a></li>
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-Web-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Web Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/15/Kylin-Cube-Creation-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Creation Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/11/Kylin-Cube-Permission-Grant-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Permission Grant Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/06/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Build and Job Monitoring Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/05/Kylin-ODBC-Driver-Tutorial/" class="list-group-item-lay pjaxlink">Kylin ODBC Driver Tutorial</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#api" data-toggle="collapse" >API</a></li>
+		<div class="collapse in" id="api">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/api/2015/03/18/Restful-Service-Doc/" class="list-group-item-lay pjaxlink">Restful Service Doc</a></li>
+			
+				<li><a href="/api/2014/12/31/Build-Cube-with-Restful-API/" class="list-group-item-lay pjaxlink">Build Cube with Restful API</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+	 
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#faq" data-toggle="collapse" >FAQ</a></li>
+		<div class="collapse in" id="faq">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/faq/2015/05/18/FAQ-on-Kylin-Installation-and-Usage/" class="list-group-item-lay pjaxlink">FAQ on Kylin Installation and Usage</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">
+							<!--
+* 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="post" style=" padding:2em 4em 4em 4em">
+
+  <header class="post-header">
+    <h1 class="post-title">Kylin Manual Installation Guide</h1>
+    <p class="post-meta" >Jan 22, 2015 • hongbin ma</p>
+  </header>
+
+  <article class="post-content" >
+    <h2 id="introduction">INTRODUCTION</h2>
+
+<p>In most cases our automated script <a href="https://github.com/KylinOLAP/Kylin/wiki/On-Hadoop-CLI-installation">On-Hadoop-CLI-installation</a> can help you launch Kylin in your hadoop sandbox and even your hadoop cluster. However, in case something went wrong in the deploy script, this article comes as an reference guide to fix your issues.</p>
+
+<p>Basically this article explains every step in the automatic script. We assume that you are already very familiar with Hadoop operations on Linux. </p>
+
+<h2 id="prerequisites">PREREQUISITES</h2>
+<ul>
+  <li>Tomcat installed, with CATALINA_HOME exported. (<a href="https://github.com/KylinOLAP/Kylin/wiki/On-Hadoop-CLI-installation#install-tomcat">quick help</a>)</li>
+  <li>Maven installed, with <code>mvn</code> command accessible at shell. (<a href="https://github.com/KylinOLAP/Kylin/wiki/On-Hadoop-CLI-installation#install-maven">quick help</a>) </li>
+  <li>Npm installed, with command <code>npm</code> accessible at shell. (<a href="https://github.com/KylinOLAP/Kylin/wiki/On-Hadoop-CLI-installation#install-npm">quick help</a>)</li>
+  <li>Kylin git repo cloned to a folder later referenced as $KYLIN_HOME</li>
+</ul>
+
+<h2 id="steps">STEPS</h2>
+
+<h3 id="build-kylinwar-from-source-code">1.Build kylin.war from source code</h3>
+
+<p>We have provided a script( $KYLIN_HOME/package.sh ) to help you automate this step. The kylin.war composes of two parts: (Take a look at package.sh to better understand)</p>
+
+<ul>
+  <li>A REST server that accepts cube build requests, queries requests ,etc. This part is purely in Java, and is built by maven.</li>
+  <li>An angular-based web application, this is the real website users see, and it will call the REST APIs in the above REST server. This part is purely html+js, and is built by npm.</li>
+</ul>
+
+<p>Running package.sh will build both parts and combine them to a single kylin.war.</p>
+
+<h3 id="customize-kylin-configuration-files">2.Customize kylin configuration files</h3>
+
+<p>Kylin’s configuration file includes a kylin.properties and a kylin_job_conf.xml for MR job settings. You can find a template for these two configuration files in $KYLIN_HOME/examples/test_case_data/sandbox/. They’re almost ready to use, the only thing you need to do is copy them to a configuration folder(we suggest /etc/kylin, if you choose not to use it, you’ll replace the “/etc/kylin” with yours in later occurrence) and replace every “sandbox” in kylin.properties with the real hostname of your server.</p>
+
+<p>When you find you cubes’s expansion rate too large, you’ll need to consider enabling LZO compression by modifying kylin_job_conf.xml, checkout <a href="https://github.com/KylinOLAP/Kylin/wiki/Advance-settings-of-Kylin-environment#enabling-lzo-compression">this chapter </a> to find how. For test cubes you can safely ignore this.</p>
+
+<h3 id="prepare-tomcat">3. Prepare tomcat</h3>
+<ul>
+  <li>Copy $KYLIN_HOME/server/target/kylin.war to $CATALINA_HOME/webapps/, change kylin.war’s mode to 644 in case tomcat have no access to it.</li>
+  <li>By default tomcat uses port 8080 as well as several other ports. However, these ports are already occupied in many hadoop sandboxes. For example, port 8080 is used by ambari on hortonworks sandbox. So you need to modify port if necessary. If you’re not familiar with this, you can choose to overwrite $CATALINA_HOME/conf/server.xml with $KYLIN_HOME/deploy/server.xml. With our server.xml, kylin will run on port 7070.</li>
+</ul>
+
+<h3 id="prepare-jars">4. Prepare Jars</h3>
+
+<p>There are two jars that Kylin will need to use, there two jars and configured in the default kylin.properties:</p>
+
+<h4 id="kylinjobjartmpkylinkylin-job-latestjar">kylin.job.jar=/tmp/kylin/kylin-job-latest.jar</h4>
+
+<p>This is job jar that Kylin uses for MR jobs. You need to copy $KYLIN_HOME/job/target/kylin-job-latest.jar to /tmp/kylin/</p>
+
+<h4 id="kylincoprocessorlocaljartmpkylinkylin-coprocessor-latestjar">kylin.coprocessor.local.jar=/tmp/kylin/kylin-coprocessor-latest.jar</h4>
+
+<p>This is a hbase coprocessor jar that Kylin will put on hbase. It is used for performance boosting. You need to copy $KYLIN_HOME/storage/target/kylin-coprocessor-latest.jar to /tmp/kylin/</p>
+
+<h3 id="start-kylin">5. Start Kylin</h3>
+
+<p>Start Kylin with</p>
+
+<p><code>./kylin.sh start</code></p>
+
+<p>and stop Kylin with</p>
+
+<p><code>./Kylin.sh stop</code></p>
+
+  </article>
+
+</div>
+
+
+
+
+
+						</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">
+          <div>
+          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>
+          <p style="text-align:center" > Apache Kylin is distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0. </a>
+          </p>
+        </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: incubator/kylin/site/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/index.html
URL: http://svn.apache.org/viewvc/incubator/kylin/site/installation/2015/02/15/Off-Hadoop-CLI-Installation-%28Dev-Env-Setup%29/index.html?rev=1681991&view=auto
==============================================================================
--- incubator/kylin/site/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/index.html (added)
+++ incubator/kylin/site/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/index.html Wed May 27 11:40:12 2015
@@ -0,0 +1,538 @@
+<!--
+* 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 | Off Hadoop CLI Installation (Dev Env Setup)</title>
+  <meta name="description" content="Off-Hadoop-CLI installation is usually for development use.">
+  <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="stylesheet" href="/assets/css/pygments.css">
+
+  <link rel="canonical" href="http://kyli.io/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/">
+  <link rel="alternate" type="application/rss+xml" title="kylin.io" href="http://kyli.io/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.incubator.apache.org
+  ga('create', 'UA-55534813-2', 'auto', {'name':'incubator'});
+
+  ga('send', 'pageview');
+  ga('incubator.send', 'pageview');
+
+
+</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">
+    <!--
+    <img class="img-circle" width="40px" height="40px" id="circlelogo" src="/assets/images/kylin_logo.jpg">
+    -->
+    <!-- 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="/"><b>Home</b></a></li>
+          <li><a href="/docs" >Docs</a></li>
+          <li><a href="/community" >Community</a></li>
+          <li><a href="/blog">Blog</li>
+          <li><a href="/download">Download</li>
+          <li><a href="/about" >About</a></li>
+          <li><a href="/cn" >中文版</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/incubator-kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/incubator-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="page-content">
+			<header style=" padding:2em 0 0 0">
+			<div class="container" >
+				<h4 class="section-title"><span>Kylin Docs</span></h4>
+			</div>
+		</div>
+		<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">
+	<ul class="nav nav-pills nav-stacked">
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+		<li><a href="#installation" data-toggle="collapse" >Installation</a></li>
+		<div class="collapse in" id="installation">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/installation/2015/03/13/On-Hadoop-CLI-installation/" class="list-group-item-lay pjaxlink">On Hadoop CLI installation</a></li>
+			
+				<li><a href="/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/" class="list-group-item-lay pjaxlink">Off Hadoop CLI Installation (Dev Env Setup)</a></li>
+			
+				<li><a href="/installation/2015/01/22/Kylin-Manual-Installation-Guide/" class="list-group-item-lay pjaxlink">Kylin Manual Installation Guide</a></li>
+			
+				<li><a href="/installation/2015/01/22/Advance-settings-of-Kylin-environment/" class="list-group-item-lay pjaxlink">Advance settings of Kylin environment</a></li>
+			
+				<li><a href="/installation/2014/12/05/On-Hadoop-Kylin-installation-using-Docker/" class="list-group-item-lay pjaxlink">On Hadoop Kylin installation using Docker</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+		<li><a href="#howto" data-toggle="collapse" >How to</a></li>
+		<div class="collapse in" id="howto">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/howto/2015/05/18/Export-Kylin-HBase-data/" class="list-group-item-lay pjaxlink">Export Kylin HBase data</a></li>
+			
+				<li><a href="/howto/2015/03/18/How-to-use-kylin-remote-jdbc-driver/" class="list-group-item-lay pjaxlink">How to use kylin remote jdbc driver</a></li>
+			
+				<li><a href="/howto/2015/03/05/Kylin-Metadata-Store/" class="list-group-item-lay pjaxlink">Kylin Metadata Store</a></li>
+			
+				<li><a href="/howto/2015/03/03/How-to-consume-Kylin-REST-API-in-javascript/" class="list-group-item-lay pjaxlink">How to consume Kylin REST API in javascript</a></li>
+			
+				<li><a href="/howto/2015/01/04/Run-Kylin-test-case-with-HBase-Mini-Cluster/" class="list-group-item-lay pjaxlink">Run Kylin test case with HBase Mini Cluster</a></li>
+			
+				<li><a href="/howto/2014/12/09/New-meta-data-model-structure/" class="list-group-item-lay pjaxlink">New meta data model structure</a></li>
+			
+				<li><a href="/howto/2014/11/14/How%20to%20install%20kylin%20in%20your%20Hadoop%20cluster/" class="list-group-item-lay pjaxlink">How to install kylin in your Hadoop cluster</a></li>
+			
+				<li><a href="/howto/2014/10/24/How-to-Contribute/" class="list-group-item-lay pjaxlink">How to Contribute</a></li>
+			
+				<li><a href="/howto/2014/10/23/Kylin-web-front-end-summary/" class="list-group-item-lay pjaxlink">Kylin web front end summary</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+		<li><a href="#tutorial" data-toggle="collapse" >Tutorial</a></li>
+		<div class="collapse in" id="tutorial">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-and-Tableau-Tutorial/" class="list-group-item-lay pjaxlink">Kylin and Tableau Tutorial</a></li>
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-Web-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Web Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/15/Kylin-Cube-Creation-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Creation Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/11/Kylin-Cube-Permission-Grant-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Permission Grant Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/06/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Build and Job Monitoring Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/05/Kylin-ODBC-Driver-Tutorial/" class="list-group-item-lay pjaxlink">Kylin ODBC Driver Tutorial</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#api" data-toggle="collapse" >API</a></li>
+		<div class="collapse in" id="api">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/api/2015/03/18/Restful-Service-Doc/" class="list-group-item-lay pjaxlink">Restful Service Doc</a></li>
+			
+				<li><a href="/api/2014/12/31/Build-Cube-with-Restful-API/" class="list-group-item-lay pjaxlink">Build Cube with Restful API</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+	 
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#faq" data-toggle="collapse" >FAQ</a></li>
+		<div class="collapse in" id="faq">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/faq/2015/05/18/FAQ-on-Kylin-Installation-and-Usage/" class="list-group-item-lay pjaxlink">FAQ on Kylin Installation and Usage</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">
+							<!--
+* 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="post" style=" padding:2em 4em 4em 4em">
+
+  <header class="post-header">
+    <h1 class="post-title">Off Hadoop CLI Installation (Dev Env Setup)</h1>
+    <p class="post-meta" >Feb 15, 2015 • SHAOFENG SHI</p>
+  </header>
+
+  <article class="post-content" >
+    <p>Off-Hadoop-CLI installation is usually for <strong>development use</strong>.</p>
+
+<p>Developers want to run kylin test cases or applications at their development machine. The scenario is depicted at <a href="https://github.com/KylinOLAP/Kylin#off-hadoop-cli-installation">https://github.com/KylinOLAP/Kylin#off-hadoop-cli-installation</a>.</p>
+
+<p>By following this tutorial, you will be able to build kylin test cubes by running a specific test case, and you can further run other test cases against the cubes having been built.</p>
+
+<h2 id="environment-on-the-hadoop-cli">Environment on the Hadoop CLI</h2>
+
+<p>Off-Hadoop-CLI installation requires you having a hadoop CLI machine (or a hadoop sandbox) as well as your local develop machine. To make things easier we strongly recommend you starting with running Kylin on a hadoop sandbox, like <a href="http://hortonworks.com/products/hortonworks-sandbox/">http://hortonworks.com/products/hortonworks-sandbox/</a>. In the following tutorial we’ll go with <strong>Hortonworks Sandbox 2.2</strong>. </p>
+
+<h3 id="start-hadoop">Start Hadoop</h3>
+
+<p>In Hortonworks sandbox, ambari helps to launch hadoop:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">ambari-agent start
+	ambari-server start</code></pre></div>
+
+<p>With both command successfully run you can go to ambari home page at <a href="http://yoursandboxip:8080">http://yoursandboxip:8080</a> (user:admin,password:admin) to check everything’s status. By default ambari disables Hbase, you’ll need manually start the <code>Hbase</code> service.</p>
+
+<p>For other hadoop distribution, basically start the hadoop cluster, make sure HDFS, YARN, Hive, HBase are running.</p>
+
+<h2 id="environment-on-the-dev-machine">Environment on the dev machine</h2>
+
+<h3 id="install-maven">Install maven</h3>
+
+<p>The latest maven can be found at <a href="http://maven.apache.org/download.cgi">http://maven.apache.org/download.cgi</a>, we create a symbolic so that <code>mvn</code> can be run anywhere.</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd ~
+	wget http://xenia.sote.hu/ftp/mirrors/www.apache.org/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
+	tar -xzvf apache-maven-3.2.5-bin.tar.gz
+	ln -s /root/apache-maven-3.2.5/bin/mvn /usr/bin/mvn</code></pre></div>
+
+<h3 id="compile">Compile</h3>
+
+<p>First clone the Kylin project to your local:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">git clone https://github.com/KylinOLAP/Kylin.git</code></pre></div>
+
+<p>Install Kylin artifacts to the maven repo</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">mvn clean install -DskipTests</code></pre></div>
+
+<h3 id="modify-local-configuration">Modify local configuration</h3>
+
+<p>Local configuration must be modified to point to your hadoop sandbox (or CLI) machine. </p>
+
+<ul>
+  <li>In <strong>examples/test_case_data/sandbox/kylin.properties</strong>
+    <ul>
+      <li>Find <code>sandbox</code> and replace with your hadoop hosts (if you’re using HDP sandbox, this can be skipped)</li>
+      <li>Fine <code>kylin.job.run.as.remote.cmd</code> and change it to “true” (in code repository the default is false, which assume running it on hadoop CLI)</li>
+      <li>Find <code>kylin.job.remote.cli.username</code> and <code>kylin.job.remote.cli.password</code>, fill in the user name and password used to login hadoop cluster for hadoop command execution; If you’re using HDP sandbox, the default username is “root” and password is “hadoop”.</li>
+    </ul>
+  </li>
+  <li>In <strong>examples/test_case_data/sandbox</strong>
+    <ul>
+      <li>For each configuration xml file, find all occurrence of <code>sandbox</code> and replace with your hadoop hosts; (if you’re using HDP sandbox, this can be skipped)</li>
+    </ul>
+  </li>
+</ul>
+
+<p>An alternative to the host replacement is updating your <code>hosts</code> file to resolve <code>sandbox</code> and <code>sandbox.hortonworks.com</code> to the IP of your sandbox machine.</p>
+
+<h3 id="run-unit-tests">Run unit tests</h3>
+
+<p>Run a end-to-end cube building test</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">mvn test -Dtest=com.kylinolap.job.BuildCubeWithEngineTest -DfailIfNoTests=false</code></pre></div>
+
+<p>Run other tests, the end-to-end cube building test is exclueded</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">mvn test</code></pre></div>
+
+<h3 id="launch-kylin-web-server">Launch Kylin Web Server</h3>
+
+<p>In your Eclipse IDE, launch <code>com.kylinolap.rest.DebugTomcat</code> with specifying VM arguments “-Dspring.profiles.active=sandbox”. (By default Kylin server will listen on 7070 port; If you want to use another port, please specify it as a parameter when run `DebugTomcat)</p>
+
+<p>Check Kylin Web available at http://localhost:7070/kylin (user:ADMIN,password:KYLIN)</p>
+
+
+  </article>
+
+</div>
+
+
+
+
+
+						</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">
+          <div>
+          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>
+          <p style="text-align:center" > Apache Kylin is distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0. </a>
+          </p>
+        </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: incubator/kylin/site/installation/2015/03/13/On-Hadoop-CLI-installation/index.html
URL: http://svn.apache.org/viewvc/incubator/kylin/site/installation/2015/03/13/On-Hadoop-CLI-installation/index.html?rev=1681991&view=auto
==============================================================================
--- incubator/kylin/site/installation/2015/03/13/On-Hadoop-CLI-installation/index.html (added)
+++ incubator/kylin/site/installation/2015/03/13/On-Hadoop-CLI-installation/index.html Wed May 27 11:40:12 2015
@@ -0,0 +1,589 @@
+<!--
+* 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 | On Hadoop CLI installation</title>
+  <meta name="description" content="  For new users: Please go with v0.7.x, binary package and installation guide here: http://kylin.incubator.apache.org/download/  For Version: v0.6.6 only, te...">
+  <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="stylesheet" href="/assets/css/pygments.css">
+
+  <link rel="canonical" href="http://kyli.io/installation/2015/03/13/On-Hadoop-CLI-installation/">
+  <link rel="alternate" type="application/rss+xml" title="kylin.io" href="http://kyli.io/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.incubator.apache.org
+  ga('create', 'UA-55534813-2', 'auto', {'name':'incubator'});
+
+  ga('send', 'pageview');
+  ga('incubator.send', 'pageview');
+
+
+</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">
+    <!--
+    <img class="img-circle" width="40px" height="40px" id="circlelogo" src="/assets/images/kylin_logo.jpg">
+    -->
+    <!-- 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="/"><b>Home</b></a></li>
+          <li><a href="/docs" >Docs</a></li>
+          <li><a href="/community" >Community</a></li>
+          <li><a href="/blog">Blog</li>
+          <li><a href="/download">Download</li>
+          <li><a href="/about" >About</a></li>
+          <li><a href="/cn" >中文版</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/incubator-kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/incubator-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="page-content">
+			<header style=" padding:2em 0 0 0">
+			<div class="container" >
+				<h4 class="section-title"><span>Kylin Docs</span></h4>
+			</div>
+		</div>
+		<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">
+	<ul class="nav nav-pills nav-stacked">
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+		<li><a href="#installation" data-toggle="collapse" >Installation</a></li>
+		<div class="collapse in" id="installation">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/installation/2015/03/13/On-Hadoop-CLI-installation/" class="list-group-item-lay pjaxlink">On Hadoop CLI installation</a></li>
+			
+				<li><a href="/installation/2015/02/15/Off-Hadoop-CLI-Installation-(Dev-Env-Setup)/" class="list-group-item-lay pjaxlink">Off Hadoop CLI Installation (Dev Env Setup)</a></li>
+			
+				<li><a href="/installation/2015/01/22/Kylin-Manual-Installation-Guide/" class="list-group-item-lay pjaxlink">Kylin Manual Installation Guide</a></li>
+			
+				<li><a href="/installation/2015/01/22/Advance-settings-of-Kylin-environment/" class="list-group-item-lay pjaxlink">Advance settings of Kylin environment</a></li>
+			
+				<li><a href="/installation/2014/12/05/On-Hadoop-Kylin-installation-using-Docker/" class="list-group-item-lay pjaxlink">On Hadoop Kylin installation using Docker</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	     <!-- categories -->
+   
+	
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+		<li><a href="#howto" data-toggle="collapse" >How to</a></li>
+		<div class="collapse in" id="howto">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/howto/2015/05/18/Export-Kylin-HBase-data/" class="list-group-item-lay pjaxlink">Export Kylin HBase data</a></li>
+			
+				<li><a href="/howto/2015/03/18/How-to-use-kylin-remote-jdbc-driver/" class="list-group-item-lay pjaxlink">How to use kylin remote jdbc driver</a></li>
+			
+				<li><a href="/howto/2015/03/05/Kylin-Metadata-Store/" class="list-group-item-lay pjaxlink">Kylin Metadata Store</a></li>
+			
+				<li><a href="/howto/2015/03/03/How-to-consume-Kylin-REST-API-in-javascript/" class="list-group-item-lay pjaxlink">How to consume Kylin REST API in javascript</a></li>
+			
+				<li><a href="/howto/2015/01/04/Run-Kylin-test-case-with-HBase-Mini-Cluster/" class="list-group-item-lay pjaxlink">Run Kylin test case with HBase Mini Cluster</a></li>
+			
+				<li><a href="/howto/2014/12/09/New-meta-data-model-structure/" class="list-group-item-lay pjaxlink">New meta data model structure</a></li>
+			
+				<li><a href="/howto/2014/11/14/How%20to%20install%20kylin%20in%20your%20Hadoop%20cluster/" class="list-group-item-lay pjaxlink">How to install kylin in your Hadoop cluster</a></li>
+			
+				<li><a href="/howto/2014/10/24/How-to-Contribute/" class="list-group-item-lay pjaxlink">How to Contribute</a></li>
+			
+				<li><a href="/howto/2014/10/23/Kylin-web-front-end-summary/" class="list-group-item-lay pjaxlink">Kylin web front end summary</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+		<li><a href="#tutorial" data-toggle="collapse" >Tutorial</a></li>
+		<div class="collapse in" id="tutorial">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-and-Tableau-Tutorial/" class="list-group-item-lay pjaxlink">Kylin and Tableau Tutorial</a></li>
+			
+				<li><a href="/tutorial/2015/04/17/Kylin-Web-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Web Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/15/Kylin-Cube-Creation-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Creation Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/11/Kylin-Cube-Permission-Grant-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Permission Grant Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/06/Kylin-Cube-Build-and-Job-Monitoring-Tutorial/" class="list-group-item-lay pjaxlink">Kylin Cube Build and Job Monitoring Tutorial</a></li>
+			
+				<li><a href="/tutorial/2014/11/05/Kylin-ODBC-Driver-Tutorial/" class="list-group-item-lay pjaxlink">Kylin ODBC Driver Tutorial</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	 
+   
+	 
+	 
+	 
+	 
+	 
+	 
+	
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#api" data-toggle="collapse" >API</a></li>
+		<div class="collapse in" id="api">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/api/2015/03/18/Restful-Service-Doc/" class="list-group-item-lay pjaxlink">Restful Service Doc</a></li>
+			
+				<li><a href="/api/2014/12/31/Build-Cube-with-Restful-API/" class="list-group-item-lay pjaxlink">Build Cube with Restful API</a></li>
+			
+				<ul>
+			</div>
+		</div>
+   
+	 
+   
+	 
+   
+	
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+	 
+   
+		<li><a href="#faq" data-toggle="collapse" >FAQ</a></li>
+		<div class="collapse in" id="faq">
+			<div class="list-group">
+				<ul style="list-style-type:disc">
+			
+				<li><a href="/faq/2015/05/18/FAQ-on-Kylin-Installation-and-Usage/" class="list-group-item-lay pjaxlink">FAQ on Kylin Installation and Usage</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">
+							<!--
+* 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="post" style=" padding:2em 4em 4em 4em">
+
+  <header class="post-header">
+    <h1 class="post-title">On Hadoop CLI installation</h1>
+    <p class="post-meta" >Mar 13, 2015 • Luke Han</p>
+  </header>
+
+  <article class="post-content" >
+    <blockquote>
+  <p>For new users: Please go with v0.7.x, binary package and installation guide here: <a href="http://kylin.incubator.apache.org/download/">http://kylin.incubator.apache.org/download/</a></p>
+
+  <p>For Version: v0.6.6 only, tested: HDP 2.1/2.2 sandbox, HDP 2.1 Cluster</p>
+</blockquote>
+
+<p>On-Hadoop-CLI installation is for demo use, or for those who want to host their own web site to provide Kylin service. The scenario is depicted at <a href="https://github.com/KylinOLAP/Kylin#on-hadoop-cli-installation">https://github.com/KylinOLAP/Kylin#on-hadoop-cli-installation</a>.</p>
+
+<p>Except for some prerequisite software installations, the core of Kylin installation is accomplished by running a single script. After running the script, you will be able to build sample cube and query the tables behind the cubes via a unified web interface.</p>
+
+<h2 id="environment">Environment</h2>
+
+<p>Running On-Hadoop-CLI installation requires you having access to a hadoop CLI, where you have full permissions to hdfs, hive, hbase and map-reduce. To make things easier we strongly recommend you starting with running Kylin on a hadoop sandbox, like <a href="http://hortonworks.com/products/hortonworks-sandbox/">http://hortonworks.com/products/hortonworks-sandbox/</a>. In the following tutorial we’ll go with <strong>Hortonworks Sandbox 2.1/2.2</strong> and <strong>Cloudera QuickStart VM 5.1/5.2</strong>. </p>
+
+<p>To avoid permission issue, we suggest you using <code>root</code> account. The password for <strong>Hortonworks Sandbox 2.1/2.2</strong> is <code>hadoop</code> , for <strong>Cloudera QuickStart VM 5.1/5.2</strong> is <code>cloudera</code>.</p>
+
+<p>For account other than <code>root</code>, please make sure your account has privileges to access relative folders and files. For example, if you are using <code>cloudera</code> account in Cloudera VM, please run follow command first before run Kylin deploy script:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">sudo mkdir /etc/kylin
+sudo chmod -R 777 /etc/kylin</code></pre></div>
+
+<p>We also suggest you using bridged mode instead of NAT mode in your virtual box settings. Bridged mode will assign your sandbox an independent IP so that you can avoid issues like https://github.com/KylinOLAP/Kylin/issues/12</p>
+
+<h3 id="start-hadoop">Start Hadoop</h3>
+
+<p>For Hortonworks, ambari helps to launch hadoop:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">ambari-agent start
+ambari-server start</code></pre></div>
+
+<p>With both command successfully run you can go to ambari homepage at <a href="http://your_sandbox_ip:8080">http://your_sandbox_ip:8080</a> (user:admin,password:admin) to check everything’s status. <strong>By default hortonworks ambari disables Hbase, you’ll need manually start the <code>Hbase</code> service at ambari homepage.</strong></p>
+
+<p><img src="/images/On-Hadoop-CLI-installation/starthbase.png" alt="start hbase in ambari" /></p>
+
+<p>For Cloudera, you can skip this step since they’re by default activated.</p>
+
+<h3 id="install-tomcat">Install tomcat</h3>
+
+<p>The latest tomcat can be found at <a href="http://tomcat.apache.org/download-70.cgi">http://tomcat.apache.org/download-70.cgi</a>, we need the variable <code>CATALINA_HOME</code> exported.</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd ~
+wget http://apache.mirrors.lucidnetworks.net/tomcat/tomcat-7/v7.0.59/bin/apache-tomcat-7.0.59.tar.gz
+tar -xzvf apache-tomcat-7.0.59.tar.gz
+export CATALINA_HOME=~/apache-tomcat-7.0.59</code></pre></div>
+
+<h3 id="install-maven">Install maven:</h3>
+
+<p>For Cloudera, you can skip this step since maven is by default installed.</p>
+
+<p>The latest maven can be found at <a href="http://maven.apache.org/download.cgi">http://maven.apache.org/download.cgi</a>, we create a symbolic so that <code>mvn</code> can be run anywhere.</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd ~
+wget http://xenia.sote.hu/ftp/mirrors/www.apache.org/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.tar.gz
+tar -xzvf apache-maven-3.2.5-bin.tar.gz 
+ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn</code></pre></div>
+
+<h3 id="install-npm">Install npm</h3>
+
+<p>Npm comes with latest versions of nodejs, just donwload nodejs from <a href="http://nodejs.org/download/">http://nodejs.org/download/</a>, <code>npm</code> is located at the <code>/bin</code> folder of <code>nodejs</code>, we append the folder to <code>PATH</code> so that <code>npm</code> can be run anywhere.</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd ~
+wget http://nodejs.org/dist/v0.10.32/node-v0.10.32-linux-x64.tar.gz
+tar -xzvf node-v0.10.32-linux-x64.tar.gz
+export PATH=~/node-v0.10.32-linux-x64/bin:$PATH</code></pre></div>
+
+<h2 id="build-cubes--query-tables">Build cubes &amp; Query tables</h2>
+
+<p>First clone the Kylin project to your local:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">git clone https://github.com/KylinOLAP/Kylin.git</code></pre></div>
+
+<p>Go into the folder and run deploy script:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd Kylin/
+<span class="p">.</span><span class="s">/deploy.sh</span></code></pre></div>
+
+<p>At this point, if you’re installing Kylin on a cluster, please take a look at this:<a href="https://issues.apache.org/jira/browse/KYLIN-604">a limitation</a>, If you’re using a sandbox, please just go ahead.</p>
+
+<p>After successfully deployed, you can start run with:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd Kylin/
+<span class="p">.</span><span class="s">/kylin.sh</span> <span class="s">start</span></code></pre></div>
+
+<p>And later stop it by:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd Kylin/
+<span class="p">.</span><span class="s">/kylin.sh</span> <span class="s">stop</span></code></pre></div>
+
+<p>If you meet any problems, please check <a href="https://github.com/KylinOLAP/Kylin/wiki/FAQ-on-Kylin-Installation-and-Usage">FAQ</a> first.
+This script will help to:</p>
+
+<ol>
+  <li>Check your environment</li>
+  <li>Build Kylin artifacts with Maven</li>
+  <li>Generate some sample tables</li>
+  <li>Create empty cubes for these tables</li>
+  <li>Lauch a one-stop website to build cubes &amp; query tables</li>
+</ol>
+
+<p>After successfully running the script, please navigate to <a href="http://your_hostname:7070">http://your_hostname:7070</a> to build your cube and query it. The username/password is ADMIN/KYLIN</p>
+
+<p>If you want to check detail log, you can find it at ${CATALINA_HOME}/logs/kylin.log</p>
+
+<h3 id="build-cube-in-cubes-tab">Build Cube in Cubes Tab</h3>
+
+<p><img src="/images/On-Hadoop-CLI-installation/cube.png" alt="build cube" /></p>
+
+<h3 id="check-building-progress-in-job-tab">Check Building Progress in Job Tab</h3>
+<p><img src="/images/On-Hadoop-CLI-installation/job.png" alt="check job status" /></p>
+
+<h3 id="query-tables-in-query-tab">Query Tables in Query Tab</h3>
+<p><img src="/images/On-Hadoop-CLI-installation/query.png" alt="query tables" /></p>
+
+<h2 id="what-if-i-closed-my-vm">What if I closed my VM?</h2>
+
+<p>If you shut down the VM and restarted it, Kylin will not automatically start. Depending on whether you succeed in running the deploy.sh, you should:</p>
+
+<h3 id="if-running-deploysh-failed-last-time">If running deploy.sh failed last time</h3>
+<ol>
+  <li>Kill it if any tomcat instance exist</li>
+  <li>Start over again</li>
+</ol>
+
+<h3 id="if-running-deploysh-succeeded-last-time">If running deploy.sh succeeded last time</h3>
+<ol>
+  <li>Kill it if any tomcat instance exist</li>
+  <li>Make sure Hbase is running</li>
+  <li>run <code>export CATALINA_HOME=~/apache-tomcat-7.0.56</code></li>
+  <li>run <code>sudo -i "${CATALINA_HOME}/bin/startup.sh"</code></li>
+</ol>
+
+  </article>
+
+</div>
+
+
+
+
+
+						</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">
+          <div>
+          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>
+          <p style="text-align:center" > Apache Kylin is distributed under the <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0. </a>
+          </p>
+        </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>