Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ambari Hive LLAP view error

avatar
Master Guru

I am trying to access ambari hive llap view and encounter error:

Service 'userhome' check failed: Operation category READ is not supported in state standby

any ideas? I do not get these error for the hive view.

log

 Service 'userhome' check failed:
org.apache.hadoop.ipc.StandbyException: Operation category READ is not supported in state standby
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
	at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.toIOException(WebHdfsFileSystem.java:509)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.access$800(WebHdfsFileSystem.java:113)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.shouldRetry(WebHdfsFileSystem.java:801)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.runWithRetry(WebHdfsFileSystem.java:767)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.access$100(WebHdfsFileSystem.java:582)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner$1.run(WebHdfsFileSystem.java:612)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem$AbstractRunner.run(WebHdfsFileSystem.java:608)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getHdfsFileStatus(WebHdfsFileSystem.java:987)
	at org.apache.hadoop.hdfs.web.WebHdfsFileSystem.getFileStatus(WebHdfsFileSystem.java:1003)
	at org.apache.ambari.view.utils.hdfs.HdfsApi$3.run(HdfsApi.java:127)
	at org.apache.ambari.view.utils.hdfs.HdfsApi$3.run(HdfsApi.java:125)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:422)
	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1724)
	at org.apache.ambari.view.utils.hdfs.HdfsApi.execute(HdfsApi.java:397)

1 ACCEPTED SOLUTION

avatar
Master Guru

@Artem Ervits @Timothy Spann I have confirmed this is a known bug. fixed in next patch.

View solution in original post

4 REPLIES 4

avatar
Master Guru

and normal ambari hive it working? weird error, like hadoop is not running.

https://community.hortonworks.com/questions/9790/orgapachehadoopipcstandbyexception.html

Is HDFS in read only mode? Drive issues? Everything else working? Any other logs.

avatar
Master Mentor

Is hdfs in standby? Usually I encounter this when HA is enabled and you're hitting same node. I would check name service ID as both maybe referencing same node. It is easy to fat finger this. alzo make sure proxy user is set http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.2.0/bk_ambari-views/content/settings_and_cluster...

avatar
Master Mentor

avatar
Master Guru

@Artem Ervits @Timothy Spann I have confirmed this is a known bug. fixed in next patch.