[
https://issues.apache.org/jira/browse/AMBARI-18355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15556052#comment-15556052
]
Jonathan Hurley commented on AMBARI-18355:
------------------------------------------
-1
Reverted since this is failing tests and failing the build:
{code}
agentRegistration(org.apache.ambari.server.agent.AgentResourceTest) Time
elapsed: 3.596 sec <<< ERROR!
com.sun.jersey.api.client.ClientHandlerException:
org.codehaus.jackson.map.JsonMappingException: Default constructor for
org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentRegistration(AgentResourceTest.java:165)
Caused by: org.codehaus.jackson.map.JsonMappingException: Default constructor
for org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentRegistration(AgentResourceTest.java:165)
Caused by: java.lang.IllegalArgumentException: Default constructor for
org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentRegistration(AgentResourceTest.java:165)
agentHeartBeat(org.apache.ambari.server.agent.AgentResourceTest) Time elapsed:
0.59 sec <<< ERROR!
com.sun.jersey.api.client.ClientHandlerException:
org.codehaus.jackson.map.JsonMappingException: Default constructor for
org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentHeartBeat(AgentResourceTest.java:178)
Caused by: org.codehaus.jackson.map.JsonMappingException: Default constructor
for org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentHeartBeat(AgentResourceTest.java:178)
Caused by: java.lang.IllegalArgumentException: Default constructor for
org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentHeartBeat(AgentResourceTest.java:178)
agentHeartBeatWithEnv(org.apache.ambari.server.agent.AgentResourceTest) Time
elapsed: 0.481 sec <<< ERROR!
com.sun.jersey.api.client.ClientHandlerException:
org.codehaus.jackson.map.JsonMappingException: Default constructor for
org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentHeartBeatWithEnv(AgentResourceTest.java:192)
Caused by: org.codehaus.jackson.map.JsonMappingException: Default constructor
for org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentHeartBeatWithEnv(AgentResourceTest.java:192)
Caused by: java.lang.IllegalArgumentException: Default constructor for
org.apache.ambari.server.state.DependencyConditionAdapter is not accessible
(non-public?): not allowed to try modify access via Reflection: can not
instantiate type
at
org.apache.ambari.server.agent.AgentResourceTest.agentHeartBeatWithEnv(AgentResourceTest.java:192)
{code}
> Introduce conditional dependencies in stack defition to handle blueprint
> validation gracefully
> ----------------------------------------------------------------------------------------------
>
> Key: AMBARI-18355
> URL: https://issues.apache.org/jira/browse/AMBARI-18355
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: trunk
> Reporter: Amruta Borkar
> Assignee: Amruta Borkar
> Fix For: trunk
>
> Attachments: AMBARI-18355.patch, AMBARI-18355_v1.patch,
> AMBARI-18355_v2.patch, AMBARI-18355_v3.patch, AMBARI-18355_v4.patch,
> AMBARI-18355_v5.patch, Adding Conditional Dependencies.pdf
>
>
> Currently stack definitions do not list conditional dependencies, adding
> those to the stack definitions would make it easy to validate errors in case
> of blueprint deployment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)