----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62259/ -----------------------------------------------------------
Review request for Ambari, Attila Doroszlai, Jonathan Hurley, and Myroslav Papirkovskyy. Bugs: AMBARI-21942 https://issues.apache.org/jira/browse/AMBARI-21942 Repository: ambari Description ------- Basically the problem here happens when Ambari is attempting to insert into the following upgrade_itme:item_text table:column, INSERT INTO upgrade_item (upgrade_item_id, hosts, item_text, stage_id, state, tasks, upgrade_group_id) VALUES (?, ?, ?, ?, ?, ?, ?) The message string for SOLR includes all the SOLR node hostnames whose combined string length exceeds the column length defined for "item_text" of 1024 characters. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/orm/DBAccessorImpl.java 9564934 ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeItemEntity.java 35ea769 ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog260.java 9e145c0 ambari-server/src/main/resources/Ambari-DDL-Derby-CREATE.sql b9c6985 ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql c53cd7b ambari-server/src/main/resources/Ambari-DDL-Oracle-CREATE.sql 6f754bb ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql 19c0214 ambari-server/src/main/resources/Ambari-DDL-SQLAnywhere-CREATE.sql 8567d09 ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql fdbad09 Diff: https://reviews.apache.org/r/62259/diff/1/ Testing ------- Manually verified the upgrade resulted in expansion on PostgreSQL. Thanks, Sid Wagle