Project

General

Profile

1
#!/bin/bash
2
rm -rf /home/eri.katsari/stats/*
3
mv /home/eri.katsari/oozie-package.tar.gz  /home/eri.katsari/stats/oozie-package.tar.gz
4
tar -xvf  /home/eri.katsari/stats/oozie-package.tar.gz -C /home/eri.katsari/stats/
5
#sudo su - dnet -s /bin/bash
6
#hadoop fs -rm -r /user/dnet/lib/stats/oozie_app/*
7
#hadoop fs -put /home/eri.katsari/stats/oozie_app/*  /user/dnet/lib/stats/oozie_app/
8
#hadoop fs -put /home/eri.katsari/stats/job.properties  /user/dnet/lib/stats/job.properties
(4-4/7)