报错:Exception: org.apache.sqoop.common.SqoopException Message: DRIVER_0002:Given job is already running - Job with id 1
报错背景:
创建完成job之后,执行job的时候报错。
报错现象:

Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_0001:Server has returned exception
Stack trace:
at org.apache.sqoop.client.request.ResourceRequest (ResourceRequest.java:)
at org.apache.sqoop.client.request.ResourceRequest (ResourceRequest.java:)
at org.apache.sqoop.client.request.JobResourceRequest (JobResourceRequest.java:)
at org.apache.sqoop.client.request.SqoopResourceRequests (SqoopResourceRequests.java:)
at org.apache.sqoop.client.SqoopClient (SqoopClient.java:)
at org.apache.sqoop.shell.StartJobFunction (StartJobFunction.java:)
at org.apache.sqoop.shell.SqoopFunction (SqoopFunction.java:)
at org.apache.sqoop.shell.SqoopCommand (SqoopCommand.java:)
at org.apache.sqoop.shell.SqoopCommand (SqoopCommand.java:)
at org.codehaus.groovy.tools.shell.Command$execute (null:-)
at org.codehaus.groovy.runtime.callsite.CallSiteArray (CallSiteArray.java:)
at org.codehaus.groovy.tools.shell.Command$execute (null:-)
at org.codehaus.groovy.tools.shell.Shell (Shell.groovy:)
at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method (Method.java:)
at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:)
at groovy.lang.MetaMethod (MetaMethod.java:)
at groovy.lang.MetaClassImpl (MetaClassImpl.java:)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:)
at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method (Method.java:)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce (PogoMetaMethodSite.java:)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite (PogoMetaMethodSite.java:)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:)
at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:)
at org.codehaus.groovy.tools.shell.Shell (Shell.groovy:)
at org.codehaus.groovy.tools.shell.Shell$leftShift$ (null:-)
at org.codehaus.groovy.tools.shell.ShellRunner (ShellRunner.groovy:)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method (Method.java:)
at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:)
at groovy.lang.MetaMethod (MetaMethod.java:)
at groovy.lang.MetaClassImpl (MetaClassImpl.java:)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method (Method.java:)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce (PogoMetaMethodSite.java:)
at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite (PogoMetaMethodSite.java:)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:)
at org.codehaus.groovy.tools.shell.ShellRunner (ShellRunner.groovy:)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-)
at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:)
at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:)
at java.lang.reflect.Method (Method.java:)
at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:)
at groovy.lang.MetaMethod (MetaMethod.java:)
at groovy.lang.MetaClassImpl (MetaClassImpl.java:)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:)
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:)
at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:)
at java_lang_Runnable$run (null:-)
at org.codehaus.groovy.runtime.callsite.CallSiteArray (CallSiteArray.java:)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:)
at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:)
at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:)
at org.apache.sqoop.shell.SqoopShell (SqoopShell.java:)
Caused by: Exception: org.apache.sqoop.common.SqoopException Message: DRIVER_0002:Given job is already running - Job with id 1
Stack trace:
at org.apache.sqoop.driver.JobManager (JobManager.java:)
at org.apache.sqoop.handler.JobRequestHandler (JobRequestHandler.java:)
at org.apache.sqoop.handler.JobRequestHandler (JobRequestHandler.java:)
at org.apache.sqoop.server.v1.JobServlet (JobServlet.java:)
at org.apache.sqoop.server.SqoopProtocolServlet (SqoopProtocolServlet.java:)
at javax.servlet.http.HttpServlet (HttpServlet.java:)
at javax.servlet.http.HttpServlet (HttpServlet.java:)
at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:)
at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:)
at org.apache.hadoop.security.authentication.server.AuthenticationFilter (AuthenticationFilter.java:)
at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter (DelegationTokenAuthenticationFilter.java:)
at org.apache.hadoop.security.authentication.server.AuthenticationFilter (AuthenticationFilter.java:)
at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:)
at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:)
at org.apache.catalina.core.StandardWrapperValve (StandardWrapperValve.java:)
at org.apache.catalina.core.StandardContextValve (StandardContextValve.java:)
at org.apache.catalina.core.StandardHostValve (StandardHostValve.java:)
at org.apache.catalina.valves.ErrorReportValve (ErrorReportValve.java:)
at org.apache.catalina.core.StandardEngineValve (StandardEngineValve.java:)
at org.apache.catalina.connector.CoyoteAdapter (CoyoteAdapter.java:)
at org.apache.coyote.http11.Http11Processor (Http11Processor.java:)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler (Http11Protocol.java:)
at org.apache.tomcat.util.net.JIoEndpoint$Worker (JIoEndpoint.java:)
at java.lang.Thread (Thread.java:)
sqoop:>
报错原因:
日志中的提示信息说明,此时已经有一个job正在运行,所以报错。
报错解决:
查看这个job的状态:sqoop:000> status job --jid 1
结束这个job的进程:sqoop:000> stop job --jid 1
再次重新启动job: sqoop:000> start job --jid 1
不再报错。
报错:Exception: org.apache.sqoop.common.SqoopException Message: DRIVER_0002:Given job is already running - Job with id 1的更多相关文章
- 报错:org.apache.sqoop.common.SqoopException Message: CLIENT_0001:Server has returned exception NoClassDefFoundError: org/codehaus/jackson/map/JsonMappingException
报错背景: CDH集成sqoop2服务之后,创建好link和job之后,执行job的时候报错. 报错现象: sqoop:> start job -j Exception has occurred ...
- 通过phoenix创建hbase表失败,创建语句卡住,hbase-hmaster报错:exception=org.apache.hadoop.hbase.TableExistsException: SYNC_BUSINESS_INFO_BYDAY_EFFECT
问题描述: 前几天一个同事来说,通过phoenix创建表失败了,一直报表存在的错误,删除也报错,然后就针对这个问题找下解决方案. 问题分析: 1.通过phoenix创建表,一直卡住不动了.创建语句如下 ...
- 启动项目报错:org.apache.catalina.LifecycleException: Failed to start component
原因 环境异常重启,项目java进程未关闭,原项目的端口依旧在占用. 一般为8080端口被占用 解决方法 以下两种方法都可以解决,原理相同(结束异常进程) 1. 简单粗暴: 打开任务管理器找到java ...
- 使用IDEA操作Hbase API 报错:org.apache.hadoop.hbase.client.RetriesExhaustedException的解决方法:
使用IDEA操作Hbase API 报错:org.apache.hadoop.hbase.client.RetriesExhaustedException的解决方法: 1.错误详情: Excepti ...
- jenkins编辑报错Exception when publishing, exception message的解决办法
jenkins编辑报错Exception when publishing, exception message的解决办法 查看目标主机的磁盘空间是否占满,清理磁盘空间即可
- 项目报错java.lang.ClassNotFoundException: org.common.SessionListener
现象:项目报错java.lang.ClassNotFoundException: org.common.SessionListener,并且myeclipse左侧Package Explorer中项目 ...
- Eclipse配置tomcat8.5.7报错:The Apache Tomcat installation at this directory is version 8.5.27. A Tomcat 8.0 installation is...
Eclipse配置tomcat8.5.7报错:The Apache Tomcat installation at this directory is version 8.5.27. A Tomcat ...
- 【mybatis】mybatis访问报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 或者 feign被调用方使用的mybatis总报空指针异常java.lang.NullPointerException,而变量都没有问题的情况
mybatis访问报错:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 需要检查的步骤: ...
- 【mybatis】mybatis方法访问报错:org.apache.ibatis.builder.IncompleteElementException: Could not find result map com.pisen.cloud.luna.ms.goods.base.domain.GoodsConfigQuery
在调用mapper.xml中的方法的时候,报错: org.apache.ibatis.builder.IncompleteElementException: Could not find result ...
随机推荐
- pandas数据类型(二)与numpy的str和object类型之间的区别
现象: Numpy区分了str和object类型,其中dtype(‘S’)和dtype(‘O’)分别对应于str和object. 然而,pandas缺乏这种区别 str和object类型都对应dtyp ...
- win10 安装python模块objgraph+PyCharm环境配置
1. 打开win10的命令行窗口 2.在命令行中输入python -m pip install objgraph,系统会自动帮忙安装 3.安装完成后,可以用命令python -m pip list查看 ...
- Post Office Problem
Description There are n houses on a line. Given an array A and A[i] represents the position of i-th ...
- Tensorflow细节-P160-迁移学习
这是一个完整的程序,值得保存 1.对图片进行预处理并保存 import glob import os.path import numpy as np import tensorflow as tf f ...
- PHP 将某一字符串转化为变量
1. $test = 'test'; $var = 'test'; echo $$var 运行结果为test 2. $this->test = 'test'; $var = 'test'; e ...
- am335x system upgrade rootfs for bridge-utils cross compile (十四)
bridge-utils移植 [目的] 移植bridge-utils的目是在AM335X开发板上使用bridge功能. [环境] 1. Ubuntu 16.04发行版 2. MC183平台 3. ...
- 代码格式化工具---indent工具
indent工具,可以把代码格式化成某种风格. 通过命令:rpm -qa | grep indent 查看是否安装了indent工具. 若没有,可使用命令sudo apt-get install ...
- 玩好JDK[转]
ref: https://www.cnblogs.com/zuoxiaolong/p/life53.html java-reference:https://docs.oracle.com/en/jav ...
- AtCoder Grand Contest 013题解
传送门 \(A\) 先把相同的缩一起,然后贪心就可以了 //quming #include<bits/stdc++.h> #define R register #define fp(i,a ...
- AtCoder Grand Contest 012题解
传送门 \(A\) 肯定是后面每两个陪最前面一个最优 typedef long long ll; const int N=5e5+5; int a[N],n;ll res; int main(){ s ...