java.io.IOException: Could not create FileClient

Google Groups | ZT | 4 months ago
  1. 0

    Trouble running TestDFSIO over Alluxio-1.3/MapR-FS 5.0.0

    Google Groups | 4 months ago | ZT
    java.io.IOException: Could not create FileClient
  2. 0

    1.Create a default Mapr Cluster. {code} cluster name: default_mapr, distro: mapr, status: RUNNING GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) ------------------------------------------------------------------------------------------------------------------------------------------------------------ master [mapr_cldb, mapr_jobtracker, mapr_nfs, mapr_webserver, mapr_fileserver, mapr_tasktracker, mapr_metrics] 3 2 7680 LOCAL 50 NODE NAME HOST IP STATUS ------------------------------------------------------------------------------------------- default_mapr-master-0 sin2-pekaurora-bdcqe007.eng.vmware.com 10.111.89.74 Service Ready default_mapr-master-1 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.240 Service Ready default_mapr-master-2 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.89.75 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) ---------------------------------------------------------------------- zookeeper [mapr_zookeeper] 3 1 1024 SHARED 20 NODE NAME HOST IP STATUS ---------------------------------------------------------------------------------------------- default_mapr-zookeeper-0 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.146 Service Ready default_mapr-zookeeper-1 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.88.74 Service Ready default_mapr-zookeeper-2 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.88.239 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) -------------------------------------------------------------------------------------------------- worker [mapr_nfs, mapr_fileserver, mapr_tasktracker] 3 2 4096 LOCAL 50 NODE NAME HOST IP STATUS ------------------------------------------------------------------------------------------- default_mapr-worker-1 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.211 Service Ready default_mapr-worker-0 sin2-pekaurora-bdcqe007.eng.vmware.com 10.111.88.63 Service Ready default_mapr-worker-2 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.88.227 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) --------------------------------------------------------------------------- client [mapr_pig, mapr_hive] 1 1 4096 SHARED 50 NODE NAME HOST IP STATUS ------------------------------------------------------------------------------------------ default_mapr-client-0 sin2-pekaurora-bdcqe007.eng.vmware.com 10.111.88.72 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) -------------------------------------------------------------------------- mysqlserver [mapr_mysql_server] 1 1 1024 SHARED 20 NODE NAME HOST IP STATUS ----------------------------------------------------------------------------------------------- default_mapr-mysqlserver-0 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.23 Service Ready {code} 2.Log on client vm. 3.Run following hdfs command on client vm. {code} [mapr@10 ~]$ hadoop fs -ls / 13/01/29 02:32:26 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 2013-01-29 02:32:26,4263 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1091656000 Failed to initialize client for cluster 127.0.0.1:7222, error Connection reset by peer(104) ls: Could not create FileClient [mapr@10 ~]$ hadoop fs -put /etc/yum.conf /myvolume 13/01/29 01:22:30 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 2013-01-29 01:22:30,8009 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1081342272 Failed to initialize client for cluster 127.0.0.1:7222, error Connection reset by peer(104) put: Could not create FileClient hadoop fs -mkdir /myvolume/count/in 13/01/29 01:21:26 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 2013-01-29 01:21:26,3330 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1096509760 Failed to initialize client for cluster 127.0.0.1:7222, error Connection reset by peer(104) mkdir: Could not create FileClient hadoop jar /opt/mapr/hadoop/hadoop-0.20.2/hadoop-0.20.2-dev-test.jar TestDFSIO -write -nrFiles 5 -fileSize 100 TestDFSIO.0.0.4 13/01/29 01:23:58 INFO fs.TestDFSIO: nrFiles = 5 13/01/29 01:23:58 INFO fs.TestDFSIO: fileSize (MB) = 100.0 13/01/29 01:23:58 INFO fs.TestDFSIO: bufferSize = 1000000 13/01/29 01:23:58 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 13/01/29 01:23:58 INFO fs.TestDFSIO: baseDir = /benchmarks/TestDFSIO 13/01/29 01:23:58 INFO fs.TestDFSIO: creating control file: 104857600 bytes, 5 files 2013-01-29 01:23:58,7547 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1076787520 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:237) at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:249) at com.mapr.fs.MapRFileSystem.delete(MapRFileSystem.java:504) at org.apache.hadoop.fs.TestDFSIO.createControlFile(TestDFSIO.java:175) at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:677) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:197) {code}

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.io.IOException: Could not create FileClient
  3. 0

    1.Create a default Mapr Cluster. {code} cluster name: default_mapr, distro: mapr, status: RUNNING GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) ------------------------------------------------------------------------------------------------------------------------------------------------------------ master [mapr_cldb, mapr_jobtracker, mapr_nfs, mapr_webserver, mapr_fileserver, mapr_tasktracker, mapr_metrics] 3 2 7680 LOCAL 50 NODE NAME HOST IP STATUS ------------------------------------------------------------------------------------------- default_mapr-master-0 sin2-pekaurora-bdcqe007.eng.vmware.com 10.111.89.74 Service Ready default_mapr-master-1 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.240 Service Ready default_mapr-master-2 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.89.75 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) ---------------------------------------------------------------------- zookeeper [mapr_zookeeper] 3 1 1024 SHARED 20 NODE NAME HOST IP STATUS ---------------------------------------------------------------------------------------------- default_mapr-zookeeper-0 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.146 Service Ready default_mapr-zookeeper-1 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.88.74 Service Ready default_mapr-zookeeper-2 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.88.239 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) -------------------------------------------------------------------------------------------------- worker [mapr_nfs, mapr_fileserver, mapr_tasktracker] 3 2 4096 LOCAL 50 NODE NAME HOST IP STATUS ------------------------------------------------------------------------------------------- default_mapr-worker-1 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.211 Service Ready default_mapr-worker-0 sin2-pekaurora-bdcqe007.eng.vmware.com 10.111.88.63 Service Ready default_mapr-worker-2 sin2-pekaurora-bdcqe010.eng.vmware.com 10.111.88.227 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) --------------------------------------------------------------------------- client [mapr_pig, mapr_hive] 1 1 4096 SHARED 50 NODE NAME HOST IP STATUS ------------------------------------------------------------------------------------------ default_mapr-client-0 sin2-pekaurora-bdcqe007.eng.vmware.com 10.111.88.72 Service Ready GROUP NAME ROLES INSTANCE CPU MEM(MB) TYPE SIZE(GB) -------------------------------------------------------------------------- mysqlserver [mapr_mysql_server] 1 1 1024 SHARED 20 NODE NAME HOST IP STATUS ----------------------------------------------------------------------------------------------- default_mapr-mysqlserver-0 sin2-pekaurora-bdcqe011.eng.vmware.com 10.111.88.23 Service Ready {code} 2.Log on client vm. 3.Run following hdfs command on client vm. {code} [mapr@10 ~]$ hadoop fs -ls / 13/01/29 02:32:26 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 2013-01-29 02:32:26,4263 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1091656000 Failed to initialize client for cluster 127.0.0.1:7222, error Connection reset by peer(104) ls: Could not create FileClient [mapr@10 ~]$ hadoop fs -put /etc/yum.conf /myvolume 13/01/29 01:22:30 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 2013-01-29 01:22:30,8009 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1081342272 Failed to initialize client for cluster 127.0.0.1:7222, error Connection reset by peer(104) put: Could not create FileClient hadoop fs -mkdir /myvolume/count/in 13/01/29 01:21:26 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 2013-01-29 01:21:26,3330 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1096509760 Failed to initialize client for cluster 127.0.0.1:7222, error Connection reset by peer(104) mkdir: Could not create FileClient hadoop jar /opt/mapr/hadoop/hadoop-0.20.2/hadoop-0.20.2-dev-test.jar TestDFSIO -write -nrFiles 5 -fileSize 100 TestDFSIO.0.0.4 13/01/29 01:23:58 INFO fs.TestDFSIO: nrFiles = 5 13/01/29 01:23:58 INFO fs.TestDFSIO: fileSize (MB) = 100.0 13/01/29 01:23:58 INFO fs.TestDFSIO: bufferSize = 1000000 13/01/29 01:23:58 WARN fs.MapRFileSystem: Could not find any cluster, defaulting to localhost 13/01/29 01:23:58 INFO fs.TestDFSIO: baseDir = /benchmarks/TestDFSIO 13/01/29 01:23:58 INFO fs.TestDFSIO: creating control file: 104857600 bytes, 5 files 2013-01-29 01:23:58,7547 ERROR Client fs/client/fileclient/cc/client.cc:304 Thread: 1076787520 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:237) at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:249) at com.mapr.fs.MapRFileSystem.delete(MapRFileSystem.java:504) at org.apache.hadoop.fs.TestDFSIO.createControlFile(TestDFSIO.java:175) at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:677) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79) at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:537) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68) at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139) at org.apache.hadoop.test.AllTestDriver.main(AllTestDriver.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.hadoop.util.RunJar.main(RunJar.java:197) {code}

    SpringSource Issue Tracker | 4 years ago | Yifeng Xiao
    java.io.IOException: Could not create FileClient
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOException: Could not create FileClient | MapR Converge Community

    mapr.com | 3 months ago
    java.io.IOException: Could not create FileClient
  6. 0

    Debugging Connection Problems - MapR Answers

    mapr.com | 12 months ago
    java.io.IOException: Could not create FileClient

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Could not create FileClient

      at com.mapr.fs.MapRFileSystem.lookupClient()
    2. com.mapr.fs
      MapRFileSystem.delete
      1. com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:609)
      2. com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:670)
      3. com.mapr.fs.MapRFileSystem.delete(MapRFileSystem.java:1135)
      3 frames
    3. Hadoop
      TestDFSIO.main
      1. org.apache.hadoop.fs.TestDFSIO.createControlFile(TestDFSIO.java:300)
      2. org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:973)
      3. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
      4. org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
      5. org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:870)
      5 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. Hadoop
      ProgramDriver.run
      1. org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
      2. org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
      2 frames
    6. org.apache.hadoop
      MapredTestDriver.main
      1. org.apache.hadoop.test.MapredTestDriver.run(MapredTestDriver.java:130)
      2. org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:138)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    8. Hadoop
      RunJar.main
      1. org.apache.hadoop.util.RunJar.run(RunJar.java:221)
      2. org.apache.hadoop.util.RunJar.main(RunJar.java:136)
      2 frames