[ https://issues.apache.org/jira/browse/AMBARI-23136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Duan updated AMBARI-23136: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) > Create an interface to read command.json properties via API instead of direct > access > ------------------------------------------------------------------------------------ > > Key: AMBARI-23136 > URL: https://issues.apache.org/jira/browse/AMBARI-23136 > Project: Ambari > Issue Type: Bug > Components: ambari-agent > Affects Versions: 3.0.0 > Reporter: Scott Duan > Assignee: Scott Duan > Priority: Major > Labels: pull-request-available > Fix For: 3.0.0 > > Time Spent: 3h 50m > Remaining Estimate: 0h > > *Use APIs to access the command.json file* > * ambari-common/src/main/python/resource_management/core/resources/klist.py > Fetch executable_search_path using library function instead of direct access. > * > ambari-common/src/main/python/resource_management/libraries/functions/get_architecture.py > * > ambari-common/src/main/python/resource_management/libraries/functions/get_config.py > Revisit logic to fetch config. Currently from params. > * > ambari-common/src/main/python/resource_management/libraries/functions/get_not_managed_resources.py > * > ambari-common/src/main/python/resource_management/libraries/functions/package_conditions.py -- This message was sent by Atlassian JIRA (v7.6.3#76005)