메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 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';

번호 제목 날짜 조회 수
441 Ubuntu 16.04 LTS에 Hive 2.1.1설치하면서 "Version information not found in metastore"발생하는 오류원인및 조치사항 2017.05.03 567
440 bash는 PS1 변수를 통해 프롬프트의 모양을 바꿀 수 있다. 2016.03.30 565
439 [TLS]TLS용 사설 인증서 변경 혹은 신규 지정시 No trusted certificate found 오류 발생시 확인및 조치사항 2022.03.15 563
438 [2.7.2] distribute-exclude.sh사용할때 ssh 포트변경에 따른 오류발생시 조치사항 2018.01.02 561
437 spark에서 hive table을 읽어 출력하는 예제 소스 2017.03.09 561
436 [CDP7.1.7][Replication]Table does not match version in getMetastore(). Table view original text mismatch 2024.01.02 559
435 scan의 startrow, stoprow지정하는 방법 2015.04.08 559
434 small file 한개 파일로 만들기(text file 혹은 parquet file의 테이블) 2022.07.04 558
» 클러스터내의 전체 workflow및 coordinator현황을 사용자별로 추출하는 방법 2021.11.25 558
432 Namenode Metadata백업하는 방법 2020.02.10 557
431 Cloudera Hadoop and Spark Developer Certification 준비(참고) 2018.05.16 556
430 Kudu tablet이 FAILED일때 원인 확인 방법 2022.01.17 555
429 원보드 컴퓨터 비교표 file 2014.08.04 555
428 queryTranslator실행시 NullPointerException가 발생전에 java.lang.ArrayIndexOutOfBoundsException발생시 조치사항 2016.06.16 554
427 TransmitData() to failed: Network error: Recv() got EOF from remote (error 108) 오류 현상 2019.02.15 553
426 DataSetCreator실행시 "Illegal character in fragment at index"오류가 나는 경우 조치방안 2016.06.17 553
425 root계정으로 MariaDB설치후 mysql -u root -p로 db에 접근하여 바로 해줘야 하는일..(케릭터셑은 utf8) 2015.10.02 552
424 원격의 origin/master를 기준으로 dev branch를 만들어 작업후 원격의 origin/dev에 push하는 방법 file 2016.11.22 550
423 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable원인 2015.04.27 545
422 servlet-api를 jar형태로 build할때 포함하지 말고 java 설치 위치의 jre/lib/ext에 복사하여 사용하는것이 좋다. 2016.08.10 538
위로