Hi, I hope I'm writing to the correct mailing list. please direct me elsewhere if this is not the correct place to write to.
I've written a simple custom slider application and the STOP script fails due to what seems like a slider issue of not setting the PYTHONPATH when running the stop command. I will probably debug to see what goes on in CustomServiceOrchestrator and why it doesn't set the env variables there but I'll only do it in a couple of weeks. I wanted to ask if anyone noticed something like this before I look into it further. in the agent log it looks like this: INFO 2016-11-30 18:07:03,894 ActionQueue.py:173 - Running command: {u'roleCommand': u'STOP', u'clusterName': u'enable-presto-worker_cluster_a', u'componentName': u'NODE', u'hostname': u'fsak20.prod.foursquare.com', u'hostLevelParams': {u'java_home': u'/data/loko/infrastructure-jdk8/current/bin/', u'container_id': u'container_e468_1479830316320_64974_01_000091'}, u'commandType': u'EXECUTION_COMMAND', u'roleParams': {u'auto_restart': u'false'}, u'serviceName': u'enable-presto-worker_cluster_a', u'role': u'NODE', u'commandParams': {u'record_config': u'true', u'service_package_folder': u'${AGENT_WORK_ROOT}/work/app/definition/package', u'script': u'scripts/enable_presto_worker_component.py', u'schema_version': u'2.0', u'command_timeout': u'600', u'script_type': u'PYTHON'}, u'taskId': 5, u'yarnDockerMode': False, u'commandId': '5-1', u'containers': [], u'configurations': {u'global': {u'security_enabled': u'false', u'app_container_id': u'container_e468_1479830316320_64974_01_000091', u'data_dir': u'/data/appdata/enable_presto_worker/data', u'app_name': u'enable_presto_worker.py', u'app_root': u'${AGENT_WORK_ROOT}/app/install', u'app_log_dir': u'${AGENT_LOG_ROOT}', u'app_pid_dir': u'${AGENT_WORK_ROOT}/app/run', u'app_container_tag': u'2', u'pid_file': u'${AGENT_WORK_ROOT}/app/run/component.pid', u'app_install_dir': u'${AGENT_WORK_ROOT}/app/install', u'app_input_conf_dir': u'${AGENT_WORK_ROOT}/propagatedconf', u'state_monitor_port': u'9990'}}} INFO 2016-11-30 18:07:03,896 CustomServiceOrchestrator.py:329 - Storing applied config: {u'global': {u'app_container_id': u'container_e468_1479830316320_64974_01_000091', u'app_container_tag': u'2', u'app_input_conf_dir': u'/export/hdj3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091/propagatedconf', u'app_install_dir': u'/export/hdj3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091/app/install', u'app_log_dir': u'/data/log/hadoop-yarn/container/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091', u'app_name': u'enable_presto_worker.py', u'app_pid_dir': u'/export/hdj3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091/app/run', u'app_root': u'/export/hdj3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091/app/install', u'data_dir': u'/data/appdata/enable_presto_worker/data', u'pid_file': u'/export/hdj3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091/app/run/component.pid', u'security_enabled': u'false', u'state_monitor_port': u'9990'}} INFO 2016-11-30 18:07:03,898 PythonExecutor.py:152 - command str: /usr/bin/python -S /export/hdk3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/filecache/11/enable_presto_worker.zip/package/scripts/enable_presto_worker_component.py STOP /export/hda3/data/log/hadoop-yarn/container/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091/command-5.json /export/hdk3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/filecache/11/enable_presto_worker.zip/package /export/hda3/data/log/hadoop-yarn/container/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091/structured-out-5.json INFO /export/hdj3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/container_e468_1479830316320_64974_01_000091 INFO 2016-11-30 18:07:03,919 PythonExecutor.py:97 - stop command output: err: Traceback (most recent call last): File "/export/hdk3/yarn/nm/usercache/hive/appcache/application_1479830316320_64974/filecache/11/enable_presto_worker.zip/package/scripts/enable_presto_worker_component.py", line 23, in <module> from resource_management import *