[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-06-13 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Resolution: Information Provided
Status: Resolved  (was: Patch Available)

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
> Attachments: 1.0.0-list1.png, 1.0.0-list2.png, 2.0.0-list1.png, 
> 2.0.0-list2.png, AMBARI-20476-1.patch
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html code 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Attachment: (was: AMBARI-20476.patch)

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
> Attachments: 1.0.0-list1.png, 1.0.0-list2.png, 2.0.0-list1.png, 
> 2.0.0-list2.png, AMBARI-20476-1.patch
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html code 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Attachment: AMBARI-20476-1.patch

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
> Attachments: 1.0.0-list1.png, 1.0.0-list2.png, 2.0.0-list1.png, 
> 2.0.0-list2.png, AMBARI-20476-1.patch, AMBARI-20476.patch
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html code 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Description: 
Problem: 
After adding/updating/deleting one record,the web page displays html code 
directly as shown in attached pictures.

Steps to reproduce:
1.cd ambari-views/examples
2.cd phone-list-upgrade-view & mvn clean package
3.cd phone-list-view & mvn clean package
4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
   phone-list-view/target/phone-list-view-*.jar 
   to /var/lib/ambari-server/resources/views
5.ambari-server restart
6.open the view and add/update/delete record.

Solution: add response header to method doPost() in PhoneListServlet.java

  was:
Problem: 
After adding/updating/deleting one record,the web page displays html codes 
directly as shown in attached pictures.

Steps to reproduce:
1.cd ambari-views/examples
2.cd phone-list-upgrade-view & mvn clean package
3.cd phone-list-view & mvn clean package
4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
   phone-list-view/target/phone-list-view-*.jar 
   to /var/lib/ambari-server/resources/views
5.ambari-server restart
6.open the view and add/update/delete record.

Solution: add response header to method doPost() in PhoneListServlet.java


> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
> Attachments: 1.0.0-list1.png, 1.0.0-list2.png, 2.0.0-list1.png, 
> 2.0.0-list2.png, AMBARI-20476.patch
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html code 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Attachment: AMBARI-20476.patch

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
> Attachments: 1.0.0-list1.png, 1.0.0-list2.png, 2.0.0-list1.png, 
> 2.0.0-list2.png, AMBARI-20476.patch
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html codes 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Status: Patch Available  (was: Open)

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
> Attachments: 1.0.0-list1.png, 1.0.0-list2.png, 2.0.0-list1.png, 
> 2.0.0-list2.png, AMBARI-20476.patch
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html codes 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Attachment: 1.0.0-list2.png
1.0.0-list1.png
2.0.0-list1.png
2.0.0-list2.png

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
> Attachments: 1.0.0-list1.png, 1.0.0-list2.png, 2.0.0-list1.png, 
> 2.0.0-list2.png
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html codes 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Priority: Trivial  (was: Major)

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
>Priority: Trivial
> Fix For: trunk
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html codes 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Description: 
Problem: 
After adding/updating/deleting one record,the web page displays html codes 
directly as shown in attached pictures.

Steps to reproduce:
1.cd ambari-views/examples
2.cd phone-list-upgrade-view & mvn clean package
3.cd phone-list-view & mvn clean package
4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
   phone-list-view/target/phone-list-view-*.jar 
   to /var/lib/ambari-server/resources/views
5.ambari-server restart
6.open the view and add/update/delete record.

Solution: add response header to method doPost() in PhoneListServlet.java

  was:
Problem: 
After adding/updating/deleting one record,the web page displays html codes 
directly as shown in attached pictures.

Steps to reproduce:
1.cd ambari-views/examples
2.cd phone-list-upgrade-view & mvn clean package
3.cd phone-list-view & mvn clean package
4.copy 
phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,phone-list-view/target/phone-list-view-*.jar
 to /var/lib/ambari-server/resources/views
5.ambari-server restart
6.open the view and add/update/delete record.

Solution: add response header to method doPost() in PhoneListServlet.java


> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
> Fix For: trunk
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html codes 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,
>phone-list-view/target/phone-list-view-*.jar 
>to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Description: 
Problem: 
After adding/updating/deleting one record,the web page displays html codes 
directly as shown in attached pictures.

Steps to reproduce:
1.cd ambari-views/examples
2.cd phone-list-upgrade-view & mvn clean package
3.cd phone-list-view & mvn clean package
4.copy 
phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,phone-list-view/target/phone-list-view-*.jar
 to /var/lib/ambari-server/resources/views
5.ambari-server restart
6.open the view and add/update/delete record.

Solution: add response header to method doPost() in PhoneListServlet.java

  was:
Problem: 
After adding/updating/deleting one record,the web page displays html codes 
directly as shown in attached pictures.

Steps to reproduce:
1.cd ambari-views/examples
2.cd phone-list-upgrade-view & mvn clean package
3.cd phone-list-view & mvn clean package
4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar, 
phone-list-view/target/phone-list-view-*.jar to 
/var/lib/ambari-server/resources/views
5.ambari-server restart
6.open the view and add/update/delete record.

Solution: add response header to method doPost() in PhoneListServlet.java


> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
> Fix For: trunk
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html codes 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy 
> phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar,phone-list-view/target/phone-list-view-*.jar
>  to /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Updated] (AMBARI-20476) Ambari View examples phone-list-upgrade-view/phone-list-view cannot display normally

2017-03-16 Thread Yao Lei (JIRA)

 [ 
https://issues.apache.org/jira/browse/AMBARI-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yao Lei updated AMBARI-20476:
-
Description: 
Problem: 
After adding/updating/deleting one record,the web page displays html codes 
directly as shown in attached pictures.

Steps to reproduce:
1.cd ambari-views/examples
2.cd phone-list-upgrade-view & mvn clean package
3.cd phone-list-view & mvn clean package
4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar, 
phone-list-view/target/phone-list-view-*.jar to 
/var/lib/ambari-server/resources/views
5.ambari-server restart
6.open the view and add/update/delete record.

Solution: add response header to method doPost() in PhoneListServlet.java

> Ambari View examples phone-list-upgrade-view/phone-list-view cannot display 
> normally
> 
>
> Key: AMBARI-20476
> URL: https://issues.apache.org/jira/browse/AMBARI-20476
> Project: Ambari
>  Issue Type: Bug
>  Components: ambari-views
>Affects Versions: trunk
>Reporter: Yao Lei
> Fix For: trunk
>
>
> Problem: 
> After adding/updating/deleting one record,the web page displays html codes 
> directly as shown in attached pictures.
> Steps to reproduce:
> 1.cd ambari-views/examples
> 2.cd phone-list-upgrade-view & mvn clean package
> 3.cd phone-list-view & mvn clean package
> 4.copy phone-list-upgrade-view/target/phone-list-upgrade-view-*.jar, 
> phone-list-view/target/phone-list-view-*.jar to 
> /var/lib/ambari-server/resources/views
> 5.ambari-server restart
> 6.open the view and add/update/delete record.
> Solution: add response header to method doPost() in PhoneListServlet.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)