ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangxiaolu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-20675) Repetitive operation in hdfs.py
Date Thu, 06 Apr 2017 00:50:41 GMT

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

zhangxiaolu updated AMBARI-20675:
---------------------------------
    Resolution: Not A Bug
        Status: Resolved  (was: Patch Available)

> 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
>             Fix For: trunk
>
>         Attachments: AMBARI-20675.patch, screenshot-1.png
>
>
> 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)

Mime
View raw message