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:47:41 UTC

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

zhangxiaolu created AMBARI-20675:
------------------------------------

             Summary: 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


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)