@tsing1226
        
        2015-12-25T08:43:38.000000Z
        字数 1803
        阅读 5938
    hue
###########################################################################
# Settings to configure liboozie
###########################################################################
[liboozie]
  # The URL where the Oozie service runs on. This is required in order for
  # users to submit jobs. Empty value disables the config check.
  oozie_url=http://hadoop-senior01.grc.com:11000/oozie/
  # Requires FQDN in oozie_url if enabled
 #security_enabled=true
  # Location on HDFS where the workflows/coordinator are deployed when submitted.
  remote_deployement_dir=/user/grc/oozie-apps
###########################################################################
# Settings to configure the Oozie app
###########################################################################
[oozie]
  # Location on local FS where the examples are stored.
  local_data_dir=/opt/cdh3.5.6/oozie-4.0.0-cdh5.3.6/examples
  # Location on local FS where the data for the examples is stored.
  sample_data_dir=/opt/cdh3.5.6/oozie-4.0.0-cdh5.3.6/examples
  # Location on HDFS where the oozie examples and workflows are stored.
 remote_data_dir=/user/grc/oozie-apps
  # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  ## oozie_jobs_count=100
  # Use Cron format for defining the frequency of a Coordinator instead of the old frequency number/unit.
  enable_cron_scheduling=true
因为hue需要oozie放在/user/oozie/share/lib下,我们需要配置oozie的lib的存储目录。
<property>
    <name>oozie.service.WorkflowAppService.system.libpath</name>
    <value>/user/oozie/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>
bin/oozie-setup.sh sharelib create -fs hdfs://hadoop-senior01.grc.com:8020 -locallib oozie-sharelib-4.0.0-cdh5.3.6-yarn.tar.gz
 bin/oozied.sh start

