Apache Oozie failed loading ShareLib

后端 未结 2 500
南旧
南旧 2020-12-19 16:28

i got the following oozie.log :

org.apache.oozie.service.ServiceException: E0104: Could not fully initialize service [org.apache.oozie.service.ShareLibServic         


        
相关标签:
2条回答
  • 2020-12-19 16:50

    In my oozie-4.2.0, the default setting *hadoop-conf points to the subfolder in

    path/to/oozie/conf/hadoop-conf
    

    In my case, there is a file 'core-site.xml', which I think should be the config file. I add below properties in this file.

    <property>
        <name>fs.defaultFS</name>
        <value>hdfs://localhost:9000</value>
    </property>
    

    Restart oozie and the issue is resolved.

    0 讨论(0)
  • 2020-12-19 16:53

    I struggled to fix the same error for couple of days and I finally fix it.

    It was related to the sharelib service that was looking for sharelib folder on my local file system instead of my hdfs.

    So to fix it:

    stop oozie

    edit conf/oozie-site.xml

    <property>        
          <name>oozie.service.HadoopAccessorService.hadoop.configurations</name> 
          <value>*=/usr/local/hadoop/etc/hadoop/</value>
    </property>
    

    restart oozie.

    And Voila!

    The value of the property was set to *=hadoop-conf by default. I still don't know yet what hadoop-conf should point to but in my case it wasn't the configuration folder hadoop so I changed it for *=/usr/local/hadoop/etc/hadoop/.

    0 讨论(0)
提交回复
热议问题