[ 
https://issues.apache.org/jira/browse/AMBARI-23465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16426668#comment-16426668
 ] 

JaySenSharma commented on AMBARI-23465:
---------------------------------------

As "weather-view" view is using "openweathermap.org" APIs to fetch the weather 
data, However as per the "https://openweathermap.org/faq"; these APIs have 
become commercialised now Starting from 9 October 2015 and it requires a valid 
APPID so it might not work as desired.


> the weather view example does not work?
> ---------------------------------------
>
>                 Key: AMBARI-23465
>                 URL: https://issues.apache.org/jira/browse/AMBARI-23465
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-views
>    Affects Versions: 2.6.0
>            Reporter: Yanyan Zhang
>            Assignee: JaySenSharma
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: weather-view-error.png
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I was practicing the weather view example:
> [https://github.com/apache/ambari/blob/trunk/ambari-views/examples/weather-view/docs/index.md]
> I could only get the following (also shown in the attached picture), instead 
> of a nice web page as described/shown in the above link.
> h1. Directory: /views/WEATHER/1.0.0/EUROPE/
> |[META-INF/ |http://127.0.0.1:8080/views/WEATHER/1.0.0/EUROPE/META-INF/]|4096 
> bytes |Mar 23, 2018 11:16:00 PM|
> |[WEB-INF/ |http://127.0.0.1:8080/views/WEATHER/1.0.0/EUROPE/WEB-INF/]|4096 
> bytes |Mar 23, 2018 11:16:00 PM|
> |[org/ |http://127.0.0.1:8080/views/WEATHER/1.0.0/EUROPE/org/]|4096 bytes 
> |Mar 23, 2018 11:16:00 PM|
> |[view.xml |http://127.0.0.1:8080/views/WEATHER/1.0.0/EUROPE/view.xml]|2782 
> bytes |Mar 23, 2018 11:16:00 PM|
>  
> Versions I used:
> Apache Ambari version 2.6.0.0
> openjdk version "1.8.0_151"
> Apache Maven 3.2.5 
>  
> Is there anything wrong with the versions I used? Or, there are other 
> problems?
> Thanks in advance for any help!
> Yanyan



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to