본문 바로가기
빅데이터/oozie

[oozie] 우지 쉐어라이브러리(sharelib) 설정 및 갱신

by hs_seo 2017. 9. 1.

우지 쉐어라이브러리는 oozie-site.xml 파일에 위치를 설정한다. 

다음의 설정을 이용하여 위치를 설정하면 된다. 


    <property>

        <name>oozie.service.WorkflowAppService.system.libpath</name>

        <value>hdfs://location/share/lib</value>

        <description>

            System library path to use for workflow applications.

            This path is added to workflow application if their job properties sets

            the property 'oozie.use.system.libpath' to true.

        </description>

    </property>



우지가 실행중에 우지 쉐어 라이브러리를 추가하면 갱신이 안될 수 가 있다. 

이럴때는 다음의 명령을 이용하여 갱신하면 된다. 


<목록 확인>

oozie admin -shareliblist


<라이브러리 업데이트>

oozie admin  -sharelibupdate



반응형