You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Mahadev konar (JIRA)" <ji...@apache.org> on 2013/02/07 09:05:13 UTC
[jira] [Commented] (AMBARI-1357) Smoke Tests failing on secure
cluster
[ https://issues.apache.org/jira/browse/AMBARI-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13573295#comment-13573295 ]
Mahadev konar commented on AMBARI-1357:
---------------------------------------
Sid,
Am not sure about the changes in AmbariManagementController:
{code}
-
- stage.getExecutionCommandWrapper(hostName,
- actionRequest.getActionName()).getExecutionCommand()
- .setConfigurations(configurations);
-
+
+ ExecutionCommand execCmd = stage.getExecutionCommandWrapper(hostName,
+ actionRequest.getActionName()).getExecutionCommand();
+
+ execCmd.setConfigurations(configurations);
+
+ Map<String, String> params = new TreeMap<String, String>();
+ params.put("jdk_location", this.jdkResourceUrl);
+ execCmd.setHostLevelParams(params);
+
// Generate cluster host info
- stage
- .getExecutionCommandWrapper(hostName, actionRequest.getActionName())
- .getExecutionCommand()
- .setClusterHostInfo(
- StageUtils.getClusterHostInfo(clusters.getCluster(clusterName), hostsMap));
+ execCmd.setClusterHostInfo(
+ StageUtils.getClusterHostInfo(clusters.getCluster(clusterName), hostsMap));
}
{code}
What are we trying to do here?
> Smoke Tests failing on secure cluster
> -------------------------------------
>
> Key: AMBARI-1357
> URL: https://issues.apache.org/jira/browse/AMBARI-1357
> Project: Ambari
> Issue Type: Bug
> Components: agent, controller
> Affects Versions: 1.2.1
> Reporter: Siddharth Wagle
> Assignee: Siddharth Wagle
> Fix For: 1.3.0
>
> Attachments: AMBARI-1357.patch
>
>
> Pre-condition: Manually installed security on a Ambari deployed cluster.
> All services are up and running securely.
> The puppet scripts try to download jce policy every time and fail on the curl command due to Oracle license check.
> curl -f --retry 10 http://download.oracle.com/otn-pub/java/jce_policy/6/jce_policy-6.zip -o /tmp/HDP-artifacts/jce_policy-6.zip
> Solution is to move the jce policy install to the jdk install in the Ambari server setup
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira