You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Artem Baranchuk <ab...@hortonworks.com> on 2015/04/06 13:32:26 UTC

Review Request 32876: [WinTP2] sql exception during cluster deploy

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32876/
-----------------------------------------------------------

Review request for Ambari, Eugene Chekanskiy, Florian Barca, and Jayush Luniya.


Bugs: AMBARI-10362
    https://issues.apache.org/jira/browse/AMBARI-10362


Repository: ambari


Description
-------

Next exception occurs during cluster deploy

Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'host_id'. Error Code: 207 Call: SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?) bind => [1 parameter bound] Query: ReadAllQuery(name="hostComponentDesiredStateEntities" referenceClass=HostComponentDesiredStateEntity sql="SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?)")


Diffs
-----

  ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 01c6a0c 
  ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql 273a477 

Diff: https://reviews.apache.org/r/32876/diff/


Testing
-------

Tested manualy
Create\Drop sql scripts execution success
Deploy cluster process started success


Thanks,

Artem Baranchuk


Re: Review Request 32876: [WinTP2] sql exception during cluster deploy

Posted by Florian Barca <fb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32876/#review78919
-----------------------------------------------------------

Ship it!


Ship It!

- Florian Barca


On April 6, 2015, 11:32 a.m., Artem Baranchuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32876/
> -----------------------------------------------------------
> 
> (Updated April 6, 2015, 11:32 a.m.)
> 
> 
> Review request for Ambari, Eugene Chekanskiy, Florian Barca, and Jayush Luniya.
> 
> 
> Bugs: AMBARI-10362
>     https://issues.apache.org/jira/browse/AMBARI-10362
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Next exception occurs during cluster deploy
> 
> Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'host_id'. Error Code: 207 Call: SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?) bind => [1 parameter bound] Query: ReadAllQuery(name="hostComponentDesiredStateEntities" referenceClass=HostComponentDesiredStateEntity sql="SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?)")
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 01c6a0c 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql 273a477 
> 
> Diff: https://reviews.apache.org/r/32876/diff/
> 
> 
> Testing
> -------
> 
> Tested manualy
> Create\Drop sql scripts execution success
> Deploy cluster process started success
> 
> 
> Thanks,
> 
> Artem Baranchuk
> 
>


Re: Review Request 32876: [WinTP2] sql exception during cluster deploy

Posted by Alejandro Fernandez <af...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32876/#review78938
-----------------------------------------------------------

Ship it!


Ship It!

- Alejandro Fernandez


On April 6, 2015, 11:32 a.m., Artem Baranchuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32876/
> -----------------------------------------------------------
> 
> (Updated April 6, 2015, 11:32 a.m.)
> 
> 
> Review request for Ambari, Eugene Chekanskiy, Florian Barca, and Jayush Luniya.
> 
> 
> Bugs: AMBARI-10362
>     https://issues.apache.org/jira/browse/AMBARI-10362
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Next exception occurs during cluster deploy
> 
> Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'host_id'. Error Code: 207 Call: SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?) bind => [1 parameter bound] Query: ReadAllQuery(name="hostComponentDesiredStateEntities" referenceClass=HostComponentDesiredStateEntity sql="SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?)")
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 01c6a0c 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql 273a477 
> 
> Diff: https://reviews.apache.org/r/32876/diff/
> 
> 
> Testing
> -------
> 
> Tested manualy
> Create\Drop sql scripts execution success
> Deploy cluster process started success
> 
> 
> Thanks,
> 
> Artem Baranchuk
> 
>


Re: Review Request 32876: [WinTP2] sql exception during cluster deploy

Posted by Eugene Chekanskiy <ec...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/32876/#review78914
-----------------------------------------------------------

Ship it!


Ship It!

- Eugene Chekanskiy


On April 6, 2015, 11:32 a.m., Artem Baranchuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/32876/
> -----------------------------------------------------------
> 
> (Updated April 6, 2015, 11:32 a.m.)
> 
> 
> Review request for Ambari, Eugene Chekanskiy, Florian Barca, and Jayush Luniya.
> 
> 
> Bugs: AMBARI-10362
>     https://issues.apache.org/jira/browse/AMBARI-10362
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Next exception occurs during cluster deploy
> 
> Internal Exception: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'host_id'. Error Code: 207 Call: SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?) bind => [1 parameter bound] Query: ReadAllQuery(name="hostComponentDesiredStateEntities" referenceClass=HostComponentDesiredStateEntity sql="SELECT admin_state, cluster_id, component_name, desired_stack_version, desired_state, host_id, maintenance_state, restart_required, security_state, service_name FROM hostcomponentdesiredstate WHERE (host_id = ?)")
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-CREATE.sql 01c6a0c 
>   ambari-server/src/main/resources/Ambari-DDL-SQLServer-DROP.sql 273a477 
> 
> Diff: https://reviews.apache.org/r/32876/diff/
> 
> 
> Testing
> -------
> 
> Tested manualy
> Create\Drop sql scripts execution success
> Deploy cluster process started success
> 
> 
> Thanks,
> 
> Artem Baranchuk
> 
>