[
https://issues.apache.org/jira/browse/AMBARI-11817?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Barca updated AMBARI-11817:
-----------------------------------
Attachment: AMBARI-11817.0.patch
Fixed database column description in ViewInstanceEntity and UpgradeCatalog210
> [WinTP2] Adding a view fails on Windows
> ---------------------------------------
>
> Key: AMBARI-11817
> URL: https://issues.apache.org/jira/browse/AMBARI-11817
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.1.0
> Reporter: Florian Barca
> Assignee: Florian Barca
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-11817.0.patch
>
>
> Adding a view (ex: files view) is failing on Windows due to "Server Error".
> Attaching screenshot and ambari-server logs.
> Exception EclipseLink-4002 (Eclipse Persistence Services -
> 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException
> Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot
> insert the value NULL into column 'alter_names', table
> 'ambari.dbo.viewinstance'; column does not allow nulls. INSERT fails.
> Error Code: 515
> Call: INSERT INTO viewinstance (view_instance_id, alter_names,
> cluster_handle, DESCRIPTION, ICON, ICON64, LABEL, name, VISIBLE, xml_driven,
> view_name, resource_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
> bind => 12 parameters bound
> Query:
> InsertObjectQuery(org.apache.ambari.server.orm.entities.ViewInstancePropertyEntity@59f4e786)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)