您好,登錄后才能下訂單哦!
在UE中編寫一個test.sql,用azkaban啟動,報錯
18-02-2016 23:09:17 CST hivef ERROR - FAILED: ParseException line 1:0 character '' not supported here
怎么查都查不出問題
進入hive的log目錄
查看hive.log發現問題
2016-02-18 23:09:16,819 INFO [main]: parse.ParseDriver (ParseDriver.java:parse(185)) - Parsing command: <U+FEFF>use default
2016-02-18 23:09:17,561 ERROR [main]: ql.Driver (SessionState.java:printError(960)) - FAILED: ParseException line 1:0 character '<U+FEFF>' not supported here
org.apache.hadoop.hive.ql.parse.ParseException: line 1:0 character '<U+FEFF>' not supported here
at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:211)
at org.apache.hadoop.hive.ql.parse.ParseDriver.parse(ParseDriver.java:166)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:396)
at org.apache.hadoop.hive.ql.Driver.compile(Driver.java:308)
at org.apache.hadoop.hive.ql.Driver.compileInternal(Driver.java:1122)
at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1170)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1059)
at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1049)
****原來是UE中的大坑,文件頭自動加了不可見特殊文件頭
另外,編寫一個最簡單的command類型job提交,直接提交就失敗
Installation Failed. Error found in upload Cannot uploaded. Job doesn't have type set 'command'
后發現job描述文件中的第一行: # command.job 不能缺,很詭異
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。