AnsweredAssumed Answered

java.io.IOException: Could not create FileClient

Question asked by matroyd on Sep 10, 2012
Latest reply on Feb 17, 2017 by karthikSpark

Using v1.2.9 client on Linux 64-bit getting following error:

 

       

2012-09-11 01:08:20,6929 ERROR Cidcache fs/client/fileclient/cc/cidcache.cc:1095 Thread: 1082726720 Lookup of volume mapr.cluster.root failed, error Connection reset by peer(104), CLDB: 127.0.0.1:7222 trying another CLDB
    2012-09-11 01:08:20,6953 ERROR Client fs/client/fileclient/cc/client.cc:233 Thread: 1082726720 Failed to initialize client for cluster 127.0.0.1:7222, error Connection reset by peer(104)
    java.io.IOException: Could not create FileClient
            at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:208)
            at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:218)
            at com.mapr.fs.MapRFileSystem.getMapRFileStatus(MapRFileSystem.java:517)
            at com.mapr.fs.MapRFileSystem.getFileStatus(MapRFileSystem.java:531)
            at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:752)

We are using HDFS API to create FileSystem and set

 

> fs.defaultFS

 

to the accurate URL in Configuration. But it seems to use 127.0.0.1 instead
Please advice

Outcomes