We use proprietary and third party´s cookies to improve your experience and our services, identifying your Internet Browsing preferences on our website; develop analytic activities and display advertising based on your preferences. If you keep browsing, you accept its use. You can get more information on our Cookie Policy
Cookies Policy
Ask Your Question
0

cosmos node is in safe mode, cannot execute query on hive

asked 2015-10-12 06:07:01 +0200

Hello, since last week when I try to query cosmos cluster with hive I'll get this error.

hive> select * from muv_tweet limit 10;
FAILED: RuntimeException org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /tmp/hive-alessio.caiazza/hive_2015-10-12_12-59-27_269_6614332063661032399-1. Name node is in safe mode.
Resources are low on NN. Safe mode must be turned off manually.
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:2140)
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:2114)
    at org.apache.hadoop.hdfs.server.namenode.NameNode.mkdirs(NameNode.java:892)
    at sun.reflect.GeneratedMethodAccessor586.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:557)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1439)
    at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1435)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1278)
    at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1433)

It sounds like a cluster problem and not something strictly related to my query.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2015-10-21 04:21:35 +0200

frb gravatar image

As the user should probably noticed, this was solved some time ago. It is not usual, but from time to time the cluster automatically enters in safe mode in certain scenarios in order to preserve the integrity of the data.

edit flag offensive delete link more

Comments

Yes I noticed. My question has been in moderation for about 10 days. Can I write an email directly to you if the same problem arise in the future?

nolith gravatar imagenolith ( 2015-10-21 04:39:01 +0200 )edit

Yes, this kind of service availability problems are better to be emailed rather than posted as a community question. Or if posted, an email is always useful for us, in order to react ASAP.

frb gravatar imagefrb ( 2015-10-21 05:33:19 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-10-12 06:07:01 +0200

Seen: 2,590 times

Last updated: Oct 21 '15