zoukankan      html  css  js  c++  java
  • sqoop2报错

    sqoop:000> create link --cid 4


    Creating link for connector with id 4
    Exception has occurred during processing command
    Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_0001:Server has returned exception

    根本不知道这个异常是什么。

    此时 修改设置

    sqoop:000> set option --name verbose --value true
    Verbose option was changed to true
    sqoop:000>

    sqoop:000> create link --cid 4
    Creating link for connector with id 4
    Exception has occurred during processing command
    Exception: org.apache.sqoop.common.SqoopException Message: CLIENT_0001:Server has returned exception
    Stack trace:
    at org.apache.sqoop.client.request.ResourceRequest (ResourceRequest.java:113)
    at org.apache.sqoop.client.request.ResourceRequest (ResourceRequest.java:47)
    at org.apache.sqoop.client.request.ResourceRequest (ResourceRequest.java:144)
    at org.apache.sqoop.client.request.ConnectorResourceRequest (ConnectorResourceRequest.java:38)
    at org.apache.sqoop.client.request.SqoopResourceRequests (SqoopResourceRequests.java:92)
    at org.apache.sqoop.client.SqoopClient (SqoopClient.java:188)
    at org.apache.sqoop.client.SqoopClient (SqoopClient.java:140)
    at org.apache.sqoop.client.SqoopClient (SqoopClient.java:283)
    at org.apache.sqoop.shell.CreateLinkFunction (CreateLinkFunction.java:63)
    at org.apache.sqoop.shell.CreateLinkFunction (CreateLinkFunction.java:55)
    at org.apache.sqoop.shell.SqoopFunction (SqoopFunction.java:51)
    at org.apache.sqoop.shell.SqoopCommand (SqoopCommand.java:127)
    at org.apache.sqoop.shell.SqoopCommand (SqoopCommand.java:103)
    at org.codehaus.groovy.tools.shell.Command$execute (null:-1)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray (CallSiteArray.java:42)
    at org.codehaus.groovy.tools.shell.Command$execute (null:-1)
    at org.codehaus.groovy.tools.shell.Shell (Shell.groovy:101)
    at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:-1)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method (Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:90)
    at groovy.lang.MetaMethod (MetaMethod.java:233)
    at groovy.lang.MetaClassImpl (MetaClassImpl.java:1054)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:128)
    at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:173)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method (Method.java:606)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce (PogoMetaMethodSite.java:267)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite (PogoMetaMethodSite.java:52)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:141)
    at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:121)
    at org.codehaus.groovy.tools.shell.Shell (Shell.groovy:114)
    at org.codehaus.groovy.tools.shell.Shell$leftShift$0 (null:-1)
    at org.codehaus.groovy.tools.shell.ShellRunner (ShellRunner.groovy:88)
    at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:-1)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method (Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:90)
    at groovy.lang.MetaMethod (MetaMethod.java:233)
    at groovy.lang.MetaClassImpl (MetaClassImpl.java:1054)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:128)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:148)
    at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:100)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method (Method.java:606)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce (PogoMetaMethodSite.java:267)
    at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite (PogoMetaMethodSite.java:52)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:137)
    at org.codehaus.groovy.tools.shell.ShellRunner (ShellRunner.groovy:57)
    at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:-1)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:-2)
    at sun.reflect.NativeMethodAccessorImpl (NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method (Method.java:606)
    at org.codehaus.groovy.reflection.CachedMethod (CachedMethod.java:90)
    at groovy.lang.MetaMethod (MetaMethod.java:233)
    at groovy.lang.MetaClassImpl (MetaClassImpl.java:1054)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:128)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter (ScriptBytecodeAdapter.java:148)
    at org.codehaus.groovy.tools.shell.InteractiveShellRunner (InteractiveShellRunner.groovy:66)
    at java_lang_Runnable$run (null:-1)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray (CallSiteArray.java:42)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:108)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite (AbstractCallSite.java:112)
    at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:463)
    at org.codehaus.groovy.tools.shell.Groovysh (Groovysh.groovy:402)
    at org.apache.sqoop.shell.SqoopShell (SqoopShell.java:128)
    Caused by: Exception: java.lang.Throwable Message: Invalid connector id 4
    Stack trace:
    at org.apache.sqoop.handler.ConnectorRequestHandler (ConnectorRequestHandler.java:85)
    at org.apache.sqoop.server.v1.ConnectorServlet (ConnectorServlet.java:49)
    at org.apache.sqoop.server.SqoopProtocolServlet (SqoopProtocolServlet.java:48)
    at javax.servlet.http.HttpServlet (HttpServlet.java:617)
    at javax.servlet.http.HttpServlet (HttpServlet.java:723)
    at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:206)
    at org.apache.hadoop.security.authentication.server.AuthenticationFilter (AuthenticationFilter.java:592)
    at org.apache.hadoop.security.authentication.server.AuthenticationFilter (AuthenticationFilter.java:555)
    at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain (ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve (StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve (StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve (StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve (ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve (StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter (CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor (Http11Processor.java:861)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler (Http11Protocol.java:606)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker (JIoEndpoint.java:489)
    at java.lang.Thread (Thread.java:745)
    sqoop:000>

    终于报异常了 。

  • 相关阅读:
    残奥会女坐式排球决赛
    Visual C++ 调试器伪变量
    Project Chameleon Work In Progress 3
    pku1496 Word Index
    pku1083 Moving Tables
    pku3273 Monthly Expense
    pku1189 钉子和小球
    pku1018 Communication System
    关于tomcat报Error listenerStart和Context [*] startup failed due to previous errors两个错误的总结 东师理想
    java客户端提交数据到memcached方法memcached+java+client个人总结 东师理想
  • 原文地址:https://www.cnblogs.com/szw-blog/p/5481806.html
Copyright © 2011-2022 走看看