You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by Will Glass-Husain <wg...@forio.com> on 2022/10/10 00:25:18 UTC

404 in webapp

Hi,

I'm trying to install Kylin 4 on AWS.   (I am a new user).   I followed the
directions on the article in the blog, using
https://kylin.apache.org/blog/2022/04/20/kylin4-on-cloud-part1/

Mostly worked-- I had to change the Database version as the one in the
config wasn't supported.

However, after installation, when I go to the kyline public node at port
7070, I get a 404
http://XX.XX.XX.XX:7070/kylin

Any suggestions where I might look next?

The deploy script ends as follows

2022-10-09 16:44:54 - instances.aws_instance - INFO - 140402882381632 -
Current instance id: i-XXXis executing commands: nohup
/home/ec2-user/prometheus/prometheus
--config.file=/home/ec2-user/prometheus/prometheus.yml >>
/home/ec2-user/prometheus/nohup.out 2>&1 &.
2022-10-09 16:45:00 - clouds.aws - INFO - 140402882381632 - Cluster start
successfully.

2022-10-09 17:15:01 - instances.kylin_utils - WARNING - 140402882381632 -
Check kylin status failed, please check the public ip whether is opened.
2022-10-09 17:15:01 - engine - INFO - 140402882381632 - Default Kylin
Cluster already start successfully.

WILL




-- 
William Glass-Husain   /forio  |  +1 (415) 440 7500 x802  |  forio.com
<http://www.forio.com/>

Re: 404 in webapp

Posted by Will Glass-Husain <wg...@forio.com>.
Hi,

Thanks for the quick response.   I had the public IP open (using the
default cloud config), and I confirmed the prereqs.

I figured it out though.  Kylin had an error starting.   I found this in
the kylin logs
  /home/ec2-user/kylin/logs/kylin.log

I had specified the RDS as MySQL version 8.0.28.  However, looks like Hive
uses an older version of connector J (version 5.1) which isn't compatible
with MySQL 8.   Changing the RDS version to 5.7.39 in the config and
destroying/recreating allowed it to successfully start.

WILL


On Sun, Oct 9, 2022 at 6:17 PM Mukvin <bo...@163.com> wrote:

>
> Hi Will Glass-Husain,
>
> As the message “2022-10-09 17:15:01 - instances.kylin_utils - WARNING -
> 140402882381632 -Check Kylin status failed, please check the public ip
> whether is opened.” Do you check the public ip for kylin?
> *If you want to use the public IP to access Kylin, you must set it.*
>
> *Method 1: Using CLI command to check the ips.*
>
> *`python deploy.py —type list`*
>
> *Method 2: Check the config of `kylin_configs.yaml` in the tool *
> `
> # Open public Ip on Instances
> ASSOSICATED_PUBLIC_IP: &associated_public_ip ’true'
> `
> *If you want to use public IP, it should be true.*
>
> *Method 3: Check the prerequisites for kylin4_on_cloud, and make sure that
> you have done correctly.*
>
> https://github.com/apache/kylin/blob/kylin4_on_cloud/readme/prerequisites.md
>
> *Note:*
> Check any AWS EC2 instances with public ipv4 opened, please turn to “EC2
> -> Instances -> `${want to check the instance id}`” and check the “Public
> IPv4 DNS”.
>
>
> --
> Best regards.
> Tengting Xu
>
>
>
> At 2022-10-10 08:25:18, "Will Glass-Husain" <wg...@forio.com> wrote:
> >Hi,
> >
> >I'm trying to install Kylin 4 on AWS.   (I am a new user).   I followed the
> >directions on the article in the blog, using
> >https://kylin.apache.org/blog/2022/04/20/kylin4-on-cloud-part1/
> >
> >Mostly worked-- I had to change the Database version as the one in the
> >config wasn't supported.
> >
> >However, after installation, when I go to the kyline public node at port
> >7070, I get a 404
> >http://XX.XX.XX.XX:7070/kylin
> >
> >Any suggestions where I might look next?
> >
> >The deploy script ends as follows
> >
> >2022-10-09 16:44:54 - instances.aws_instance - INFO - 140402882381632 -
> >Current instance id: i-XXXis executing commands: nohup
> >/home/ec2-user/prometheus/prometheus
> >--config.file=/home/ec2-user/prometheus/prometheus.yml >>
> >/home/ec2-user/prometheus/nohup.out 2>&1 &.
> >2022-10-09 16:45:00 - clouds.aws - INFO - 140402882381632 - Cluster start
> >successfully.
> >
> >2022-10-09 17:15:01 - instances.kylin_utils - WARNING - 140402882381632 -
> >Check kylin status failed, please check the public ip whether is opened.
> >2022-10-09 17:15:01 - engine - INFO - 140402882381632 - Default Kylin
> >Cluster already start successfully.
> >
> >WILL
> >
> >
> >
> >
> >--
> >William Glass-Husain   /forio  |  +1 (415) 440 7500 x802  |  forio.com
> ><http://www.forio.com/>
>
>

