zoukankan      html  css  js  c++  java
  • Hadoop 客户端问题

    错误:

    log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
    Exception in thread "main" java.net.ConnectException: Call From DESKTOP-PU0J6PO/192.168.32.1 to s101:8020 failed on connection exception: java.net.ConnectException: Connection refused: no further information; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
     at java.lang.reflect.Constructor.newInstance(Unknown Source)
     at org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:792)
     at org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:732)
     at org.apache.hadoop.ipc.Client.call(Client.java:1479)
     at org.apache.hadoop.ipc.Client.call(Client.java:1412)
     at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:229)
     at com.sun.proxy.$Proxy9.getFileInfo(Unknown Source)
     at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getFileInfo(ClientNamenodeProtocolTranslatorPB.java:771)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
     at java.lang.reflect.Method.invoke(Unknown Source)
     at org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:191)
     at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:102)
     at com.sun.proxy.$Proxy10.getFileInfo(Unknown Source)
     at org.apache.hadoop.hdfs.DFSClient.getFileInfo(DFSClient.java:2108)
     at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1305)
     at org.apache.hadoop.hdfs.DistributedFileSystem$22.doCall(DistributedFileSystem.java:1301)
     at org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
     at org.apache.hadoop.hdfs.DistributedFileSystem.getFileStatus(DistributedFileSystem.java:1301)
     at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1424)
     at org.apache.hadoop.fs.FileUtil.checkDest(FileUtil.java:496)
     at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:348)
     at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:338)
     at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1965)
     at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1933)
     at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1898)
     at big_demo1.FS_demo.main(FS_demo.java:15)
    Caused by: java.net.ConnectException: Connection refused: no further information
     at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
     at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
     at org.apache.hadoop.net.SocketIOWithTimeout.connect(SocketIOWithTimeout.java:206)
     at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:531)
     at org.apache.hadoop.net.NetUtils.connect(NetUtils.java:495)
     at org.apache.hadoop.ipc.Client$Connection.setupConnection(Client.java:614)
     at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:712)
     at org.apache.hadoop.ipc.Client$Connection.access$2900(Client.java:375)
     at org.apache.hadoop.ipc.Client.getConnection(Client.java:1528)

    错误原因:

    端口啊!!!!!!!!!

  • 相关阅读:
    @WebFilter注解
    Value '0000-00-00' can not be represented as java.sql.Date解决办法
    项目配置 xml文件时 报错提示(The reference to entity "useSSL" must end with the ';' delimiter.)
    eclipse中取消自动生成的TODO Auto-generated method stub
    eclipse中把选中的代码全部变成大写或者小写的快捷键
    在浏览器访问Tomcat的时候报错java.lang.IllegalArgumentException: Control character in cookie value or attribute.
    Tomcat报错,内存溢出的错误Exception in thread "http-bio-8080-exec-13" java.lang.OutOfMemoryError: PermGen space
    java.io.Serializable的作用
    idea快捷键总结
    MYSQL分页limit速度太慢优化方法
  • 原文地址:https://www.cnblogs.com/wbdream/p/9833111.html
Copyright © 2011-2022 走看看