You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "zhangxiaolu (JIRA)" <ji...@apache.org> on 2017/04/05 05:49:41 UTC

[jira] [Updated] (AMBARI-20675) Repetitive operation in hdfs.py

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

zhangxiaolu updated AMBARI-20675:
---------------------------------
    Attachment: AMBARI-20675.patch

> Repetitive operation in hdfs.py
> -------------------------------
>
>                 Key: AMBARI-20675
>                 URL: https://issues.apache.org/jira/browse/AMBARI-20675
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk
>            Reporter: zhangxiaolu
>            Assignee: zhangxiaolu
>         Attachments: AMBARI-20675.patch
>
>
> the method of install_snappy in hdfs.py is as follows:
> def install_snappy():
>   import params
>   Directory([params.so_target_dir_x86, params.so_target_dir_x64],
>             create_parents = True,
>   )    
>   Link(params.so_target_x86,
>        to=params.so_src_x86,
>   )
>   Link(params.so_target_x64,
>        to=params.so_src_x64,
>   )
>  is repetitived.
> so it's better remove one



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)