Author: lidong Date: Tue Sep 27 01:21:01 2016 New Revision: 1762389 URL: http://svn.apache.org/viewvc?rev=1762389&view=rev Log: Add author credict
Modified: kylin/site/development/howto_release.html kylin/site/docs15/gettingstarted/best_practices.html kylin/site/docs15/howto/howto_use_restapi.html kylin/site/feed.xml Modified: kylin/site/development/howto_release.html URL: http://svn.apache.org/viewvc/kylin/site/development/howto_release.html?rev=1762389&r1=1762388&r2=1762389&view=diff ============================================================================== --- kylin/site/development/howto_release.html (original) +++ kylin/site/development/howto_release.html Tue Sep 27 01:21:01 2016 @@ -594,6 +594,11 @@ If youâre the first time to do rele <span class="gp">$ </span>git clean -xf <span class="gp">$ </span>mvn clean +<span class="c"># Make sure all unit tests are passed</span> +<span class="gp">$ </span>mvn <span class="nb">test</span> + +<span class="c"># Check the `org.apache.kylin.common.KylinVersion` class, ensure the value of `CURRENT_KYLIN_VERSION` is the release version. </span> + <span class="c"># Fix any license issues as reported by target/rat.txt</span> <span class="gp">$ </span>mvn -Papache-release -DskipTests -Dgpg.passphrase<span class="o">=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span> install</code></pre></div> @@ -621,7 +626,7 @@ If youâre the first time to do rele <span class="gp">$ </span>git clean -xf <span class="gp">$ </span>mvn clean -<span class="c"># Do a dry run of the release:prepare step, which sets version numbers.</span> +<span class="c"># Optionally, do a dry run of the release:prepare step, which sets version numbers.</span> <span class="gp">$ </span>mvn -DdryRun<span class="o">=</span><span class="nb">true</span> -DskipTests -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=(</span>X.Y.Z+1<span class="o">)</span>-SNAPSHOT -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2">"</span> release:prepare 2>&1 | tee /tmp/prepare-dry.log</code></pre></div> <p><strong>Check the artifacts:</strong></p> @@ -651,7 +656,7 @@ If youâre the first time to do rele Now, run the release for real.</p> <div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span> -<span class="gp">$ </span>mvn -DskipTests -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=(</span>X.Y.Z+1<span class="o">)</span>-SNAPSHOT -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2">"</span> release:prepare +<span class="gp">$ </span>mvn -DskipTests -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=(</span>X.Y.Z+1<span class="o">)</span>-SNAPSHOT -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2"> -DskipTests"</span> release:prepare <span class="c"># Perform checks out the tagged version, builds, and deploys to the staging repository</span> <span class="gp">$ </span>mvn -DskipTests -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2"> -DskipTests"</span> release:perform</code></pre></div> @@ -694,8 +699,8 @@ Upload the artifacts via subversion to a <span class="gp">$ </span>git tag <span class="c"># If the tag exists, delete it locally and remotely</span> -<span class="gp">$ </span>git tag -d apache-kylin-X.Y.Z -<span class="gp">$ </span>git push origin :refs/tags/apache-kylin-X.Y.Z +<span class="gp">$ </span>git tag -d kylin-X.Y.Z +<span class="gp">$ </span>git push origin :refs/tags/kylin-X.Y.Z <span class="c"># Remove modified files</span> <span class="gp">$ </span>mvn release:clean @@ -754,7 +759,7 @@ Upload the artifacts via subversion to a Release vote on dev list, use the commit id that generated by Maven release plugin, whose message looks like â[maven-release-plugin] prepare release kylin-x.x.xâ:</p> <div class="highlight"><pre><code class="language-text" data-lang="text">To: d...@kylin.apache.org -Subject: [VOTE] Release apache-kylin-X.Y.Z (release candidate N) +Subject: [VOTE] Release apache-kylin-X.Y.Z (RC[N]) Hi all, @@ -777,8 +782,6 @@ The artifacts to be voted on are located https://dist.apache.org/repos/dist/dev/kylin/apache-kylin-X.Y.Z-rcN/ The hashes of the artifacts are as follows: -src.zip.md5 xxx -src.zip.sha1 xxx src.tar.gz.md5 xxx src.tar.gz.sha1 xxx @@ -800,13 +803,11 @@ at least three +1 PPMC votes are cast. Here is my vote: -+1 (binding) - -Luke</code></pre></div> ++1 (binding)</code></pre></div> <p>After vote finishes, send out the result:</p> -<div class="highlight"><pre><code class="language-text" data-lang="text">Subject: [RESULT] [VOTE] Release apache-kylin-X.Y.Z (release candidate N) +<div class="highlight"><pre><code class="language-text" data-lang="text">Subject: [RESULT] [VOTE] Release apache-kylin-X.Y.Z (RC[N]) To: d...@kylin.apache.org Thanks to everyone who has tested the release candidate and given @@ -916,7 +917,7 @@ Please notice to always use your Apache <div class="highlight"><pre><code class="language-text" data-lang="text">The Apache Kylin team is pleased to announce the immediate availability of the x.y.z release. -This is a bug fix release based on 1.5.2; All of the changes in this release can be found in: +This is a bug fix release based on 1.5.2.1; All of the changes in this release can be found in: https://kylin.apache.org/docs15/release_notes.html You can download the source release and binary packages from Modified: kylin/site/docs15/gettingstarted/best_practices.html URL: http://svn.apache.org/viewvc/kylin/site/docs15/gettingstarted/best_practices.html?rev=1762389&r1=1762388&r2=1762389&view=diff ============================================================================== --- kylin/site/docs15/gettingstarted/best_practices.html (original) +++ kylin/site/docs15/gettingstarted/best_practices.html Tue Sep 27 01:21:01 2016 @@ -2038,13 +2038,16 @@ <p><a href="https://www.inovex.de/fileadmin/files/Vortraege/2015/big-data-mdx-with-mondrian-and-apache-kylin-sebastien-jelsch-pcm-11-2015.pdf">Big Data MDX with Mondrian and Apache Kylin</a></p> </li> <li> - <p><a href="https://github.com/mustangore/kylin-mondrian-interaction">Kylin and Mondrain Interaction</a></p> + <p><a href="https://github.com/mustangore/kylin-mondrian-interaction">Kylin and Mondrain Interaction</a> (Thanks to <a href="https://github.com/mustangore">mustangore</a>)</p> </li> <li> - <p><a href="https://github.com/albertoRamon/Kylin/tree/master/KylinWithTableau">Kylin And Tableau Tutorial</a></p> + <p><a href="https://github.com/albertoRamon/Kylin/tree/master/KylinWithTableau">Kylin And Tableau Tutorial</a> (Thanks to <a href="https://www.linkedin.com/in/alberto-ramon-portoles-a02b523b">Ramón Portolés, Alberto</a>)</p> </li> <li> - <p><a href="https://github.com/albertoRamon/Kylin/tree/master/KylinWithQlik">Kylin and Qlik Integration</a></p> + <p><a href="https://github.com/albertoRamon/Kylin/tree/master/KylinWithQlik">Kylin and Qlik Integration</a> (Thanks to <a href="https://www.linkedin.com/in/alberto-ramon-portoles-a02b523b">Ramón Portolés, Alberto</a>)</p> + </li> + <li> + <p><a href="https://github.com/albertoRamon/Kylin/tree/master/KylinWithHue">How to use Hue with Kylin</a> (Thanks to <a href="https://www.linkedin.com/in/alberto-ramon-portoles-a02b523b">Ramón Portolés, Alberto</a>)</p> </li> </ul> Modified: kylin/site/docs15/howto/howto_use_restapi.html URL: http://svn.apache.org/viewvc/kylin/site/docs15/howto/howto_use_restapi.html?rev=1762389&r1=1762388&r2=1762389&view=diff ============================================================================== --- kylin/site/docs15/howto/howto_use_restapi.html (original) +++ kylin/site/docs15/howto/howto_use_restapi.html Tue Sep 27 01:21:01 2016 @@ -2019,7 +2019,7 @@ <article class="post-content" > - <p>This page lists all the RESTful APIs provided by Kylin; The base of the URL is <code class="highlighter-rouge">/kylin/api</code>, so donât forget to add it before a certain APIâs path. For example, to get all cube instances, send HTTP GET request to â/kylin/api/cubesâ.</p> + <p>This page lists the major RESTful APIs provided by Kylin.</p> <ul> <li>Query @@ -2065,7 +2065,7 @@ </ul> <h2 id="authentication">Authentication</h2> -<p><code class="highlighter-rouge">POST /user/authentication</code></p> +<p><code class="highlighter-rouge">POST /kylin/api/user/authentication</code></p> <h4 id="request-header">Request Header</h4> <p>Authorization data encoded by basic auth is needed in the header, such as:<br /> @@ -2111,10 +2111,16 @@ Authorization:Basic {data}</p> </code></pre> </div> +<p>Alternatively, you can provide the username/password with option âuserâ in each curl call; please note this has the risk of password leak in shell history:</p> + +<div class="highlighter-rouge"><pre class="highlight"><code>curl -X PUT --user ADMIN:KYLIN -H "Content-Type: application/json;charset=utf-8" -d '{ "startTime": 820454400000, "endTime": 821318400000, "buildType": "BUILD"}' http://localhost:7070/kylin/api/cubes/kylin_sales/rebuild +</code></pre> +</div> + <hr /> <h2 id="query">Query</h2> -<p><code class="highlighter-rouge">POST /query</code></p> +<p><code class="highlighter-rouge">POST /kylin/api/query</code></p> <h4 id="request-body">Request Body</h4> <ul> @@ -2234,12 +2240,12 @@ Authorization:Basic {data}</p> <h4 id="curl-example-1">Curl Example</h4> -<div class="highlighter-rouge"><pre class="highlight"><code>curl -X POST -H "Authorization: Basic XXXXXXXXX" -H "Content-Type: application/json" -d '{ "sql":"select count(*) from TEST_KYLIN_FACT", "project":"learn_kylin" }' http://YOUR_HOST:7070/kylin/api/query +<div class="highlighter-rouge"><pre class="highlight"><code>curl -X POST -H "Authorization: Basic XXXXXXXXX" -H "Content-Type: application/json" -d '{ "sql":"select count(*) from TEST_KYLIN_FACT", "project":"learn_kylin" }' http://localhost:7070/kylin/api/query </code></pre> </div> <h2 id="list-queryable-tables">List queryable tables</h2> -<p><code class="highlighter-rouge">GET /tables_and_columns</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/tables_and_columns</code></p> <h4 id="request-parameters">Request Parameters</h4> <ul> @@ -2319,7 +2325,7 @@ Authorization:Basic {data}</p> <hr /> <h2 id="list-cubes">List cubes</h2> -<p><code class="highlighter-rouge">GET /cubes</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/cubes</code></p> <h4 id="request-parameters-1">Request Parameters</h4> <ul> @@ -2352,7 +2358,7 @@ Authorization:Basic {data}</p> </div> <h2 id="get-cube">Get cube</h2> -<p><code class="highlighter-rouge">GET /cubes/{cubeName}</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/cubes/{cubeName}</code></p> <h4 id="path-variable">Path Variable</h4> <ul> @@ -2360,7 +2366,7 @@ Authorization:Basic {data}</p> </ul> <h2 id="get-cube-descriptor">Get cube descriptor</h2> -<p><code class="highlighter-rouge">GET /cube_desc/{cubeName}</code><br /> +<p><code class="highlighter-rouge">GET /kylin/api/cube_desc/{cubeName}</code><br /> Get descriptor for specified cube instance.</p> <h4 id="path-variable-1">Path Variable</h4> @@ -2623,7 +2629,7 @@ Get descriptor for specified cube instan </div> <h2 id="get-data-model">Get data model</h2> -<p><code class="highlighter-rouge">GET /model/{modelName}</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/model/{modelName}</code></p> <h4 id="path-variable-2">Path Variable</h4> <ul> @@ -2678,7 +2684,7 @@ Get descriptor for specified cube instan </div> <h2 id="build-cube">Build cube</h2> -<p><code class="highlighter-rouge">PUT /cubes/{cubeName}/rebuild</code></p> +<p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/rebuild</code></p> <h4 id="path-variable-3">Path Variable</h4> <ul> @@ -2755,7 +2761,7 @@ Get descriptor for specified cube instan </div> <h2 id="enable-cube">Enable Cube</h2> -<p><code class="highlighter-rouge">PUT /cubes/{cubeName}/enable</code></p> +<p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/enable</code></p> <h4 id="path-variable-4">Path variable</h4> <ul> @@ -2811,7 +2817,7 @@ Get descriptor for specified cube instan </div> <h2 id="disable-cube">Disable Cube</h2> -<p><code class="highlighter-rouge">PUT /cubes/{cubeName}/disable</code></p> +<p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/disable</code></p> <h4 id="path-variable-5">Path variable</h4> <ul> @@ -2822,7 +2828,7 @@ Get descriptor for specified cube instan <p>(Same as âEnable Cubeâ)</p> <h2 id="purge-cube">Purge Cube</h2> -<p><code class="highlighter-rouge">PUT /cubes/{cubeName}/purge</code></p> +<p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/purge</code></p> <h4 id="path-variable-6">Path variable</h4> <ul> @@ -2835,7 +2841,7 @@ Get descriptor for specified cube instan <hr /> <h2 id="resume-job">Resume Job</h2> -<p><code class="highlighter-rouge">PUT /jobs/{jobId}/resume</code></p> +<p><code class="highlighter-rouge">PUT /kylin/api/jobs/{jobId}/resume</code></p> <h4 id="path-variable-7">Path variable</h4> <ul> @@ -2905,7 +2911,7 @@ Get descriptor for specified cube instan </div> <h2 id="discard-job">Discard Job</h2> -<p><code class="highlighter-rouge">PUT /jobs/{jobId}/cancel</code></p> +<p><code class="highlighter-rouge">PUT /kylin/api/jobs/{jobId}/cancel</code></p> <h4 id="path-variable-8">Path variable</h4> <ul> @@ -2916,7 +2922,7 @@ Get descriptor for specified cube instan <p>(Same as âResume jobâ)</p> <h2 id="get-job-status">Get Job Status</h2> -<p><code class="highlighter-rouge">GET /jobs/{jobId}</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/jobs/{jobId}</code></p> <h4 id="path-variable-9">Path variable</h4> <ul> @@ -2927,7 +2933,7 @@ Get descriptor for specified cube instan <p>(Same as âResume Jobâ)</p> <h2 id="get-job-step-output">Get job step output</h2> -<p><code class="highlighter-rouge">GET /{jobId}/steps/{stepId}/output</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/{jobId}/steps/{stepId}/output</code></p> <h4 id="path-variable-10">Path Variable</h4> <ul> @@ -2945,7 +2951,7 @@ Get descriptor for specified cube instan <hr /> <h2 id="get-hive-table">Get Hive Table</h2> -<p><code class="highlighter-rouge">GET /tables/{tableName}</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/tables/{tableName}</code></p> <h4 id="request-parameters-2">Request Parameters</h4> <ul> @@ -2980,7 +2986,7 @@ Get descriptor for specified cube instan </div> <h2 id="get-hive-table-extend-info">Get Hive Table (Extend Info)</h2> -<p><code class="highlighter-rouge">GET /tables/{tableName}/exd-map</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/tables/{tableName}/exd-map</code></p> <h4 id="request-parameters-3">Request Parameters</h4> <ul> @@ -3009,7 +3015,7 @@ Get descriptor for specified cube instan </div> <h2 id="get-hive-tables">Get Hive Tables</h2> -<p><code class="highlighter-rouge">GET /tables</code></p> +<p><code class="highlighter-rouge">GET /kylin/api/tables</code></p> <h4 id="request-parameters-4">Request Parameters</h4> <ul> @@ -3065,7 +3071,7 @@ Get descriptor for specified cube instan </div> <h2 id="load-hive-tables">Load Hive Tables</h2> -<p><code class="highlighter-rouge">POST /tables/{tables}/{project}</code></p> +<p><code class="highlighter-rouge">POST /kylin/api/tables/{tables}/{project}</code></p> <h4 id="request-parameters-5">Request Parameters</h4> <ul> @@ -3084,7 +3090,7 @@ Get descriptor for specified cube instan <hr /> <h2 id="wipe-cache">Wipe cache</h2> -<p><code class="highlighter-rouge">PUT /cache/{type}/{name}/{action}</code></p> +<p><code class="highlighter-rouge">PUT /kylin/api/cache/{type}/{name}/{action}</code></p> <h4 id="path-variable-11">Path variable</h4> <ul> @@ -3093,7 +3099,6 @@ Get descriptor for specified cube instan <li>action - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> âcreateâ, âupdateâ or âdropâ</li> </ul> - </article> </div> </div> Modified: kylin/site/feed.xml URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1762389&r1=1762388&r2=1762389&view=diff ============================================================================== --- kylin/site/feed.xml (original) +++ kylin/site/feed.xml Tue Sep 27 01:21:01 2016 @@ -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>Mon, 26 Sep 2016 06:59:11 -0700</pubDate> - <lastBuildDate>Mon, 26 Sep 2016 06:59:11 -0700</lastBuildDate> + <pubDate>Tue, 27 Sep 2016 02:17:25 -0700</pubDate> + <lastBuildDate>Tue, 27 Sep 2016 02:17:25 -0700</lastBuildDate> <generator>Jekyll v2.5.3</generator> <item>