ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hurley (JIRA)" <>
Subject [jira] [Reopened] (AMBARI-18888) Ambari-agent: Create configuration files with JCEKS information
Date Fri, 02 Dec 2016 15:50:59 GMT


Jonathan Hurley reopened AMBARI-18888:

Reverting this from trunk/branch-2.5 because it's causing agent heartbeats to fail on commands
executed before a cluster is created:

02 Dec 2016 15:30:55,079  WARN [qtp-ambari-agent-42] AgentResource:136 - Error in HeartBeat
org.apache.ambari.server.ClusterNotFoundException: Cluster not found, clusterName=null
        at org.apache.ambari.server.state.cluster.ClustersImpl.getCluster(
        at org.apache.ambari.server.agent.HeartBeatHandler.sendCommands(
        at org.apache.ambari.server.agent.HeartBeatHandler.handleHeartBeat(
        at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
        at java.lang.reflect.Method.invoke(
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(

> Ambari-agent: Create configuration files with JCEKS information
> ---------------------------------------------------------------
>                 Key: AMBARI-18888
>                 URL:
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-agent
>            Reporter: Nahappan Somasundaram
>            Assignee: Nahappan Somasundaram
>         Attachments: rb53747.patch
> When a non-status command is received, a command.json file is generated. This file contains
the passwords used in a configuration. When the command is then executed, ambari agent spawns
off a subprocess to execute component-specific Python scripts to generate the configuration
files using the data from the command.json file.
> To avoid storing clear text passwords in command.json file and configuration files, ambari-agent
will first generate the JCEKS files corresponding to the configuration information in the
command JSON blob coming from the server and then generate the command.json with the path
to the JCEKS store instead of clear text passwords for *password* properties.
> Subsequently when executing a command, ambari-agent will generate the configuration files
with the JCEKS path information from command.json.

This message was sent by Atlassian JIRA

View raw message