Author: lidong Date: Thu Mar 15 08:15:29 2018 New Revision: 1826773 URL: http://svn.apache.org/viewvc?rev=1826773&view=rev Log: update FAQ with password changing
Modified: kylin/site/docs21/gettingstarted/faq.html kylin/site/docs23/gettingstarted/events.html kylin/site/docs23/gettingstarted/faq.html kylin/site/docs23/install/kylin_aws_emr.html kylin/site/docs23/install/kylin_cluster.html kylin/site/feed.xml Modified: kylin/site/docs21/gettingstarted/faq.html URL: http://svn.apache.org/viewvc/kylin/site/docs21/gettingstarted/faq.html?rev=1826773&r1=1826772&r2=1826773&view=diff ============================================================================== --- kylin/site/docs21/gettingstarted/faq.html (original) +++ kylin/site/docs21/gettingstarted/faq.html Thu Mar 15 08:15:29 2018 @@ -4167,6 +4167,33 @@ group by a.slr_sgmt</code></pre></div> <li>User may get this error when first time run hbase client, please check the error trace to see whether there is an error saying couldnât access a folder like â/hadoop/hbase/local/jarsâ; If that folder doesnât exist, create it.</li> </ul> +<h4 id="how-to-update-the-default-password-for-admin">14. How to update the default password for âADMINâ?</h4> +<ul> + <li>By default, Kylin uses a simple, configuration based user registry; The default administrator âADMINâ with password âKYLINâ is hard-coded in <code class="highlighter-rouge">kylinSecurity.xml</code>. To modify the password, you need firstly get the new passwordâs encrypted value (with BCrypt), and then set it in <code class="highlighter-rouge">kylinSecurity.xml</code>. Here is a sample with password âABCDEâ</li> +</ul> + +<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd $KYLIN_HOME/tomcat/webapps/kylin/WEB-INF/lib + +java -classpath kylin-server-base-2.2.0.jar:spring-beans-4.3.10.RELEASE.jar:spring-core-4.3.10.RELEASE.jar:spring-security-core-4.2.3.RELEASE.jar:commons-codec-1.7.jar:commons-logging-1.1.3.jar org.apache.kylin.rest.security.PasswordPlaceholderConfigurer BCrypt ABCDE + +BCrypt encrypted password is: +$2a$10$A7.J.GIEOQknHmJhEeXUdOnj2wrdG4jhopBgqShTgDkJDMoKxYHVu</code></pre></div> + +<p>Then you can set it into `kylinSecurity.xmlâ</p> + +<div class="highlight"><pre><code class="language-groff" data-lang="groff">vi ./tomcat/webapps/kylin/WEB-INF/classes/kylinSecurity.xml</code></pre></div> + +<p>Replace the origin encrypted password with the new one:</p> + +<div class="highlight"><pre><code class="language-groff" data-lang="groff"><bean class="org.springframework.security.core.userdetails.User" id="adminUser"> + <constructor-arg value="ADMIN"/> + <constructor-arg + value="$2a$10$A7.J.GIEOQknHmJhEeXUdOnj2wrdG4jhopBgqShTgDkJDMoKxYHVu"/> + <constructor-arg ref="adminAuthorities"/> + </bean></code></pre></div> + +<p>Restart Kylin to take effective. If you have multiple Kylin server as a cluster, do the same on each instance.</p> + </article> </div> Modified: kylin/site/docs23/gettingstarted/events.html URL: http://svn.apache.org/viewvc/kylin/site/docs23/gettingstarted/events.html?rev=1826773&r1=1826772&r2=1826773&view=diff ============================================================================== --- kylin/site/docs23/gettingstarted/events.html (original) +++ kylin/site/docs23/gettingstarted/events.html Thu Mar 15 08:15:29 2018 @@ -4236,6 +4236,7 @@ <p><strong>Meetup</strong></p> <ul> + <li><a href="http://huiyi.csdn.net/activity/product/goods_list?project_id=3746">Apache Kylin & Alluxio Meetup @Shanghai</a>, in Shanghai, China, 1:00PM - 17:30PM, Sunday, 2018-1-21</li> <li><a href="http://www.meetup.com/Cloud-at-ebayinc/events/218914395/">Apache Kylin Meetup @Bay Area</a>, in San Jose, US, 6:00PM - 7:30PM, Thursday, 2014-12-04</li> </ul> Modified: kylin/site/docs23/gettingstarted/faq.html URL: http://svn.apache.org/viewvc/kylin/site/docs23/gettingstarted/faq.html?rev=1826773&r1=1826772&r2=1826773&view=diff ============================================================================== --- kylin/site/docs23/gettingstarted/faq.html (original) +++ kylin/site/docs23/gettingstarted/faq.html Thu Mar 15 08:15:29 2018 @@ -4332,6 +4332,32 @@ group by a.slr_sgmt</code></pre></div> <li>Please check the <a href="http://apache-kylin.74782.x6.nabble.com/JDBC-query-result-Date-column-get-wrong-value-td5370.html">post in mailing list</a></li> </ul> +<h4 id="how-to-update-the-default-password-for-admin">12. How to update the default password for âADMINâ?</h4> +<ul> + <li>By default, Kylin uses a simple, configuration based user registry; The default administrator âADMINâ with password âKYLINâ is hard-coded in <code class="highlighter-rouge">kylinSecurity.xml</code>. To modify the password, you need firstly get the new passwordâs encrypted value (with BCrypt), and then set it in <code class="highlighter-rouge">kylinSecurity.xml</code>. Here is a sample with password âABCDEâ</li> +</ul> + +<div class="highlight"><pre><code class="language-groff" data-lang="groff">cd $KYLIN_HOME/tomcat/webapps/kylin/WEB-INF/lib + +java -classpath kylin-server-base-2.3.0.jar:spring-beans-4.3.10.RELEASE.jar:spring-core-4.3.10.RELEASE.jar:spring-security-core-4.2.3.RELEASE.jar:commons-codec-1.7.jar:commons-logging-1.1.3.jar org.apache.kylin.rest.security.PasswordPlaceholderConfigurer BCrypt ABCDE + +BCrypt encrypted password is: +$2a$10$A7.J.GIEOQknHmJhEeXUdOnj2wrdG4jhopBgqShTgDkJDMoKxYHVu</code></pre></div> + +<p>Then you can set it into `kylinSecurity.xmlâ</p> + +<div class="highlight"><pre><code class="language-groff" data-lang="groff">vi ./tomcat/webapps/kylin/WEB-INF/classes/kylinSecurity.xml</code></pre></div> + +<p>Replace the origin encrypted password with the new one:</p> + +<div class="highlight"><pre><code class="language-groff" data-lang="groff"><bean class="org.springframework.security.core.userdetails.User" id="adminUser"> + <constructor-arg value="ADMIN"/> + <constructor-arg + value="$2a$10$A7.J.GIEOQknHmJhEeXUdOnj2wrdG4jhopBgqShTgDkJDMoKxYHVu"/> + <constructor-arg ref="adminAuthorities"/> + </bean></code></pre></div> + +<p>Restart Kylin to take effective. If you have multiple Kylin server as a cluster, do the same on each instance.</p> </article> </div> Modified: kylin/site/docs23/install/kylin_aws_emr.html URL: http://svn.apache.org/viewvc/kylin/site/docs23/install/kylin_aws_emr.html?rev=1826773&r1=1826772&r2=1826773&view=diff ============================================================================== --- kylin/site/docs23/install/kylin_aws_emr.html (original) +++ kylin/site/docs23/install/kylin_aws_emr.html Thu Mar 15 08:15:29 2018 @@ -4223,7 +4223,7 @@ <h3 id="recommended-version">Recommended Version</h3> <ul> <li>AWS EMR 5.7 (for EMR 5.8 and above, please check <a href="https://issues.apache.org/jira/browse/KYLIN-3129">KYLIN-3129</a>)</li> - <li>Apache Kylin v2.2.0 for HBase 1.x</li> + <li>Apache Kylin v2.2.0 or above for HBase 1.x</li> </ul> <h3 id="start-emr-cluster">Start EMR cluster</h3> @@ -4383,11 +4383,6 @@ $KYLIN_HOME/bin/kylin.sh start <p>Running Kylin in a dedicated client node (not master, core or task) is recommended. You can start a separate EC2 instance within the same VPC and subnet as your EMR, copy the Hadoop clients from master node to it, and then install Kylin in it. This can improve the stability of services in master node as well as Kylin itself.</p> -<h2 id="known-issues-on-emr">Known issues on EMR</h2> -<ul> - <li><a href="https://issues.apache.org/jira/browse/KYLIN-3028">KYLIN-3028</a></li> - <li><a href="https://issues.apache.org/jira/browse/KYLIN-3032">KYLIN-3032</a></li> -</ul> </article> </div> Modified: kylin/site/docs23/install/kylin_cluster.html URL: http://svn.apache.org/viewvc/kylin/site/docs23/install/kylin_cluster.html?rev=1826773&r1=1826772&r2=1826773&view=diff ============================================================================== --- kylin/site/docs23/install/kylin_cluster.html (original) +++ kylin/site/docs23/install/kylin_cluster.html Thu Mar 15 08:15:29 2018 @@ -4233,14 +4233,17 @@ <p>If you are running Kylin in a cluster where you have multiple Kylin REST server instances, please make sure you have the following property correctly configured in ${KYLIN_HOME}/conf/kylin.properties for EVERY server instance.</p> <ol> - <li> - <p>kylin.rest.servers <br /> - List of web servers in use, this enables one web server instance to sync up with other servers. For example: kylin.rest.servers=sandbox1:7070,sandbox2:7070</p> - </li> - <li> - <p>kylin.server.mode<br /> - Make sure there is only one instance whose âkylin.server.modeâ is set to âallâ(or âjobâ), others should be âqueryâ</p> - </li> + <li>kylin.rest.servers <br /> + List of web servers in use, this enables one web server instance to sync up with other servers. For example:</li> +</ol> + +<div class="highlighter-rouge"><pre class="highlight"><code> kylin.rest.servers=host1:7070,host2:7070 +</code></pre> +</div> + +<ol> + <li>kylin.server.mode<br /> + Make sure there is only one instance whose âkylin.server.modeâ is set to âallâ(or âjobâ), others should be âqueryâ</li> </ol> <h2 id="setup-load-balancer">Setup load balancer</h2> Modified: kylin/site/feed.xml URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1826773&r1=1826772&r2=1826773&view=diff ============================================================================== --- kylin/site/feed.xml (original) +++ kylin/site/feed.xml Thu Mar 15 08:15:29 2018 @@ -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>Tue, 13 Mar 2018 06:59:33 -0700</pubDate> - <lastBuildDate>Tue, 13 Mar 2018 06:59:33 -0700</lastBuildDate> + <pubDate>Thu, 15 Mar 2018 01:11:27 -0700</pubDate> + <lastBuildDate>Thu, 15 Mar 2018 01:11:27 -0700</lastBuildDate> <generator>Jekyll v2.5.3</generator> <item>