You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Vikram Kone <vi...@gmail.com> on 2015/02/23 20:10:01 UTC
Installing Kylin on Azure
Hi,
I'm trying to install Kylin on Hortonworks Hadoop distribution on Azure.
I was able to install the pre-requisites tomcat, npm, maven and Java JDK on
the master node and then set the environment variables as follows
1. export JAVA_HOME=/usr/jdk64/jdk1.7.0_45/
2. export CATALINA_HOME=~/apache-tomcat-7.0.59
3. ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn
4. export PATH=~/node-v0.10.32-linux-x64/bin:$PATH
Next up, I added these lines so the sudoes file so that environment
variables are not reset when running commands as sudo
5. sudo visudo
Defaults env_keep += "JAVA_HOME"
Defaults env_keep += "CATALINA_HOME"
Defaults secure_path =
/home/vikone/node-v0.10.32-linux-x64/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vikone/bin
Then I tried installing Kylin as follows
6. cd ~/Kylin
7. sudo -E ./deploy.sh
It did install a bunch of stuff and after couple of mins , I see this on
the terminal
==END==
8c60cf486f0965fd7617065ab217e0c1e3d13b07
update version to 0.6.6-SNAPSHOT
==END==
d4bb89b01089e0cfe684c9c17d886a97b6126eb6
set request content charset
==END==
a916b377bef38b9b24498bb3d74d069d6df1d047
Create URLEncodedUtils.java
==END==
69305823febe3274f591521a9df27390654be764
parse connectionURL parameters
==END==
Done, without errors.
Adding config.json to kylin.war
./package.sh: line 24: jar: command not found
ERROR exit from ./deploy.sh : line 24 with exit code 127
Any idea, why it says Done without errors but has an error message at the
end?
-Vikram
Re: Installing Kylin on Azure
Posted by Santosh Akhilesh <sa...@gmail.com>.
I also had faced this issue while building from source. I resolved by
giving full path taking to bin/jar I. Package.sh and then it was all fine.
But as suggested you could directly take the binary package to avoid
building process.
On Tue, 24 Feb 2015 at 12:42 am, Vikram Kone <vi...@gmail.com> wrote:
> Hi,
> I'm trying to install Kylin on Hortonworks Hadoop distribution on Azure.
> I was able to install the pre-requisites tomcat, npm, maven and Java JDK on
> the master node and then set the environment variables as follows
>
> 1. export JAVA_HOME=/usr/jdk64/jdk1.7.0_45/
>
> 2. export CATALINA_HOME=~/apache-tomcat-7.0.59
>
> 3. ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn
>
> 4. export PATH=~/node-v0.10.32-linux-x64/bin:$PATH
>
> Next up, I added these lines so the sudoes file so that environment
> variables are not reset when running commands as sudo
>
> 5. sudo visudo
>
> Defaults env_keep += "JAVA_HOME"
> Defaults env_keep += "CATALINA_HOME"
> Defaults secure_path =
> /home/vikone/node-v0.10.32-linux-x64/bin:/usr/lib64/qt-3.
> 3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/
> sbin:/sbin:/home/vikone/bin
>
> Then I tried installing Kylin as follows
>
> 6. cd ~/Kylin
> 7. sudo -E ./deploy.sh
>
> It did install a bunch of stuff and after couple of mins , I see this on
> the terminal
>
> ==END==
>
> 8c60cf486f0965fd7617065ab217e0c1e3d13b07
>
> update version to 0.6.6-SNAPSHOT
>
>
>
> ==END==
>
> d4bb89b01089e0cfe684c9c17d886a97b6126eb6
>
> set request content charset
>
>
>
> ==END==
>
> a916b377bef38b9b24498bb3d74d069d6df1d047
>
> Create URLEncodedUtils.java
>
>
>
> ==END==
>
> 69305823febe3274f591521a9df27390654be764
>
> parse connectionURL parameters
>
>
>
> ==END==
>
>
>
> Done, without errors.
>
> Adding config.json to kylin.war
>
> ./package.sh: line 24: jar: command not found
>
> ERROR exit from ./deploy.sh : line 24 with exit code 127
>
>
> Any idea, why it says Done without errors but has an error message at the
> end?
>
> -Vikram
>
Re: Installing Kylin on Azure
Posted by "Han, Luke" <lu...@ebay.com>.
Hi Vikram,
Could you please try again with our new binary package? Which will only
depends on your Hadoop client and using embedded tomcat. It’s more simple
and easy to setup Kylin on such cloud services platform without build from
source code.
Binary download:
http://kylin.incubator.apache.org/download/kylin-0.7.1-SNAPSHOT.tgz
Installation Guide:
https://github.com/KylinOLAP/Kylin/blob/inverted-index/docs/Installation/i
nstall_and_run.md
Thanks.
Best Regards!
------------------------
Luke Han | 韩卿
Phone: 86-21-28913802 | Mobile: 86-18616265832
Mail: lukhan@ebay.com | Skype: luke.hanqing
Apache Kylin: http://kylin.io <http://kylin.io/>
On 2/24/15, 03:10, "Vikram Kone" <vi...@gmail.com> wrote:
>Hi,
>I'm trying to install Kylin on Hortonworks Hadoop distribution on Azure.
>I was able to install the pre-requisites tomcat, npm, maven and Java JDK
>on
>the master node and then set the environment variables as follows
>
>1. export JAVA_HOME=/usr/jdk64/jdk1.7.0_45/
>
>2. export CATALINA_HOME=~/apache-tomcat-7.0.59
>
>3. ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn
>
>4. export PATH=~/node-v0.10.32-linux-x64/bin:$PATH
>
>Next up, I added these lines so the sudoes file so that environment
>variables are not reset when running commands as sudo
>
>5. sudo visudo
>
>Defaults env_keep += "JAVA_HOME"
>Defaults env_keep += "CATALINA_HOME"
>Defaults secure_path =
>/home/vikone/node-v0.10.32-linux-x64/bin:/usr/lib64/qt-3.3/bin:/usr/local/
>bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vikone/bin
>
>Then I tried installing Kylin as follows
>
>6. cd ~/Kylin
>7. sudo -E ./deploy.sh
>
>It did install a bunch of stuff and after couple of mins , I see this on
>the terminal
>
>==END==
>
>8c60cf486f0965fd7617065ab217e0c1e3d13b07
>
>update version to 0.6.6-SNAPSHOT
>
>
>
>==END==
>
>d4bb89b01089e0cfe684c9c17d886a97b6126eb6
>
>set request content charset
>
>
>
>==END==
>
>a916b377bef38b9b24498bb3d74d069d6df1d047
>
>Create URLEncodedUtils.java
>
>
>
>==END==
>
>69305823febe3274f591521a9df27390654be764
>
>parse connectionURL parameters
>
>
>
>==END==
>
>
>
>Done, without errors.
>
>Adding config.json to kylin.war
>
>./package.sh: line 24: jar: command not found
>
>ERROR exit from ./deploy.sh : line 24 with exit code 127
>
>
>Any idea, why it says Done without errors but has an error message at the
>end?
>
>-Vikram
Re: Installing Kylin on Azure
Posted by Santosh Akhilesh <sa...@gmail.com>.
You need to check the kylin.log under tomcat logs.
You should check the exceptions. Some common reasons are hbase or zookeeper
not started successfully. Only looking at logs can give the idea..
On Wed, 25 Feb 2015 at 6:54 am, Vikram Kone <vi...@gmail.com> wrote:
> Hi Luke,
> So I got the new binary package and was able to start kylin by doing
> *bin/start-kylin.sh*
> This finished quickly in few seconds as shown below
> =======================
>
> [vikone@kylin-master-01 kylin-0.7.1-SNAPSHOT]$ bin/start-kylin.sh
> Checking KYLIN_HOME...
> KYLIN_HOME is set to /home/vikone/Kylin/New/kylin-0.7.1-SNAPSHOT
> Checking hbase...
> hbase check passed
> Checking hive...
> hive check passed
> Checking hadoop...
> hadoop check passed
>
> Logging initialized using configuration in
> file:/etc/hive/conf.dist/hive-log4j.properties
> hive dependency:
> /usr/hdp/current/hive-client/conf/:/usr/lib/hive/lib/*:/
> usr/lib/hive-hcatalog/share/hcatalog/*
> A new Kylin instance is started by vikone, stop it using "stop-kylin.sh"
> Please visit http://<your_sandbox_ip>:7070/kylin to play with the cubes!
> (Useranme: ADMIN, Password: KYLIN)
> You can check the log at bin/../tomcat/logs/kylin.log
> =============================================
> Now the message says that Kylin is started at port 7070 on master server.
> But when I go to this Url , I get blank page ie, unable to connect to
> server
> http://kylin-master-01.cloudapp.net:7070/kylin
>
> I also tried this URL, which worked before when I installed Kylin using the
> regular method..even this doesn't work anymore :(
> http://kylin-master-01.cloudapp.net:8080/kylin
>
> What am I doing wrong? Both the endpoints/porta are enabled in Azure on
> both master VMs
>
>
> On Mon, Feb 23, 2015 at 11:10 AM, Vikram Kone <vi...@gmail.com>
> wrote:
>
> > Hi,
> > I'm trying to install Kylin on Hortonworks Hadoop distribution on Azure.
> > I was able to install the pre-requisites tomcat, npm, maven and Java JDK
> > on the master node and then set the environment variables as follows
> >
> > 1. export JAVA_HOME=/usr/jdk64/jdk1.7.0_45/
> >
> > 2. export CATALINA_HOME=~/apache-tomcat-7.0.59
> >
> > 3. ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn
> >
> > 4. export PATH=~/node-v0.10.32-linux-x64/bin:$PATH
> >
> > Next up, I added these lines so the sudoes file so that environment
> > variables are not reset when running commands as sudo
> >
> > 5. sudo visudo
> >
> > Defaults env_keep += "JAVA_HOME"
> > Defaults env_keep += "CATALINA_HOME"
> > Defaults secure_path =
> > /home/vikone/node-v0.10.32-linux-x64/bin:/usr/lib64/qt-3.
> 3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/
> sbin:/sbin:/home/vikone/bin
> >
> > Then I tried installing Kylin as follows
> >
> > 6. cd ~/Kylin
> > 7. sudo -E ./deploy.sh
> >
> > It did install a bunch of stuff and after couple of mins , I see this on
> > the terminal
> >
> > ==END==
> >
> > 8c60cf486f0965fd7617065ab217e0c1e3d13b07
> >
> > update version to 0.6.6-SNAPSHOT
> >
> >
> >
> > ==END==
> >
> > d4bb89b01089e0cfe684c9c17d886a97b6126eb6
> >
> > set request content charset
> >
> >
> >
> > ==END==
> >
> > a916b377bef38b9b24498bb3d74d069d6df1d047
> >
> > Create URLEncodedUtils.java
> >
> >
> >
> > ==END==
> >
> > 69305823febe3274f591521a9df27390654be764
> >
> > parse connectionURL parameters
> >
> >
> >
> > ==END==
> >
> >
> >
> > Done, without errors.
> >
> > Adding config.json to kylin.war
> >
> > ./package.sh: line 24: jar: command not found
> >
> > ERROR exit from ./deploy.sh : line 24 with exit code 127
> >
> >
> > Any idea, why it says Done without errors but has an error message at the
> > end?
> >
> > -Vikram
> >
>
Re: Installing Kylin on Azure
Posted by "Han, Luke" <lu...@ebay.com>.
Could you please check the kylin.log to see any issue there? And please telnet to that port to make sure there's no firewall between your client and VM.
And, please try to use http://IP:7070/kylin again.
Thanks.
发自我的 iPhone
> 在 2015年2月25日,09:24,Vikram Kone <vi...@gmail.com> 写道:
>
> Hi Luke,
> So I got the new binary package and was able to start kylin by doing
> *bin/start-kylin.sh*
> This finished quickly in few seconds as shown below
> =======================
>
> [vikone@kylin-master-01 kylin-0.7.1-SNAPSHOT]$ bin/start-kylin.sh
> Checking KYLIN_HOME...
> KYLIN_HOME is set to /home/vikone/Kylin/New/kylin-0.7.1-SNAPSHOT
> Checking hbase...
> hbase check passed
> Checking hive...
> hive check passed
> Checking hadoop...
> hadoop check passed
>
> Logging initialized using configuration in
> file:/etc/hive/conf.dist/hive-log4j.properties
> hive dependency:
> /usr/hdp/current/hive-client/conf/:/usr/lib/hive/lib/*:/usr/lib/hive-hcatalog/share/hcatalog/*
> A new Kylin instance is started by vikone, stop it using "stop-kylin.sh"
> Please visit http://<your_sandbox_ip>:7070/kylin to play with the cubes!
> (Useranme: ADMIN, Password: KYLIN)
> You can check the log at bin/../tomcat/logs/kylin.log
> =============================================
> Now the message says that Kylin is started at port 7070 on master server.
> But when I go to this Url , I get blank page ie, unable to connect to server
> http://kylin-master-01.cloudapp.net:7070/kylin
>
> I also tried this URL, which worked before when I installed Kylin using the
> regular method..even this doesn't work anymore :(
> http://kylin-master-01.cloudapp.net:8080/kylin
>
> What am I doing wrong? Both the endpoints/porta are enabled in Azure on
> both master VMs
>
>
>> On Mon, Feb 23, 2015 at 11:10 AM, Vikram Kone <vi...@gmail.com> wrote:
>>
>> Hi,
>> I'm trying to install Kylin on Hortonworks Hadoop distribution on Azure.
>> I was able to install the pre-requisites tomcat, npm, maven and Java JDK
>> on the master node and then set the environment variables as follows
>>
>> 1. export JAVA_HOME=/usr/jdk64/jdk1.7.0_45/
>>
>> 2. export CATALINA_HOME=~/apache-tomcat-7.0.59
>>
>> 3. ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn
>>
>> 4. export PATH=~/node-v0.10.32-linux-x64/bin:$PATH
>>
>> Next up, I added these lines so the sudoes file so that environment
>> variables are not reset when running commands as sudo
>>
>> 5. sudo visudo
>>
>> Defaults env_keep += "JAVA_HOME"
>> Defaults env_keep += "CATALINA_HOME"
>> Defaults secure_path =
>> /home/vikone/node-v0.10.32-linux-x64/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vikone/bin
>>
>> Then I tried installing Kylin as follows
>>
>> 6. cd ~/Kylin
>> 7. sudo -E ./deploy.sh
>>
>> It did install a bunch of stuff and after couple of mins , I see this on
>> the terminal
>>
>> ==END==
>>
>> 8c60cf486f0965fd7617065ab217e0c1e3d13b07
>>
>> update version to 0.6.6-SNAPSHOT
>>
>>
>>
>> ==END==
>>
>> d4bb89b01089e0cfe684c9c17d886a97b6126eb6
>>
>> set request content charset
>>
>>
>>
>> ==END==
>>
>> a916b377bef38b9b24498bb3d74d069d6df1d047
>>
>> Create URLEncodedUtils.java
>>
>>
>>
>> ==END==
>>
>> 69305823febe3274f591521a9df27390654be764
>>
>> parse connectionURL parameters
>>
>>
>>
>> ==END==
>>
>>
>>
>> Done, without errors.
>>
>> Adding config.json to kylin.war
>>
>> ./package.sh: line 24: jar: command not found
>>
>> ERROR exit from ./deploy.sh : line 24 with exit code 127
>>
>>
>> Any idea, why it says Done without errors but has an error message at the
>> end?
>>
>> -Vikram
>>
Re: Installing Kylin on Azure
Posted by Vikram Kone <vi...@gmail.com>.
Hi Luke,
So I got the new binary package and was able to start kylin by doing
*bin/start-kylin.sh*
This finished quickly in few seconds as shown below
=======================
[vikone@kylin-master-01 kylin-0.7.1-SNAPSHOT]$ bin/start-kylin.sh
Checking KYLIN_HOME...
KYLIN_HOME is set to /home/vikone/Kylin/New/kylin-0.7.1-SNAPSHOT
Checking hbase...
hbase check passed
Checking hive...
hive check passed
Checking hadoop...
hadoop check passed
Logging initialized using configuration in
file:/etc/hive/conf.dist/hive-log4j.properties
hive dependency:
/usr/hdp/current/hive-client/conf/:/usr/lib/hive/lib/*:/usr/lib/hive-hcatalog/share/hcatalog/*
A new Kylin instance is started by vikone, stop it using "stop-kylin.sh"
Please visit http://<your_sandbox_ip>:7070/kylin to play with the cubes!
(Useranme: ADMIN, Password: KYLIN)
You can check the log at bin/../tomcat/logs/kylin.log
=============================================
Now the message says that Kylin is started at port 7070 on master server.
But when I go to this Url , I get blank page ie, unable to connect to server
http://kylin-master-01.cloudapp.net:7070/kylin
I also tried this URL, which worked before when I installed Kylin using the
regular method..even this doesn't work anymore :(
http://kylin-master-01.cloudapp.net:8080/kylin
What am I doing wrong? Both the endpoints/porta are enabled in Azure on
both master VMs
On Mon, Feb 23, 2015 at 11:10 AM, Vikram Kone <vi...@gmail.com> wrote:
> Hi,
> I'm trying to install Kylin on Hortonworks Hadoop distribution on Azure.
> I was able to install the pre-requisites tomcat, npm, maven and Java JDK
> on the master node and then set the environment variables as follows
>
> 1. export JAVA_HOME=/usr/jdk64/jdk1.7.0_45/
>
> 2. export CATALINA_HOME=~/apache-tomcat-7.0.59
>
> 3. ln -s ~/apache-maven-3.2.5/bin/mvn /usr/bin/mvn
>
> 4. export PATH=~/node-v0.10.32-linux-x64/bin:$PATH
>
> Next up, I added these lines so the sudoes file so that environment
> variables are not reset when running commands as sudo
>
> 5. sudo visudo
>
> Defaults env_keep += "JAVA_HOME"
> Defaults env_keep += "CATALINA_HOME"
> Defaults secure_path =
> /home/vikone/node-v0.10.32-linux-x64/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/vikone/bin
>
> Then I tried installing Kylin as follows
>
> 6. cd ~/Kylin
> 7. sudo -E ./deploy.sh
>
> It did install a bunch of stuff and after couple of mins , I see this on
> the terminal
>
> ==END==
>
> 8c60cf486f0965fd7617065ab217e0c1e3d13b07
>
> update version to 0.6.6-SNAPSHOT
>
>
>
> ==END==
>
> d4bb89b01089e0cfe684c9c17d886a97b6126eb6
>
> set request content charset
>
>
>
> ==END==
>
> a916b377bef38b9b24498bb3d74d069d6df1d047
>
> Create URLEncodedUtils.java
>
>
>
> ==END==
>
> 69305823febe3274f591521a9df27390654be764
>
> parse connectionURL parameters
>
>
>
> ==END==
>
>
>
> Done, without errors.
>
> Adding config.json to kylin.war
>
> ./package.sh: line 24: jar: command not found
>
> ERROR exit from ./deploy.sh : line 24 with exit code 127
>
>
> Any idea, why it says Done without errors but has an error message at the
> end?
>
> -Vikram
>