2

尝试运行简单的 hdfs 查询失败:

[ms@cosmosmaster-gi ~]$  hadoop fs -ls /user/ms/def_serv/def_servpath
Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
   /tmp/hsperfdata_ms/21066
Try using the -Djava.io.tmpdir= option to select an alternate temp location.

Exception in thread "main" java.lang.NoClassDefFoundError: ___/tmp/hsperfdata_ms/21078
Caused by: java.lang.ClassNotFoundException: ___.tmp.hsperfdata_ms.21078
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: ___/tmp/hsperfdata_ms/21078.  Program will exit.

知道如何解决这个问题或增加配额吗?

谢谢!

小姐

4

1 回答 1

0

您的配额尚未超出(请参阅下面的命令),但这是集群的问题。现在应该修好了。

$ hadoop fs -dus /user/ms
hdfs://cosmosmaster-gi/user/ms  90731
于 2015-11-19T21:45:35.093 回答