Getting java.lang.IllegalArgumentException: begin > end in range (begin, end): while running Sqoop Job using oozie,getting below error

独自空忆成欢 提交于 2019-12-12 05:02:19

问题


Failing Oozie Launcher, Main class

[org.apache.oozie.action.hadoop.SqoopMain], main() threw exception, begin > end in range (begin, end): (1464070940802, 1464070938036)
    java.lang.IllegalArgumentException: begin > end in range (begin, end): (1464070940802, 1464070938036)
            at org.apache.hadoop.yarn.api.protocolrecords.impl.pb.GetApplicationsRequestPBImpl.setStartRange(GetApplicationsRequestPBImpl.java:340)
            at org.apache.oozie.action.hadoop.LauncherMainHadoopUtils.getChildYarnJobs(LauncherMainHadoopUtils.java:68)
            at org.apache.oozie.action.hadoop.LauncherMainHadoopUtils.killChildYarnJobs(LauncherMainHadoopUtils.java:88)
            at org.apache.oozie.action.hadoop.SqoopMain.run(SqoopMain.java:168)
            at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47)
            at org.apache.oozie.action.hadoop.SqoopMain.main(SqoopMain.java:46)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:497)
            at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:236)
            at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54)
            at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453)
            at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343)
            at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164)
            at java.security.AccessController.doPrivileged(Native Method)
            at javax.security.auth.Subject.doAs(Subject.java:422)
            at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657)
            at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158)

My Coordinator_job.properties is

oozie.coord.application.path=${nameNode}/SMIS/oozie-workflows/daily
start=2016-05-24T06:07Z
end=2016-05-25T03:00Z
workflowAppUri=${nameNode}/SMIS/oozie-workflows/daily

nameNode=hdfs://azurnaw-mtr01:8020
jobTracker=azurnaw-mtr01:58050
queueName=default
oozie.use.system.libpath=true
oozie.libpath=/user/oozie/share/lib    

In this scenario i am running the executions of 9 jobs and updating the hive tables for same 9 tables. It is failing in the execution of the 8th table.

Note: I am running this job on daily basis. Other jobs are running without any errors. Any one help with this error. Thanks in advance

来源:https://stackoverflow.com/questions/37407959/getting-java-lang-illegalargumentexception-begin-end-in-range-begin-end-w

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!