HDP on Linux – Installation Forum

issue with accessing hdfs from Autonomy

  • #28658
    Ardavan Moinzadeh
    Participant

    When I try to connect to Hadoop in my compartment from my Autonomy server to test Hadoop connector I get the error listed below, the settings from Autonomy connector job is:

    FileSystemRootUri=hdfs:// [IP address]:50070/webhdfs/v1
    FileSystemPath=/tmp/

    Here is the log:
    ” [1] 00-Always: JavaVersion: 1.6.0_01
    [1] 00-Always: JavaClassPath: .\lib\commons-configuration-1.6.jar;.\lib\commons-lang-2.4.jar;.\lib\commons-logging-1.1.1.jar;.\lib\HadoopConnector.jar;.\lib\JavaConnector.jar;.\hadoop-1.1.2\hadoop-client-1.1.2.jar;.\hadoop-1.1.2\hadoop-core-1.1.2.jar;.\hadoop-1.1.2\lib\commons-cli-1.2.jar;.\hadoop-1.1.2\lib\commons-codec-1.4.jar;.\hadoop-1.1.2\lib\commons-httpclient-3.0.1.jar;.\hadoop-1.1.2\lib\commons-logging-1.1.1.jar;.\hadoop-1.1.2\lib\commons-logging-api-1.0.4.jar;.\hadoop-1.1.2\lib\log4j-1.2.15.jar
    [1] 00-Always: JavaConnectorClass: com/autonomy/connector/hadoop/HadoopConnector
    [8] 70-Error: Exception in Java: java.io.IOException: Call to IP/IP:50070 failed on local exception: java.io.EOFException [8] 30-Normal: org.apache.hadoop.ipc.Client.wrapException(Client.java:1144)
    [8] 30-Normal: org.apache.hadoop.ipc.Client.call(Client.java:1112)
    org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
    [8] 30-Normal: $Proxy1.getProtocolVersion(Unknown Source)
    [8] 30-Normal: org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)
    [8] 30-Normal: org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:135)
    [8] 30-Normal: org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:276)
    [8] 30-Normal: org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:241)
    [8] 30-Normal: org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:100)
    [8] 30-Normal: org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:1411)
    [8] 30-Normal: org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:66)
    [8] 30-Normal: org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:1429)
    [8] 30-Normal: org.apache.hadoop.fs.FileSystem.get(FileSystem.java:254)
    [8] 30-Normal: com.autonomy.connector.hadoop.HadoopFileSystem.startJob(HadoopFileSystem.java:62)
    [8] 30-Normal: com.autonomy.connector.hadoop.HadoopConnector.synchronize(HadoopConnector.java:23)
    [10] 70-Error: Exception in Java: java.io.IOException: Call to IP.:50070 failed on local exception: java.io.IOException: An established connection was aborted by the software in your host machine
    [10] 30-Normal: org.apache.hadoop.ipc.Client.wrapException(Client.java:1144)
    [10] 30-Normal: org.apache.hadoop.ipc.Client.call(Client.java:1112)
    [10] 30-Normal: org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229)
    [10] 30-Normal: $Proxy1.getProtocolVersion(Unknown Source)
    [10] 30-Normal: org.apache.hadoop.ipc.RPC.getProxy(RPC.java:411)
    30-Normal: org.apache.hadoop.hdfs.DFSClient.createRPCNamenode(DFSClient.java:135)
    [10] 30-Normal: org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:276)

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #28687
    tedr
    Moderator

    Hi Ardavan,

    Not being familiar with Autonomy I can only guess, but have you tried to use the fully qualified host name rather than the ip? Hadoop in general prefers that you use hostnames rather than ips. And just to make sure here when you installed Hadoop did you use the Fully Qualified Host Names or the IP addresses?

    Thanks,
    Ted.

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.