Tried to create mxArray of unsupported type. Java type: java.util.ArrayList
时间: 2024-02-26 10:54:10 浏览: 205
这个错误通常是因为您正在尝试将一个不支持的Java类型转换为MATLAB的数据类型。请确保您的Java代码将数据转换为MATLAB支持的数据类型,例如double、int或char等。您也可以尝试使用Java中的其他数据结构,如数组或哈希表,以便更轻松地将数据传递给MATLAB。如果问题仍然存在,请提供更多上下文或代码以供参考。
相关问题
hadoop fs -ls 23/06/11 11:09:09 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 0 time(s). 23/06/11 11:09:10 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 1 time(s). 23/06/11 11:09:11 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 2 time(s). 23/06/11 11:09:12 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 3 time(s). 23/06/11 11:09:13 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 4 time(s). 23/06/11 11:09:14 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 5 time(s). 23/06/11 11:09:15 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 6 time(s). 23/06/11 11:09:16 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 7 time(s). 23/06/11 11:09:17 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 8 time(s). 23/06/11 11:09:18 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 9 time(s). Bad connection to FS. command aborted.
这个错误信息表明 Hadoop 客户端无法连接到 Hadoop 文件系统。可能是由于文件系统宕机、网络故障、配置错误或其他原因导致。建议检查 Hadoop 集群的状态和配置,以及网络连接是否正常。您可以尝试使用 ping 命令检查网络连接是否正常。如果网络连接正常,您可以查看 Hadoop 集群的日志文件,查找更详细的错误信息以解决问题。
hadoop dfsadmin -safemode leave 23/06/11 10:14:32 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 0 time(s). 23/06/11 10:14:33 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 1 time(s). 23/06/11 10:14:34 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 2 time(s). 23/06/11 10:14:35 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 3 time(s). 23/06/11 10:14:36 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 4 time(s). 23/06/11 10:14:37 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 5 time(s). 23/06/11 10:14:38 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 6 time(s). 23/06/11 10:14:39 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 7 time(s). 23/06/11 10:14:40 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 8 time(s). 23/06/11 10:14:41 INFO ipc.Client: Retrying connect to server: /192.168.0.169:9000. Already tried 9 time(s). Bad connection to DFS... command aborted.
这段信息是关于 Hadoop 的 dfsadmin 命令在执行 "safemode leave" 操作时连接到服务器失败的日志信息。根据日志信息,客户端尝试连接到服务器 /192.168.0.169:9000,但连接失败了。由于连接失败多次,最终命令被中止了。这可能是由于网络连接问题或服务器故障引起的。
阅读全文