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

Hudson commented on AMBARI-11817:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #2877 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2877/])
AMBARI-11817 [WinTP2] Adding a view fails on Windows (fbarca: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=1f371a592d8ea478c1a0c5852f810c8c7277c93e)
* ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql
* 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java


> [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, AMBARI-11817.1.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)

Reply via email to