~bigdata-dev/charms/trusty/hdp-accumulo/trunk

« back to all changes in this revision

Viewing changes to hooks/common.py

  • Committer: amir sanjar
  • Date: 2014-10-20 18:05:51 UTC
  • Revision ID: amir.sanjar@canonical.com-20141020180551-gim57h2jfzs5i16d
adding demo script

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
accumulo_tracers_file = os.path.join(os.path.sep, accumulo_conf_dir, "tracers" )
14
14
accumulo_monitor_file = os.path.join(os.path.sep, accumulo_conf_dir, "monitor" )
15
15
bash_rc = os.path.join(os.path.sep, "home","ubuntu", ".bashrc")
 
16
demo_script = os.path.join(os.path.sep, os.environ['CHARM_DIR'], os.path.sep, os.environ['CHARM_DIR'],
 
17
                           'files', 'scripts',"demo.sh")
16
18
 
17
19
def sortIP(filepath):
18
20
    with open(filepath, "rb+") as f1: