You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jayush Luniya (JIRA)" <ji...@apache.org> on 2014/12/12 03:36:13 UTC

[jira] [Created] (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 created AMBARI-8676:
-------------------------------------

             Summary: 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: Task
          Components: ambari-agent, ambari-server
    Affects Versions: 2.0.0
         Environment: All
            Reporter: Jayush Luniya
            Assignee: Jayush Luniya
             Fix For: 2.0.0


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)