You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2014/04/02 19:25:21 UTC

[jira] [Updated] (AMBARI-5323) Some changes to OSCheck

     [ https://issues.apache.org/jira/browse/AMBARI-5323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yusaku Sako updated AMBARI-5323:
--------------------------------

    Description: 
1. Let's throw exception not exit(1) when we have our os now detected this
makes all of tests badly finish in case or one error. 

2. Let's do all the methods static.

3. Let's do class in commons only utitily, and move "def main" to different
file which uses this one, and is put to agents.

4. Also did we removed old code os os_check_type.sh? If no we should do that.

5. Also on ubuntu it fails during build, because it doesn't add __init__.py to
deb package, let's add the whole folder common_functions to the package



  was:
1. Let's throw exception not exit(1) when we have our os now detected this
makes all of tests badly finish in case or one error. (like
[<del>BUG-15442</del>](https://hortonworks.jira.com/browse/BUG-15442))

2. Let's do all the methods static.

3. Let's do class in commons only utitily, and move "def main" to different
file which uses this one, and is put to agents.

4. Also did we removed old code os os_check_type.sh? If no we should do that.

5. Also on ubuntu it fails during build, because it doesn't add __init__.py to
deb package, let's add the whole folder common_functions to the package




> Some changes to OSCheck
> -----------------------
>
>                 Key: AMBARI-5323
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5323
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.6.0
>
>
> 1. Let's throw exception not exit(1) when we have our os now detected this
> makes all of tests badly finish in case or one error. 
> 2. Let's do all the methods static.
> 3. Let's do class in commons only utitily, and move "def main" to different
> file which uses this one, and is put to agents.
> 4. Also did we removed old code os os_check_type.sh? If no we should do that.
> 5. Also on ubuntu it fails during build, because it doesn't add __init__.py to
> deb package, let's add the whole folder common_functions to the package



--
This message was sent by Atlassian JIRA
(v6.2#6252)