ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-8676) Common Services: Service package dir is set to path relative to stackRoot and hence wouldn't work when service package dir is in common-services
Date Wed, 17 Dec 2014 20:33:13 GMT

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

Hudson commented on AMBARI-8676:
--------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit-docker #514 (See [https://builds.apache.org/job/Ambari-trunk-Commit-docker/514/])
AMBARI-8676: Common Services: Service package dir is set to path relative to stackRoot and
hence wouldn't work when service package dir is in common-services (Jayush Luniya) (jluniya:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=d03662aedc5bb1ade5897cdc84f6cd340f13898d)
* ambari-server/src/main/java/org/apache/ambari/server/stack/StackServiceDirectory.java
* ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerCommonServicesTest.java
* ambari-server/src/test/java/org/apache/ambari/server/stack/StackManagerTest.java
* ambari-server/src/test/resources/common-services/HDFS/1.0/package/dummy-script.py
* ambari-server/src/main/java/org/apache/ambari/server/stack/StackManager.java
* ambari-agent/src/main/python/ambari_agent/FileCache.py
* ambari-agent/src/test/python/ambari_agent/TestFileCache.py
* ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java
* ambari-server/src/main/java/org/apache/ambari/server/stack/CommonServiceDirectory.java
* ambari-server/src/main/java/org/apache/ambari/server/stack/StackDirectory.java
* ambari-server/src/test/resources/stacks_with_common_services/HDP/0.2/services/HDFS/package/dummy-script.py
* ambari-server/src/main/java/org/apache/ambari/server/stack/ServiceDirectory.java


> Common Services: Service package dir is set to path relative to stackRoot and hence wouldn't
work when service package dir is in common-services
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-8676
>                 URL: https://issues.apache.org/jira/browse/AMBARI-8676
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-agent, ambari-server
>    Affects Versions: 2.0.0
>         Environment: All
>            Reporter: Jayush Luniya
>            Assignee: Jayush Luniya
>             Fix For: 2.0.0
>
>         Attachments: AMBARI-8676.3.patch, AMBARI-8676.patch
>
>   Original Estimate: 48h
>  Remaining Estimate: 48h
>
> In ServiceDirectory, packageDir is set to a path relative to stackRoot 
> Example: 
>   directory: "/var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/HDFS"
>   packageDir: "HDP/2.0.6/services/HDFS/package"
> This will not work if the package directory is in common-services. Also parsing the service
directory in common-services needs to be modified as the directory structure is different
from a stack service.
> Example: 
>   directory: "/var/lib/ambari-server/resources/common-services/HDFS/1.0"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message