Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/email/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Hadoop oozie清管器动作启动错误_Hadoop_Oozie - Fatal编程技术网

Hadoop oozie清管器动作启动错误

Hadoop oozie清管器动作启动错误,hadoop,oozie,Hadoop,Oozie,我正在尝试做非常基本的oozie工作流程 当我发出命令时,我得到以下错误 user@ubuntu:~/surender$ oozie job -oozie http://localhost:11000/oozie /home/user/surender/oozie_demo/job.properties -run 错误: Error: E0501 : E0501: Could not perform authorization operation, Failed on local excep

我正在尝试做非常基本的oozie工作流程

当我发出命令时,我得到以下错误

user@ubuntu:~/surender$ oozie job -oozie http://localhost:11000/oozie /home/user/surender/oozie_demo/job.properties -run
错误:

 Error: E0501 : E0501: Could not perform authorization operation, Failed on local exception: java.io.EOFException; Host Details : local host is: "ubuntu/127.0.0.1"; destination host is: "localhost":8020;
我的oozie版本是4.0.0,我检查了oozie web控制台是否已启用

这就是创建oozie工作流的方式

我创建了一个名为oozie_demo的目录,并在其中创建了两个文件

    1.workflow.xml
    2.job.properties
我还创建了一个lib目录,并将pig脚本放在该lib目录中

workflow.xml

 <workflow-app xmlns="uri:oozie:workflow:0.2" name="pig-wf"> 
<start to="pig-node"/> 
 <action name="pig-node"> 
     <pig> 
        <job-tracker>${jobTracker}</job-tracker> 
         <name-node>${nameNode}</name-node> 
        <prepare> 
            <delete path="${nameNode}/user/${wf:user()}/output/pig/simple_load"/> 
        </prepare> 
        <configuration> 
            <property> 
               <name>mapred.job.queue.name</name> 
              <value>${queueName}</value> 
           </property> 
            <property> 
                 <name>mapred.compress.map.output</name> 
                <value>true</value> 
            </property> 
         </configuration> 
        <script>simple_load.pig</script> 
        <param>INPUT=/user/${wf:user()}/inputfiles/records.txt</param> 
       <param>OUTPUT=/user/${wf:user()}//output/pig/simple_load</param> 
     </pig> 
    <ok to="end"/> 
   <error to="fail"/> 
 </action> 
<kill name="fail"> 
    <message>Pig failed,     error                                                                                    message[${wf:errorMessage(wf:lastErrorNode())}]</message> 
    </kill> 
     <end name="end"/> 
    </workflow-app> 
我的猪脚本:

  records = load '/user/user/inputfiles/records.txt' USING PigStorage(',');

  store records into '/user/user/output/pig/simple_load' using PigStorage(',');   

有人能帮我吗?我想知道出了什么问题?如何解决此问题?

您能否检查Namenode是否已启动并在端口8020处运行

  records = load '/user/user/inputfiles/records.txt' USING PigStorage(',');

  store records into '/user/user/output/pig/simple_load' using PigStorage(',');