[
https://issues.apache.org/jira/browse/AMBARI-18798?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15635928#comment-15635928
]
Hadoop QA commented on AMBARI-18798:
------------------------------------
{color:green}+1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12837089/AMBARI-18798.patch
against trunk revision .
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 2 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler warnings.
{color:green}+1 release audit{color}. The applied patch does not increase
the total number of release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
ambari-web.
Test results:
https://builds.apache.org/job/Ambari-trunk-test-patch/9135//testReport/
Console output:
https://builds.apache.org/job/Ambari-trunk-test-patch/9135//console
This message is automatically generated.
> Long rack_id value causes sql-error
> -----------------------------------
>
> Key: AMBARI-18798
> URL: https://issues.apache.org/jira/browse/AMBARI-18798
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 3.0.0
> Reporter: Oleg Nechiporenko
> Assignee: Oleg Nechiporenko
> Fix For: 3.0.0
>
> Attachments: AMBARI-18798.patch
>
>
> * {{rack_id}} value longer than 255 symbols causes sql-error
> {noformat}
> Call: UPDATE hosts SET rack_info = ? WHERE (host_id = ?)
> bind => [2 parameters bound]
> 03 Nov 2016 15:08:25,680 WARN [ambari-client-thread-521] ServletHandler:561
> - Error Processing URI: /api/v1/clusters/c1/hosts -
> (javax.persistence.RollbackException) Exception [EclipseLink-4002] (Eclipse
> Persistence Services - 2.6.2.v20151217-774c696):
> org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: org.postgresql.util.PSQLException: ERROR: value too long
> for type character varying(255)
> {noformat}
> * UI doesn't check {{rack_id}} length
> * Big {{rack_id}} value looks weird on the host summary page
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)