Tuesday, December 6, 2016

Add a new Ambari Service

1. get java home
    from resource_management import Script
   
    config = Script.get_config()
    java_home = config['hostLevelParams']['java_home']

    # /usr/lib/jvm/java

2. default log directory
/var/lib/ambari-agent/data


No comments: