2014-11-14 97 views
0

我的Oozie蜂巢行動永遠停留在運行模式。 oozie.log文件中沒有顯示錯誤。Oozie蜂巢行動卡在PREP狀態,作業卡在RUNNING狀態

<workflow-app xmlns="uri:oozie:workflow:0.2.5" name="example-wf"> 
<credentials> 
      <credential name='hive_credentials' type='hive'> 
        <property> 
         <name>hive.metastore.uris</name> 
         <value>thrift://localhost:9083</value> 
        </property> 
      </credential> 
</credentials> 
<start to="hive-example"/> 
<action name="hive-example" cred="hive_credentials"> 
    <hive xmlns="uri:oozie:hive-action:0.2"> 
      <job-tracker>${jobTracker}</job-tracker> 
      <name-node>${nameNode}</name-node> 
      <job-xml>hive-site.xml</job-xml> 
      <configuration> 
       <property> 
        <name>oozie.log.hive.level</name> 
        <value>DEBUG</value> 
       </property> 
       <property> 
        <name>oozie.hive.defaults</name> 
        <value>hive-default.xml</value> 
       </property> 
      </configuration>  
     <script>script.q</script> 
     <file>hive-site.xml</file> 
    </hive> 
    <ok to="end"/> 
    <error to="fail"/> 
    </action> 
    <kill name="fail"> 
    <message>Workflow failed, error message[${wf:errorMessage(wf:lastErrorNode())}] 
    </message> 
    </kill> 
    <end name="end"/> 
    </workflow-app> 

而且我job.properties是如下圖所示

nameNode=hdfs://hadoopmaster:54310 
jobTracker=localhost:54311 
workflowRoot=${nameNode}/user/${user.name}/oozie-workflows 
oozie.wf.application.path=hdfs://hadoopmaster:54310/home/hadoopuser/Downloads/oozie 
workflows 

也是如下圖所示

2014-11-13 18我的工作日誌:19:57697信息ActionStartXCommand:539 - USER [hadoopuser] GROUP [ - ] TOKEN [] APP [example-wf] JOB [0000001-141113180803793-oozie-hado-W]操作[0000001-141113180803793-oozie-hado-W @:start:]開始操作[0000001- 141113180803793-oozie-hado-W @:start:] with user-retry state:userRetryCount [0],userRetryMax [0],userRetryInterval [10] 2014-11-13 18:19:57,698 WARN ActionStartXCommand:542 - USER [hadoopuser] GROUP [ - ] TOKEN [] APP [example-wf] JOB [0000001-141113180803793-oozie-hado-W]操作[0000001-141113180803793動作狀態=完成 2014-11-13 18:19:57,698 WARN ActionStartXCommand:542 - - - - - - - - - USER [hadoopuser] GROUP [ - ] TOKEN [] APP [example-wf] JOB [0000001-141113180803793-oozie-hado-W]動作[0000001-141113180803793-oozie-hado-W @:start:] [0000001- 141113180803793-oozie-hado-W @:start:]在DB中更新操作! 2014-11-13 18:19:57,801 INFO ActionStartXCommand:539 - USER [hadoopuser] GROUP [ - ] TOKEN [] APP [example-wf] JOB [0000001-141113180803793-oozie-hado-W]操作[0000001-141113180803793用戶重試狀態:userRetryCount [0],userRetryMax [0],userRetryInterval [10]

開始操作[0000001-141113180803793-oozie-hado-W @ hive-example]

我已將hive-site.xml放入oozie工作流目錄中,並將工作流目錄(包含workflow.xml,hive-site.xml,hive-default.xml)上載到HDFS。作業日誌中沒有錯誤。所以我不確定我犯了什麼錯誤。任何幫助是極大的讚賞。

+0

爲什麼在