----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46095/#review128403 -----------------------------------------------------------
Ship it! Ship It! - Myroslav Papirkovskyy On Квітень 12, 2016, 5:11 після полудня, Andrew Onischuk wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46095/ > ----------------------------------------------------------- > > (Updated Квітень 12, 2016, 5:11 після полудня) > > > Review request for Ambari, Dmytro Sen and Vitalyi Brodetskyi. > > > Bugs: AMBARI-15836 > https://issues.apache.org/jira/browse/AMBARI-15836 > > > Repository: ambari > > > Description > ------- > > This is caused by platform python module not able to get processor > architecture. > > > > >>> import platform > >>> platform.processor() > '' > > > We should use a more reliable way to do that. > That is by using lsof. > > > > root@os-d7-cpnlrs-devdeploy-1:~# lscpu | grep "Architecture:" | awk '{ > print $2 }' > x86_64 > > > Diffs > ----- > > ambari-agent/src/main/python/ambari_agent/Facter.py bad9b96 > > Diff: https://reviews.apache.org/r/46095/diff/ > > > Testing > ------- > > mvn clean test > > > Thanks, > > Andrew Onischuk > >