incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devaraj Das (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-119) Add database to map cluster-role to current working directory
Date Mon, 31 Oct 2011 21:23:32 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13140569#comment-13140569
] 

Devaraj Das commented on AMBARI-119:
------------------------------------

BTW I just committed a change where the controller sets the workDir component in the Actions.
I added a field workDirComponent to the Action class.
Before running any action, the working directory should be set to <ambari-prefix>/workDirComponent.
The install/createDirStructure should also use this as the destination directory.
                
> Add database to map cluster-role to current working directory
> -------------------------------------------------------------
>
>                 Key: AMBARI-119
>                 URL: https://issues.apache.org/jira/browse/AMBARI-119
>             Project: Ambari
>          Issue Type: New Feature
>          Components: agent
>    Affects Versions: 0.1.0
>         Environment: Python
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.1.0
>
>
> Proposed directory structure layout:
> {noformat}
> $prefix/$cluster-$role/stacks
>                       /config
>                       /logs/
>                       /data/disk-*/
>                       /pkgs/hadoop-*.tar.gz
>                       /config/hadoop/core-site.xml
> {noformat}
> One optimization that Owen proposed is to make the directory structure shorter for client.
> {noformat}
> $prefix/$cwd/stacks
>             /config
>             /logs
>             /data/disk-*/
>             /pkgs/hadoop-*.tar.gz
>             /config/hadoop/core-site.xml
> {noformat}
> Action send by controller will contain "current working directory", which agent will
record the cluster and role mapping to current working directory.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message