Author: lidong Date: Mon Dec 28 14:23:29 2015 New Revision: 1721925 URL: http://svn.apache.org/viewvc?rev=1721925&view=rev Log: Fix some style and typo issues
Added: kylin/site/images/Kylin-ODBC-DSN/ kylin/site/images/Kylin-ODBC-DSN/1.png (with props) kylin/site/images/Kylin-ODBC-DSN/2.png (with props) kylin/site/images/Kylin-ODBC-DSN/3.png (with props) kylin/site/images/Kylin-ODBC-DSN/4.png (with props) Modified: kylin/site/community/poweredby.html kylin/site/development/about_temp_files.html kylin/site/development/dev_env.html kylin/site/development/howto_release.html kylin/site/docs/howto/howto_cleanup_storage.html kylin/site/docs/tutorial/odbc.html kylin/site/feed.xml Modified: kylin/site/community/poweredby.html URL: http://svn.apache.org/viewvc/kylin/site/community/poweredby.html?rev=1721925&r1=1721924&r2=1721925&view=diff ============================================================================== --- kylin/site/community/poweredby.html (original) +++ kylin/site/community/poweredby.html Mon Dec 28 14:23:29 2015 @@ -210,7 +210,7 @@ Send a quick description of your organiz </li> <li><a href="http://www.163.com/">NetEase</a> (<em>NASDAQ: NTES</em>) <ul> - <li>Apache has been introduced as an OLAP engine for the data platform at NetEase, powering data analysis for various products & business with great performance.</li> + <li>Apache Kylin has been introduced as an OLAP engine for the data platform at NetEase, powering data analysis for various products & business with great performance.</li> </ul> </li> </ul> Modified: kylin/site/development/about_temp_files.html URL: http://svn.apache.org/viewvc/kylin/site/development/about_temp_files.html?rev=1721925&r1=1721924&r2=1721925&view=diff ============================================================================== --- kylin/site/development/about_temp_files.html (original) +++ kylin/site/development/about_temp_files.html Mon Dec 28 14:23:29 2015 @@ -439,33 +439,32 @@ <div id="pjax"> <h1 class="post-title">About Temp Files</h1> <article class="post-content" > - <p>As we reviewed the code we found that Kylin left lots of garbage files in:<br /> -1. Local file system of the CLI<br /> -2. HDFS<br /> -3. Local file system of the hadoop nodes.</p> + <p>As we reviewed the code we found that Kylin left lots of garbage files in:</p> -<p>A ticked was opened to track this issue:<br /> -https://issues.apache.org/jira/browse/KYLIN-926</p> +<ul> + <li>Local file system of the CLI</li> + <li>HDFS</li> + <li>Local file system of the hadoop nodes.</li> +</ul> -<p>For future developments, please:<br /> -1. Whenever you want to create temp files at Local, choose<br /> +<p>A ticket was opened to track this issue:<br /> +<a href="https://issues.apache.org/jira/browse/KYLIN-926">https://issues.apache.org/jira/browse/KYLIN-926</a></p> + +<p>For future developments, please:</p> + +<ul> + <li>Whenever you want to create temp files at Local, choose<br /> File.createTempFile or use the folder:<br /> BatchConstants.CFG_KYLIN_LOCAL_TEMP_DIR(/tmp/kylin), do not randomly use<br /> -another folder in /tmp, it will end up a mess, and look unprofessional.</p> - -<ol> - <li> - <p>Whenever you create temp files at Local, remember to delete it after<br /> +another folder in /tmp, it will end up a mess, and look unprofessional.</li> + <li>Whenever you create temp files at Local, remember to delete it after<br /> using it. Itâs best to use FileUtils.forceDelete, as it also works for<br /> -deleting folders. Try avoid deleteOnExit, in case Kylin exits abnormally.</p> - </li> - <li> - <p>Whenever you want to create files in HDFS, try to create it under<br /> +deleting folders. Try avoid deleteOnExit, in case Kylin exits abnormally.</li> + <li>Whenever you want to create files in HDFS, try to create it under<br /> kylin.hdfs.working.dir or BatchConstants.CFG_KYLIN_HDFS_TEMP_DIR, and<br /> remember to delete it after it is no longer useful. Try avoid throwing<br /> -everything into hdfs:///tmp and leave it as garbage.</p> - </li> -</ol> +everything into hdfs:///tmp and leave it as garbage.</li> +</ul> </article> </div> Modified: kylin/site/development/dev_env.html URL: http://svn.apache.org/viewvc/kylin/site/development/dev_env.html?rev=1721925&r1=1721924&r2=1721925&view=diff ============================================================================== --- kylin/site/development/dev_env.html (original) +++ kylin/site/development/dev_env.html Mon Dec 28 14:23:29 2015 @@ -507,7 +507,7 @@ It might take a while (maybe one hour), <div class="highlight"><pre><code class="language-groff" data-lang="groff">mvn test -Dtest=org.apache.kylin.job.BuildCubeWithEngineTest -DfailIfNoTests=false -Dhdp.version=<hdp-version> -P sandbox - mvn test -Dtest=org.apache.kylin.job.BuildIIWithEngineTest -DfailIfNoTests=false -Dhdp.version=<hdp-version> -P sandbox</code></pre></div> +mvn test -Dtest=org.apache.kylin.job.BuildIIWithEngineTest -DfailIfNoTests=false -Dhdp.version=<hdp-version> -P sandbox</code></pre></div> <p>Run other tests, the end-to-end cube building test is exclueded</p> @@ -522,8 +522,8 @@ It might take a while (maybe one hour), <p>Download JS for Kylin web GUI. <code class="highlighter-rouge">npm</code> is part of <code class="highlighter-rouge">Node.js</code>, please search about how to install it on your OS.</p> <div class="highlight"><pre><code class="language-groff" data-lang="groff">cd webapp - npm install -g bower - bower --allow-root install</code></pre></div> +npm install -g bower +bower --allow-root install</code></pre></div> <p>In IDE, launch <code class="highlighter-rouge">org.apache.kylin.rest.DebugTomcat</code> with working directory set to the /server folder. (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> Modified: kylin/site/development/howto_release.html URL: http://svn.apache.org/viewvc/kylin/site/development/howto_release.html?rev=1721925&r1=1721924&r2=1721925&view=diff ============================================================================== --- kylin/site/development/howto_release.html (original) +++ kylin/site/development/howto_release.html Mon Dec 28 14:23:29 2015 @@ -444,7 +444,7 @@ <em>For people in China, please aware using proxy to avoid potential firewall issue.</em></p> <h2 id="setup-account">Setup Account</h2> -<p>Make sure you have avaliable account and privlidge for following applications:</p> +<p>Make sure you have avaliable account and privilege for following applications:</p> <ul> <li>Apache account: <a href="https://id.apache.org/">https://id.apache.org</a></li> Modified: kylin/site/docs/howto/howto_cleanup_storage.html URL: http://svn.apache.org/viewvc/kylin/site/docs/howto/howto_cleanup_storage.html?rev=1721925&r1=1721924&r2=1721925&view=diff ============================================================================== --- kylin/site/docs/howto/howto_cleanup_storage.html (original) +++ kylin/site/docs/howto/howto_cleanup_storage.html Mon Dec 28 14:23:29 2015 @@ -1676,19 +1676,13 @@ <p>Kylin will generate intermediate files in HDFS during the cube building; Besides, when purge/drop/merge cubes, some HBase tables may be left in HBase and will no longer be queried; Although Kylin has started to do some <br /> automated garbage collection, it might not cover all cases; You can do an offline storage cleanup periodically:</p> -<p>Steps:</p> - -<ol> - <li>Check which resources can be cleanup, this will not remove anything:</li> -</ol> +<p>Steps:<br /> +1. Check which resources can be cleanup, this will not remove anything:</p> <div class="highlight"><pre><code class="language-groff" data-lang="groff">hbase org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete false</code></pre></div> -<p>Here please replace (version) with the specific Kylin jar version in your installation;</p> - -<ol> - <li>You can pickup 1 or 2 resources to check whether theyâre no longer be referred; Then add the ââdelete trueâ option to start the cleanup:</li> -</ol> +<p>Here please replace (version) with the specific Kylin jar version in your installation;<br /> +2. You can pickup 1 or 2 resources to check whether theyâre no longer be referred; Then add the ââdelete trueâ option to start the cleanup:</p> <div class="highlight"><pre><code class="language-groff" data-lang="groff">hbase org.apache.hadoop.util.RunJar ${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete true</code></pre></div> Modified: kylin/site/docs/tutorial/odbc.html URL: http://svn.apache.org/viewvc/kylin/site/docs/tutorial/odbc.html?rev=1721925&r1=1721924&r2=1721925&view=diff ============================================================================== --- kylin/site/docs/tutorial/odbc.html (original) +++ kylin/site/docs/tutorial/odbc.html Mon Dec 28 14:23:29 2015 @@ -1680,7 +1680,7 @@ <p>Tested Operation System: Windows 7, Windows Server 2008 R2</p> - <p>Tested Application: Tableau 8.0.4 and Tableau 8.1.3</p> + <p>Tested Application: Tableau 8.0.4, Tableau 8.1.3 and Tableau 9.1</p> </blockquote> <h2 id="prerequisites">Prerequisites</h2> @@ -1706,6 +1706,27 @@ <li>Both drivers already be installed on Tableau Server, you properly should be able to publish to there without issues</li> </ol> +<h2 id="dsn-configuration">DSN configuration</h2> +<ol> + <li>Open ODBCAD to configure DSN. + <ul> + <li>For 32 bit driver, please use the 32bit version in C:\Windows\SysWOW64\odbcad32.exe</li> + <li>For 64 bit driver, please use the default âData Sources (ODBC)â in Control Panel/Administrator Tools<br /> +<img src="/images/Kylin-ODBC-DSN/1.png" alt="" /></li> + </ul> + </li> + <li> + <p>Open âSystem DSNâ tab, and click âAddâ, you will see KylinODBCDriver listed as an option, Click âFinishâ to continue.<br /> +<img src="/images/Kylin-ODBC-DSN/2.png" alt="" /></p> + </li> + <li> + <p>In the pop up dialog, fill in all the blanks, The server host is where your Kylin Rest Server is started.<br /> +<img src="/images/Kylin-ODBC-DSN/3.png" alt="" /></p> + </li> + <li>Click âDoneâ, and you will see your new DSN listed in the âSystem Data Sourcesâ, you can use this DSN afterwards.<br /> +<img src="/images/Kylin-ODBC-DSN/4.png" alt="" /></li> +</ol> + <h2 id="bug-report">Bug Report</h2> <p>Please open Apache Kylin JIRA to report bug, or send to dev mailing list.</p> Modified: kylin/site/feed.xml URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1721925&r1=1721924&r2=1721925&view=diff ============================================================================== --- kylin/site/feed.xml (original) +++ kylin/site/feed.xml Mon Dec 28 14:23:29 2015 @@ -19,8 +19,8 @@ <description>Apache Kylin Home</description> <link>http://kylin.apache.org/</link> <atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/> - <pubDate>Fri, 25 Dec 2015 08:41:21 -0800</pubDate> - <lastBuildDate>Fri, 25 Dec 2015 08:41:21 -0800</lastBuildDate> + <pubDate>Sun, 27 Dec 2015 23:26:07 -0800</pubDate> + <lastBuildDate>Sun, 27 Dec 2015 23:26:07 -0800</lastBuildDate> <generator>Jekyll v2.5.3</generator> <item> Added: kylin/site/images/Kylin-ODBC-DSN/1.png URL: http://svn.apache.org/viewvc/kylin/site/images/Kylin-ODBC-DSN/1.png?rev=1721925&view=auto ============================================================================== Binary file - no diff available. Propchange: kylin/site/images/Kylin-ODBC-DSN/1.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: kylin/site/images/Kylin-ODBC-DSN/2.png URL: http://svn.apache.org/viewvc/kylin/site/images/Kylin-ODBC-DSN/2.png?rev=1721925&view=auto ============================================================================== Binary file - no diff available. Propchange: kylin/site/images/Kylin-ODBC-DSN/2.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: kylin/site/images/Kylin-ODBC-DSN/3.png URL: http://svn.apache.org/viewvc/kylin/site/images/Kylin-ODBC-DSN/3.png?rev=1721925&view=auto ============================================================================== Binary file - no diff available. Propchange: kylin/site/images/Kylin-ODBC-DSN/3.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream Added: kylin/site/images/Kylin-ODBC-DSN/4.png URL: http://svn.apache.org/viewvc/kylin/site/images/Kylin-ODBC-DSN/4.png?rev=1721925&view=auto ============================================================================== Binary file - no diff available. Propchange: kylin/site/images/Kylin-ODBC-DSN/4.png ------------------------------------------------------------------------------ svn:mime-type = application/octet-stream