-- 
William Glass-Husain   /forio  |  +1 (415) 440 7500 x802  |  forio.com
<http://www.forio.com/>

Re:404 in webapp

Posted by Mukvin <bo...@163.com>.
Hi Will Glass-Husain,


As the message “2022-10-09 17:15:01 - instances.kylin_utils - WARNING - 140402882381632 -Check Kylin status failed, please check the public ip whether is opened.” Do you check the public ip for kylin?
If you want to use the public IP to access Kylin, you must set it.


Method 1: Using CLI command to check the ips.
`python deploy.py —type list`



Method 2: Check the config of `kylin_configs.yaml` in the tool 
`
# Open public Ip on Instances

ASSOSICATED_PUBLIC_IP: &associated_public_ip ’true'
`
If you want to use public IP, it should be true.


Method 3: Check the prerequisites for kylin4_on_cloud, and make sure that you have done correctly.
https://github.com/apache/kylin/blob/kylin4_on_cloud/readme/prerequisites.md



Note:
Check any AWS EC2 instances with public ipv4 opened, please turn to “EC2 -> Instances -> `${want to check the instance id}`” and check the “Public IPv4 DNS”.




--

Best regards.
Tengting Xu





At 2022-10-10 08:25:18, "Will Glass-Husain" <wg...@forio.com> wrote:
>Hi,
>
>I'm trying to install Kylin 4 on AWS.   (I am a new user).   I followed the
>directions on the article in the blog, using
>https://kylin.apache.org/blog/2022/04/20/kylin4-on-cloud-part1/
>
>Mostly worked-- I had to change the Database version as the one in the
>config wasn't supported.
>
>However, after installation, when I go to the kyline public node at port
>7070, I get a 404
>http://XX.XX.XX.XX:7070/kylin
>
>Any suggestions where I might look next?
>
>The deploy script ends as follows
>
>2022-10-09 16:44:54 - instances.aws_instance - INFO - 140402882381632 -
>Current instance id: i-XXXis executing commands: nohup
>/home/ec2-user/prometheus/prometheus
>--config.file=/home/ec2-user/prometheus/prometheus.yml >>
>/home/ec2-user/prometheus/nohup.out 2>&1 &.
>2022-10-09 16:45:00 - clouds.aws - INFO - 140402882381632 - Cluster start
>successfully.
>
>2022-10-09 17:15:01 - instances.kylin_utils - WARNING - 140402882381632 -
>Check kylin status failed, please check the public ip whether is opened.
>2022-10-09 17:15:01 - engine - INFO - 140402882381632 - Default Kylin
>Cluster already start successfully.
>
>WILL
>
>
>
>
>-- 
>William Glass-Husain   /forio  |  +1 (415) 440 7500 x802  |  forio.com
><http://www.forio.com/>