Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76DCD10352 for ; Fri, 31 Jan 2014 11:52:13 +0000 (UTC) Received: (qmail 19184 invoked by uid 500); 31 Jan 2014 11:52:13 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 19005 invoked by uid 500); 31 Jan 2014 11:52:11 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 18836 invoked by uid 99); 31 Jan 2014 11:52:09 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Jan 2014 11:52:09 +0000 Date: Fri, 31 Jan 2014 11:52:09 +0000 (UTC) From: "Dmitry Lysnichenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-4481) Add to the agent ability to download service scripts and hooks MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-4481?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:all-tabpanel ] Dmitry Lysnichenko updated AMBARI-4481: --------------------------------------- Component/s: agent > Add to the agent ability to download service scripts and hooks > -------------------------------------------------------------- > > Key: AMBARI-4481 > URL: https://issues.apache.org/jira/browse/AMBARI-4481 > Project: Ambari > Issue Type: Task > Components: agent, controller > Affects Versions: 1.5.0 > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Fix For: 1.5.0 > > > Ambari server shares some files at /var/lib/ambari-server/resources/ via = HTTP. These files are accessible via url like http://hostname:8080/resource= s/jdk-6u31-linux-x64.bin . Among these files there are service scripts, tem= plates and hooks. Agent has a cache of these files. Cache directory structu= re is similar to contents of a stacks folder at server. For example: > $ ls /var/lib/ambari-agent/cache > {code} > =E2=94=94=E2=94=80=E2=94=80 stacks > =E2=94=94=E2=94=80=E2=94=80 HDP > =E2=94=9C=E2=94=80=E2=94=80 2.0.7 > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 Accumulo > =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 Flume > =E2=94=94=E2=94=80=E2=94=80 2.0.8 > =E2=94=9C=E2=94=80=E2=94=80 Accumulo > =E2=94=9C=E2=94=80=E2=94=80 Flume > =E2=94=94=E2=94=80=E2=94=80 YetAnotherService > {code} > If files for some service, component and stack version is not available a= t cache, agent downloads appropriate files on first use. -- This message was sent by Atlassian JIRA (v6.1.5#6160)