Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다.
문의사항은 gooper@gooper.com로 메일을
보내주세요.
Cloudera Hue에서 Oozie을 coordinator및 workflow등을 생성할 수 있는데.. hue사용자별 생성된 coordinator및 workflow를 확인하는 방법은 hue에서 사용하는 table의 정보를 이용하는 방법이 있다.
삭제된것과 history로 유지되는것을 제외한 나머지 workflow혹은 coordinator를 아래와 같이 추출할 수 있다.
여기서
a.id : workflow 혹은 coordinator의 id
a.owner_id : workflow 혹은 coordinator의 소유자 hue id
b.username : hue id의 이름
a.name : workflow 혹은 coordinator의 이름(명칭)
a.description : workflow 혹은 coordinator의 설명
---coordinator현황---
select a.id, a.owner_id, b.username, a.name, a.description from hue.desktop_document2 a inner join auth_user b on a.owner_id=b.id
where a.is_history=0 and a.is_trashed=0 and a.type='oozie-coordinator2';
---workflow현황---
select a.id, a.owner_id, b.username, a.name, a.description from hue.desktop_document2 a inner join auth_user b on a.owner_id=b.id
where a.is_history=0 and a.is_trashed=0 and a.type='oozie-workflow2';
댓글 0
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
8 | oozie job 구동시 JA009: User: hadoop is not allowed to impersonate hadoop 오류나는 경우 | 총관리자 | 2014.06.02 | 807 |
7 | oozie 4.1 설치 - maven을 이용한 source compile on hadoop 2.5.2 with postgresql 9.3 | 총관리자 | 2015.04.30 | 862 |
6 | 특정파일이 생성되어야 action이 실행되는 oozie job만들기(coordinator.xml) | 총관리자 | 2014.05.20 | 984 |
5 | oozie에서 share lib설정시 action type별로 구분하여 넣을것 | 총관리자 | 2014.04.18 | 1195 |
4 | zookeeper 3.4.6 설치(3대) | 총관리자 | 2015.04.28 | 1210 |
3 | Oozie 설치, 환경설정 및 테스트 | 총관리자 | 2014.04.08 | 1293 |
2 | oozie의 meta정보를 mysql에서 관리하기 | 총관리자 | 2014.05.26 | 1466 |
1 | Last transaction was partial에 따른 Unable to load database on disk오류 발생시 조치사항 | 총관리자 | 2018.08.03 | 3976 |