Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

call from sqoop to haoop : Connection refused #63

Open
Chyroc-MD opened this issue Jan 16, 2017 · 0 comments
Open

call from sqoop to haoop : Connection refused #63

Chyroc-MD opened this issue Jan 16, 2017 · 0 comments

Comments

@Chyroc-MD
Copy link

hello :)

we make the docker-sqoop from hadoop-docker .
And we create some link and job, that is ok.
But when we start a job,it came a error:

Call From 6b428b7ad50d/172.17.0.3 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused

for more details:

  "message": "Unexpected exception",
  "cause": {
    "message": "Call From 6b428b7ad50d/172.17.0.3 to localhost:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused",
    "cause": {
      "message": "Connection refused",
      "stack-trace": [{
        "file": "SocketChannelImpl.java",
        "line": -2,
        "class": "sun.nio.ch.SocketChannelImpl",
        "method": "checkConnect"
      }, {
        "file": "SocketChannelImpl.java",
        "line": 739,
        "class": "sun.nio.ch.SocketChannelImpl",
        "method": "finishConnect"
      }, {
        "file": "SocketIOWithTimeout.java",
        "line": 206,
        "class": "org.apache.hadoop.net.SocketIOWithTimeout",
        "method": "connect"
      }, {
        "file": "NetUtils.java",
        "line": 531,
        "class": "org.apache.hadoop.net.NetUtils",
        "method": "connect"
      }, {
        "file": "NetUtils.java",
        "line": 495,
        "class": "org.apache.hadoop.net.NetUtils",
        "method": "connect"
      }, {
        "file": "Client.java",
        "line": 609,
        "class": "org.apache.hadoop.ipc.Client$Connection",
        "method": "setupConnection"
      }, {
        "file": "Client.java",
        "line": 707,
        "class": "org.apache.hadoop.ipc.Client$Connection",
        "method": "setupIOstreams"
      }, {
        "file": "Client.java",
        "line": 370,
        "class": "org.apache.hadoop.ipc.Client$Connection",
        "method": "access$2800"
      }, {
        "file": "Client.java",
        "line": 1529,
        "class": "org.apache.hadoop.ipc.Client",
        "method": "getConnection"
      }, {
        "file": "Client.java",
        "line": 1446,
        "class": "org.apache.hadoop.ipc.Client",
        "method": "call"
      }, {
        "file": "Client.java",
        "line": 1407,
        "class": "org.apache.hadoop.ipc.Client",
        "method": "call"
      }, {
        "file": "ProtobufRpcEngine.java",
        "line": 229,
        "class": "org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker",
        "method": "invoke"
      }, {
        "file": null,
        "line": -1,
        "class": "com.sun.proxy.$Proxy18",
        "method": "getFileInfo"
      }, {
        "file": "ClientNamenodeProtocolTranslatorPB.java",
        "line": 771,
        "class": "org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB",
        "method": "getFileInfo"
      }, {
        "file": "NativeMethodAccessorImpl.java",
        "line": -2,
        "class": "sun.reflect.NativeMethodAccessorImpl",
        "method": "invoke0"
      }, {
        "file": "NativeMethodAccessorImpl.java",
        "line": 57,
        "class": "sun.reflect.NativeMethodAccessorImpl",
        "method": "invoke"
      }, {
        "file": "DelegatingMethodAccessorImpl.java",
        "line": 43,
        "class": "sun.reflect.DelegatingMethodAccessorImpl",
        "method": "invoke"
      }, {
        "file": "Method.java",
        "line": 606,
        "class": "java.lang.reflect.Method",
        "method": "invoke"
      }, {
        "file": "RetryInvocationHandler.java",
        "line": 187,
        "class": "org.apache.hadoop.io.retry.RetryInvocationHandler",
        "method": "invokeMethod"
      }, {
        "file": "RetryInvocationHandler.java",
        "line": 102,
        "class": "org.apache.hadoop.io.retry.RetryInvocationHandler",
        "method": "invoke"
      }, {
        "file": null,
        "line": -1,
        "class": "com.sun.proxy.$Proxy19",
        "method": "getFileInfo"
      }, {
        "file": "DFSClient.java",
        "line": 2116,
        "class": "org.apache.hadoop.hdfs.DFSClient",
        "method": "getFileInfo"
      }, {
        "file": "DistributedFileSystem.java",
        "line": 1305,
        "class": "org.apache.hadoop.hdfs.DistributedFileSystem$22",
        "method": "doCall"
      }, {
        "file": "DistributedFileSystem.java",
        "line": 1301,
        "class": "org.apache.hadoop.hdfs.DistributedFileSystem$22",
        "method": "doCall"
      }, {
        "file": "FileSystemLinkResolver.java",
        "line": 81,
        "class": "org.apache.hadoop.fs.FileSystemLinkResolver",
        "method": "resolve"
      }, {
        "file": "DistributedFileSystem.java",
        "line": 1301,
        "class": "org.apache.hadoop.hdfs.DistributedFileSystem",
        "method": "getFileStatus"
      }, {
        "file": "FileSystem.java",
        "line": 1424,
        "class": "org.apache.hadoop.fs.FileSystem",
        "method": "exists"
      }, {
        "file": "HdfsToInitializer.java",
        "line": 65,
        "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer$1",
        "method": "run"
      }, {
        "file": "HdfsToInitializer.java",
        "line": 60,
        "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer$1",
        "method": "run"
      }, {
        "file": "AccessController.java",
        "line": -2,
        "class": "java.security.AccessController",
        "method": "doPrivileged"
      }, {
        "file": "Subject.java",
        "line": 415,
        "class": "javax.security.auth.Subject",
        "method": "doAs"
      }, {
        "file": "UserGroupInformation.java",
        "line": 1657,
        "class": "org.apache.hadoop.security.UserGroupInformation",
        "method": "doAs"
      }, {
        "file": "HdfsToInitializer.java",
        "line": 60,
        "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer",
        "method": "initialize"
      }, {
        "file": "HdfsToInitializer.java",
        "line": 37,
        "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer",
        "method": "initialize"
      }, {
        "file": "JobManager.java",
        "line": 520,
        "class": "org.apache.sqoop.driver.JobManager$1",
        "method": "call"
      }, {
        "file": "JobManager.java",
        "line": 517,
        "class": "org.apache.sqoop.driver.JobManager$1",
        "method": "call"
      }, {
        "file": "ClassUtils.java",
        "line": 281,
        "class": "org.apache.sqoop.utils.ClassUtils",
        "method": "executeWithClassLoader"
      }, {
        "file": "JobManager.java",
        "line": 516,
        "class": "org.apache.sqoop.driver.JobManager",
        "method": "initializeConnector"
      }, {
        "file": "JobManager.java",
        "line": 424,
        "class": "org.apache.sqoop.driver.JobManager",
        "method": "createJobRequest"
      }, {
        "file": "JobManager.java",
        "line": 317,
        "class": "org.apache.sqoop.driver.JobManager",
        "method": "start"
      }, {
        "file": "JobRequestHandler.java",
        "line": 353,
        "class": "org.apache.sqoop.handler.JobRequestHandler",
        "method": "startJob"
      }, {
        "file": "JobRequestHandler.java",
        "line": 114,
        "class": "org.apache.sqoop.handler.JobRequestHandler",
        "method": "handleEvent"
      }, {
        "file": "JobServlet.java",
        "line": 84,
        "class": "org.apache.sqoop.server.v1.JobServlet",
        "method": "handlePutRequest"
      }, {
        "file": "SqoopProtocolServlet.java",
        "line": 81,
        "class": "org.apache.sqoop.server.SqoopProtocolServlet",
        "method": "doPut"
      }, {
        "file": "HttpServlet.java",
        "line": 710,
        "class": "javax.servlet.http.HttpServlet",
        "method": "service"
      }, {
        "file": "HttpServlet.java",
        "line": 790,
        "class": "javax.servlet.http.HttpServlet",
        "method": "service"
      }, {
        "file": "ServletHolder.java",
        "line": 808,
        "class": "org.eclipse.jetty.servlet.ServletHolder",
        "method": "handle"
      }, {
        "file": "ServletHandler.java",
        "line": 1669,
        "class": "org.eclipse.jetty.servlet.ServletHandler$CachedChain",
        "method": "doFilter"
      }, {
        "file": "AuthenticationFilter.java",
        "line": 595,
        "class": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
        "method": "doFilter"
      }, {
        "file": "DelegationTokenAuthenticationFilter.java",
        "line": 291,
        "class": "org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter",
        "method": "doFilter"
      }, {
        "file": "AuthenticationFilter.java",
        "line": 554,
        "class": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
        "method": "doFilter"
      }, {
        "file": "ServletHandler.java",
        "line": 1652,
        "class": "org.eclipse.jetty.servlet.ServletHandler$CachedChain",
        "method": "doFilter"
      }, {
        "file": "ServletHandler.java",
        "line": 585,
        "class": "org.eclipse.jetty.servlet.ServletHandler",
        "method": "doHandle"
      }, {
        "file": "ContextHandler.java",
        "line": 1127,
        "class": "org.eclipse.jetty.server.handler.ContextHandler",
        "method": "doHandle"
      }, {
        "file": "ServletHandler.java",
        "line": 515,
        "class": "org.eclipse.jetty.servlet.ServletHandler",
        "method": "doScope"
      }, {
        "file": "ContextHandler.java",
        "line": 1061,
        "class": "org.eclipse.jetty.server.handler.ContextHandler",
        "method": "doScope"
      }, {
        "file": "ScopedHandler.java",
        "line": 141,
        "class": "org.eclipse.jetty.server.handler.ScopedHandler",
        "method": "handle"
      }, {
        "file": "HandlerWrapper.java",
        "line": 97,
        "class": "org.eclipse.jetty.server.handler.HandlerWrapper",
        "method": "handle"
      }, {
        "file": "Server.java",
        "line": 499,
        "class": "org.eclipse.jetty.server.Server",
        "method": "handle"
      }, {
        "file": "HttpChannel.java",
        "line": 310,
        "class": "org.eclipse.jetty.server.HttpChannel",
        "method": "handle"
      }, {
        "file": "HttpConnection.java",
        "line": 257,
        "class": "org.eclipse.jetty.server.HttpConnection",
        "method": "onFillable"
      }, {
        "file": "AbstractConnection.java",
        "line": 540,
        "class": "org.eclipse.jetty.io.AbstractConnection$2",
        "method": "run"
      }, {
        "file": "ThreadPoolExecutor.java",
        "line": 1145,
        "class": "java.util.concurrent.ThreadPoolExecutor",
        "method": "runWorker"
      }, {
        "file": "ThreadPoolExecutor.java",
        "line": 615,
        "class": "java.util.concurrent.ThreadPoolExecutor$Worker",
        "method": "run"
      }, {"file": "Thread.java", "line": 745, "class": "java.lang.Thread", "method": "run"}],
      "class": "java.net.ConnectException"
    },
    "stack-trace": [{
      "file": "NativeConstructorAccessorImpl.java",
      "line": -2,
      "class": "sun.reflect.NativeConstructorAccessorImpl",
      "method": "newInstance0"
    }, {
      "file": "NativeConstructorAccessorImpl.java",
      "line": 57,
      "class": "sun.reflect.NativeConstructorAccessorImpl",
      "method": "newInstance"
    }, {
      "file": "DelegatingConstructorAccessorImpl.java",
      "line": 45,
      "class": "sun.reflect.DelegatingConstructorAccessorImpl",
      "method": "newInstance"
    }, {
      "file": "Constructor.java",
      "line": 526,
      "class": "java.lang.reflect.Constructor",
      "method": "newInstance"
    }, {
      "file": "NetUtils.java",
      "line": 792,
      "class": "org.apache.hadoop.net.NetUtils",
      "method": "wrapWithMessage"
    }, {
      "file": "NetUtils.java",
      "line": 732,
      "class": "org.apache.hadoop.net.NetUtils",
      "method": "wrapException"
    }, {
      "file": "Client.java",
      "line": 1480,
      "class": "org.apache.hadoop.ipc.Client",
      "method": "call"
    }, {
      "file": "Client.java",
      "line": 1407,
      "class": "org.apache.hadoop.ipc.Client",
      "method": "call"
    }, {
      "file": "ProtobufRpcEngine.java",
      "line": 229,
      "class": "org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker",
      "method": "invoke"
    }, {
      "file": null,
      "line": -1,
      "class": "com.sun.proxy.$Proxy18",
      "method": "getFileInfo"
    }, {
      "file": "ClientNamenodeProtocolTranslatorPB.java",
      "line": 771,
      "class": "org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB",
      "method": "getFileInfo"
    }, {
      "file": "NativeMethodAccessorImpl.java",
      "line": -2,
      "class": "sun.reflect.NativeMethodAccessorImpl",
      "method": "invoke0"
    }, {
      "file": "NativeMethodAccessorImpl.java",
      "line": 57,
      "class": "sun.reflect.NativeMethodAccessorImpl",
      "method": "invoke"
    }, {
      "file": "DelegatingMethodAccessorImpl.java",
      "line": 43,
      "class": "sun.reflect.DelegatingMethodAccessorImpl",
      "method": "invoke"
    }, {
      "file": "Method.java",
      "line": 606,
      "class": "java.lang.reflect.Method",
      "method": "invoke"
    }, {
      "file": "RetryInvocationHandler.java",
      "line": 187,
      "class": "org.apache.hadoop.io.retry.RetryInvocationHandler",
      "method": "invokeMethod"
    }, {
      "file": "RetryInvocationHandler.java",
      "line": 102,
      "class": "org.apache.hadoop.io.retry.RetryInvocationHandler",
      "method": "invoke"
    }, {
      "file": null,
      "line": -1,
      "class": "com.sun.proxy.$Proxy19",
      "method": "getFileInfo"
    }, {
      "file": "DFSClient.java",
      "line": 2116,
      "class": "org.apache.hadoop.hdfs.DFSClient",
      "method": "getFileInfo"
    }, {
      "file": "DistributedFileSystem.java",
      "line": 1305,
      "class": "org.apache.hadoop.hdfs.DistributedFileSystem$22",
      "method": "doCall"
    }, {
      "file": "DistributedFileSystem.java",
      "line": 1301,
      "class": "org.apache.hadoop.hdfs.DistributedFileSystem$22",
      "method": "doCall"
    }, {
      "file": "FileSystemLinkResolver.java",
      "line": 81,
      "class": "org.apache.hadoop.fs.FileSystemLinkResolver",
      "method": "resolve"
    }, {
      "file": "DistributedFileSystem.java",
      "line": 1301,
      "class": "org.apache.hadoop.hdfs.DistributedFileSystem",
      "method": "getFileStatus"
    }, {
      "file": "FileSystem.java",
      "line": 1424,
      "class": "org.apache.hadoop.fs.FileSystem",
      "method": "exists"
    }, {
      "file": "HdfsToInitializer.java",
      "line": 65,
      "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer$1",
      "method": "run"
    }, {
      "file": "HdfsToInitializer.java",
      "line": 60,
      "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer$1",
      "method": "run"
    }, {
      "file": "AccessController.java",
      "line": -2,
      "class": "java.security.AccessController",
      "method": "doPrivileged"
    }, {
      "file": "Subject.java",
      "line": 415,
      "class": "javax.security.auth.Subject",
      "method": "doAs"
    }, {
      "file": "UserGroupInformation.java",
      "line": 1657,
      "class": "org.apache.hadoop.security.UserGroupInformation",
      "method": "doAs"
    }, {
      "file": "HdfsToInitializer.java",
      "line": 60,
      "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer",
      "method": "initialize"
    }, {
      "file": "HdfsToInitializer.java",
      "line": 37,
      "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer",
      "method": "initialize"
    }, {
      "file": "JobManager.java",
      "line": 520,
      "class": "org.apache.sqoop.driver.JobManager$1",
      "method": "call"
    }, {
      "file": "JobManager.java",
      "line": 517,
      "class": "org.apache.sqoop.driver.JobManager$1",
      "method": "call"
    }, {
      "file": "ClassUtils.java",
      "line": 281,
      "class": "org.apache.sqoop.utils.ClassUtils",
      "method": "executeWithClassLoader"
    }, {
      "file": "JobManager.java",
      "line": 516,
      "class": "org.apache.sqoop.driver.JobManager",
      "method": "initializeConnector"
    }, {
      "file": "JobManager.java",
      "line": 424,
      "class": "org.apache.sqoop.driver.JobManager",
      "method": "createJobRequest"
    }, {
      "file": "JobManager.java",
      "line": 317,
      "class": "org.apache.sqoop.driver.JobManager",
      "method": "start"
    }, {
      "file": "JobRequestHandler.java",
      "line": 353,
      "class": "org.apache.sqoop.handler.JobRequestHandler",
      "method": "startJob"
    }, {
      "file": "JobRequestHandler.java",
      "line": 114,
      "class": "org.apache.sqoop.handler.JobRequestHandler",
      "method": "handleEvent"
    }, {
      "file": "JobServlet.java",
      "line": 84,
      "class": "org.apache.sqoop.server.v1.JobServlet",
      "method": "handlePutRequest"
    }, {
      "file": "SqoopProtocolServlet.java",
      "line": 81,
      "class": "org.apache.sqoop.server.SqoopProtocolServlet",
      "method": "doPut"
    }, {
      "file": "HttpServlet.java",
      "line": 710,
      "class": "javax.servlet.http.HttpServlet",
      "method": "service"
    }, {
      "file": "HttpServlet.java",
      "line": 790,
      "class": "javax.servlet.http.HttpServlet",
      "method": "service"
    }, {
      "file": "ServletHolder.java",
      "line": 808,
      "class": "org.eclipse.jetty.servlet.ServletHolder",
      "method": "handle"
    }, {
      "file": "ServletHandler.java",
      "line": 1669,
      "class": "org.eclipse.jetty.servlet.ServletHandler$CachedChain",
      "method": "doFilter"
    }, {
      "file": "AuthenticationFilter.java",
      "line": 595,
      "class": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
      "method": "doFilter"
    }, {
      "file": "DelegationTokenAuthenticationFilter.java",
      "line": 291,
      "class": "org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter",
      "method": "doFilter"
    }, {
      "file": "AuthenticationFilter.java",
      "line": 554,
      "class": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
      "method": "doFilter"
    }, {
      "file": "ServletHandler.java",
      "line": 1652,
      "class": "org.eclipse.jetty.servlet.ServletHandler$CachedChain",
      "method": "doFilter"
    }, {
      "file": "ServletHandler.java",
      "line": 585,
      "class": "org.eclipse.jetty.servlet.ServletHandler",
      "method": "doHandle"
    }, {
      "file": "ContextHandler.java",
      "line": 1127,
      "class": "org.eclipse.jetty.server.handler.ContextHandler",
      "method": "doHandle"
    }, {
      "file": "ServletHandler.java",
      "line": 515,
      "class": "org.eclipse.jetty.servlet.ServletHandler",
      "method": "doScope"
    }, {
      "file": "ContextHandler.java",
      "line": 1061,
      "class": "org.eclipse.jetty.server.handler.ContextHandler",
      "method": "doScope"
    }, {
      "file": "ScopedHandler.java",
      "line": 141,
      "class": "org.eclipse.jetty.server.handler.ScopedHandler",
      "method": "handle"
    }, {
      "file": "HandlerWrapper.java",
      "line": 97,
      "class": "org.eclipse.jetty.server.handler.HandlerWrapper",
      "method": "handle"
    }, {
      "file": "Server.java",
      "line": 499,
      "class": "org.eclipse.jetty.server.Server",
      "method": "handle"
    }, {
      "file": "HttpChannel.java",
      "line": 310,
      "class": "org.eclipse.jetty.server.HttpChannel",
      "method": "handle"
    }, {
      "file": "HttpConnection.java",
      "line": 257,
      "class": "org.eclipse.jetty.server.HttpConnection",
      "method": "onFillable"
    }, {
      "file": "AbstractConnection.java",
      "line": 540,
      "class": "org.eclipse.jetty.io.AbstractConnection$2",
      "method": "run"
    }, {
      "file": "ThreadPoolExecutor.java",
      "line": 1145,
      "class": "java.util.concurrent.ThreadPoolExecutor",
      "method": "runWorker"
    }, {
      "file": "ThreadPoolExecutor.java",
      "line": 615,
      "class": "java.util.concurrent.ThreadPoolExecutor$Worker",
      "method": "run"
    }, {"file": "Thread.java", "line": 745, "class": "java.lang.Thread", "method": "run"}],
    "class": "java.net.ConnectException"
  },
  "stack-trace": [{
    "file": "HdfsToInitializer.java",
    "line": 85,
    "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer",
    "method": "initialize"
  }, {
    "file": "HdfsToInitializer.java",
    "line": 37,
    "class": "org.apache.sqoop.connector.hdfs.HdfsToInitializer",
    "method": "initialize"
  }, {
    "file": "JobManager.java",
    "line": 520,
    "class": "org.apache.sqoop.driver.JobManager$1",
    "method": "call"
  }, {
    "file": "JobManager.java",
    "line": 517,
    "class": "org.apache.sqoop.driver.JobManager$1",
    "method": "call"
  }, {
    "file": "ClassUtils.java",
    "line": 281,
    "class": "org.apache.sqoop.utils.ClassUtils",
    "method": "executeWithClassLoader"
  }, {
    "file": "JobManager.java",
    "line": 516,
    "class": "org.apache.sqoop.driver.JobManager",
    "method": "initializeConnector"
  }, {
    "file": "JobManager.java",
    "line": 424,
    "class": "org.apache.sqoop.driver.JobManager",
    "method": "createJobRequest"
  }, {
    "file": "JobManager.java",
    "line": 317,
    "class": "org.apache.sqoop.driver.JobManager",
    "method": "start"
  }, {
    "file": "JobRequestHandler.java",
    "line": 353,
    "class": "org.apache.sqoop.handler.JobRequestHandler",
    "method": "startJob"
  }, {
    "file": "JobRequestHandler.java",
    "line": 114,
    "class": "org.apache.sqoop.handler.JobRequestHandler",
    "method": "handleEvent"
  }, {
    "file": "JobServlet.java",
    "line": 84,
    "class": "org.apache.sqoop.server.v1.JobServlet",
    "method": "handlePutRequest"
  }, {
    "file": "SqoopProtocolServlet.java",
    "line": 81,
    "class": "org.apache.sqoop.server.SqoopProtocolServlet",
    "method": "doPut"
  }, {
    "file": "HttpServlet.java",
    "line": 710,
    "class": "javax.servlet.http.HttpServlet",
    "method": "service"
  }, {
    "file": "HttpServlet.java",
    "line": 790,
    "class": "javax.servlet.http.HttpServlet",
    "method": "service"
  }, {
    "file": "ServletHolder.java",
    "line": 808,
    "class": "org.eclipse.jetty.servlet.ServletHolder",
    "method": "handle"
  }, {
    "file": "ServletHandler.java",
    "line": 1669,
    "class": "org.eclipse.jetty.servlet.ServletHandler$CachedChain",
    "method": "doFilter"
  }, {
    "file": "AuthenticationFilter.java",
    "line": 595,
    "class": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
    "method": "doFilter"
  }, {
    "file": "DelegationTokenAuthenticationFilter.java",
    "line": 291,
    "class": "org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter",
    "method": "doFilter"
  }, {
    "file": "AuthenticationFilter.java",
    "line": 554,
    "class": "org.apache.hadoop.security.authentication.server.AuthenticationFilter",
    "method": "doFilter"
  }, {
    "file": "ServletHandler.java",
    "line": 1652,
    "class": "org.eclipse.jetty.servlet.ServletHandler$CachedChain",
    "method": "doFilter"
  }, {
    "file": "ServletHandler.java",
    "line": 585,
    "class": "org.eclipse.jetty.servlet.ServletHandler",
    "method": "doHandle"
  }, {
    "file": "ContextHandler.java",
    "line": 1127,
    "class": "org.eclipse.jetty.server.handler.ContextHandler",
    "method": "doHandle"
  }, {
    "file": "ServletHandler.java",
    "line": 515,
    "class": "org.eclipse.jetty.servlet.ServletHandler",
    "method": "doScope"
  }, {
    "file": "ContextHandler.java",
    "line": 1061,
    "class": "org.eclipse.jetty.server.handler.ContextHandler",
    "method": "doScope"
  }, {
    "file": "ScopedHandler.java",
    "line": 141,
    "class": "org.eclipse.jetty.server.handler.ScopedHandler",
    "method": "handle"
  }, {
    "file": "HandlerWrapper.java",
    "line": 97,
    "class": "org.eclipse.jetty.server.handler.HandlerWrapper",
    "method": "handle"
  }, {
    "file": "Server.java",
    "line": 499,
    "class": "org.eclipse.jetty.server.Server",
    "method": "handle"
  }, {
    "file": "HttpChannel.java",
    "line": 310,
    "class": "org.eclipse.jetty.server.HttpChannel",
    "method": "handle"
  }, {
    "file": "HttpConnection.java",
    "line": 257,
    "class": "org.eclipse.jetty.server.HttpConnection",
    "method": "onFillable"
  }, {
    "file": "AbstractConnection.java",
    "line": 540,
    "class": "org.eclipse.jetty.io.AbstractConnection$2",
    "method": "run"
  }, {
    "file": "ThreadPoolExecutor.java",
    "line": 1145,
    "class": "java.util.concurrent.ThreadPoolExecutor",
    "method": "runWorker"
  }, {
    "file": "ThreadPoolExecutor.java",
    "line": 615,
    "class": "java.util.concurrent.ThreadPoolExecutor$Worker",
    "method": "run"
  }, {"file": "Thread.java", "line": 745, "class": "java.lang.Thread", "method": "run"}],
  "error-code": "GENERIC_HDFS_CONNECTOR_0007",
  "class": "org.apache.sqoop.common.SqoopException",
  "error-code-message": "Invalid input/output directory"
}

what we write in hdfs link uri config is : hdfs://localhost:9000
what we write in job outputDirectory config is : hdfs://localhost:9000/output/data or hdfs://localhost:9000/yaoutput

so , how can we deal with the problem ?

thank you very much.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant