Gour Saha created SLIDER-1150:
---------------------------------
Summary: Slider app fails to start on AmazonLinux
Key: SLIDER-1150
URL: https://issues.apache.org/jira/browse/SLIDER-1150
Project: Slider
Issue Type: Bug
Components: agent
Affects Versions: Slider 0.91
Reporter: Gour Saha
Following is the exception seen in the agent logs -
{code}
from resource_management.libraries.functions.os_check import OSCheck
File
"/hadoopfs/fs1/yarn/nodemanager/usercache/hive/appcache/application_1467165077294_0004/container_1467165077294_0004_01_000005/infra/agent/slider-agent/resource_management/libraries/functions/os_check.py",
line 314, in <module>
OS_VERSION = OSCheck().get_os_major_version()
File
"/hadoopfs/fs1/yarn/nodemanager/usercache/hive/appcache/application_1467165077294_0004/container_1467165077294_0004_01_000005/infra/agent/slider-agent/resource_management/libraries/functions/os_check.py",
line 210, in get_os_major_version
return OSCheck.get_os_version().split('.')[0]
File
"/hadoopfs/fs1/yarn/nodemanager/usercache/hive/appcache/application_1467165077294_0004/container_1467165077294_0004_01_000005/infra/agent/slider-agent/resource_management/libraries/functions/os_check.py",
line 201, in get_os_version
raise Exception("Cannot detect os version from " + repr(OSCheck._dist) + "
Exiting...")
Exception: Cannot detect os version from ('Linux', 'posix', '', '', '')
Exiting...
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)