Azkaban submits job error record
Write a test.sql in UE, start it with azkaban, and report an error.
18-02-2016 23:09:17 CST hivef ERROR - FAILED: ParseException line 1:0 character '' not supported here
No matter how hard I tried, I couldn't find anything wrong.
Go to Hive's log directory
Check hive.log for problems
2016-02-18 23:09:16,819 INFO [main]: parse.ParseDriver (ParseDriver.java:parse(185)) - Parsing command: use default
2016-02-18 23:09:17,561 ERROR [main]: ql.Driver (SessionState.java:printError(960)) - FAILED: ParseException line 1:0 character '' not supported here
org.apache.hadoop.hive.ql.parse.ParseException: line 1:0 character '' 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)
**** It turns out to be a big pit in UE, and the file header is automatically added with invisible special file header.
In addition, write the simplest command type job submission, direct submission will fail
Installation Failed. Error found in upload Cannot uploaded. Job doesn't have type set 'command'
Then I found the first line in the job description file: #command.job cannot be missing, very strange