About Apache Kylin Installing the 32-bit Linux approach

Source: Internet
Author: User
Tags tomcat server

Recently, the company is using Apache Kylin to do real-time development access, but its own cluster is linux32 can only install JDK32-bit limited only 3G of memory, and Apachekylin default is 4G memory, need JDK64 bit support.

The workaround is to modify the environment setting parameters to 4G memory settings to 2G under the/home/hadoop/bigdata/softs/apache-kylin-2.0.0-bin/bin/setenv.sh of Apache Kylin.

The launch also encountered various tomcat problems. Need to be configured (most of the online solutions are not listed here). Finally, there is a security validation problem query involving SSH that takes some time. The solution is as follows (in fact, the lack of this security verification file can be seen in Tomcat server.xml configuration of this item, but there is no kylin under, need to build themselves)

1. Preparation before installation

Preparing the Tomcat compression package JDK compression Package

2. Installing the JDK

(1) Decompression can be

(2) Open/etc/profile with a text editor
• At the end of the profile file, add:

[HTML]View PlainCopy
    1. Export java_home=/usr/share/jdk1.6.0_14
    2. Export path= $JAVA _home/bin: $PATH
    3. Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar

3. Install Tomcat

Decompression can


Then in the browser input: http://localhost:8080 See if the "cat" is out.

4. Configure SSL

Note that in the bin directory of the JDK
[HTML]View PlainCopy
    1. Cd/usr/java/jdk1.6.0_32/bin
    2. ./keytool-genkey-alias Tomcat-keyalg Rsa-keystore/usr/local/tomcat/conf/.keystore

Enter your password and provide your information.


5. Modifying the Tomcat configuration file

cd/usr/local/tomcat/conf/
VI Server.xml


Find this section:

[HTML]View PlainCopy
    1. <Connector port="8443" protocol="http/1.1" sslenabled="true"
    2. maxthreads= "scheme=" "https" secure="true"
    3. Clientauth="false" sslprotocol="TLS" />


Modified to:

[HTML]View PlainCopy
  1. <Connector port="8443" protocol="http/1.1" sslenabled="true"
  2. maxthreads= "scheme=" "https" secure="true"
  3. Clientauth="false" keystorefile="/usr/local/tomcat6-ccms/conf/.keystore" keystorepass=" Your fourth step is to generate the SSL password " sslprotocol=" TLS " />

6. Restart Tomcat

[HTML]View PlainCopy
    1. /usr/local/tomcat/bin/shutdown.sh
    2. /usr/local/tomcat/bin/startup.sh


Note that the port number is 8443
Firewall on port 8443, and then in the browser input: https://ip:8443/, OK can safely see the "cat".

Since then finally installed on the 32-bit system Kylin God beast ... Can be self-clustering test learning. But the company feels it is better to be more than 4G 64 bit. After all, Kylin brush cube or compare the consumption performance of the official default estimate is the lowest configuration

About Apache Kylin Installing the 32-bit Linux approach

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.