错误org.apache.pig.tools.grunt.Grunt - 错误1066:无法为别名

时间:2015-12-17 05:31:56

标签: apache-pig apache-tez

  

$ pig -z tez grunt> emp = LOAD' /emp.csv,/ tmp / emp / part-m-00000'运用   PigStorage(',')as(id:int,name:chararray,disg:chararray,sal:long,   LOC:chararray); 2015-12-16 21:30:21,706 [主要] INFO   org.apache.hadoop.conf.Configuration.deprecation - fs.default.name是   弃用。相反,请使用fs.defaultFS grunt> dump emp;

失败!

DAG PigLatin:DefaultJobName-0_scope-8:
       ApplicationId: null                                                                                                
  TotalLaunchedTasks: -1                                                                                                  
       FileBytesRead: -1                                                                                                  
    FileBytesWritten: -1                                                                                                  
       HdfsBytesRead: 0                                                                                                   
    HdfsBytesWritten: 0                                                                                                   

输入(S):

输出(一个或多个):

2015-12-16 21:31:00,745 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1066: Unable to open iterator for alias emp
Details at logfile: /tmp/pig-err.log

0 个答案:

没有答案