You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Kirankumar Bhusanurmath (JIRA)" <ji...@apache.org> on 2018/11/06 05:46:00 UTC
[jira] [Created] (AMBARI-24860) Hadoop RPC setStoragePolicy No such
method exception
Kirankumar Bhusanurmath created AMBARI-24860:
------------------------------------------------
Summary: Hadoop RPC setStoragePolicy No such method exception
Key: AMBARI-24860
URL: https://issues.apache.org/jira/browse/AMBARI-24860
Project: Ambari
Issue Type: Bug
Components: ambari-server
Affects Versions: 2.7.1
Environment: HDP 3.0.1
Ambari 2.7.1
OneFS 8.1.2
Reporter: Kirankumar Bhusanurmath
Ambari 2.7.1 / HDP 3.0.1 deployed on OneFS 8.1.2 with OneFS management pack V1.
The yarn-ats service fails to start ats-hbase app in both unsecured and secured app and below error and warning messages appear in the respective logs.
OneFS HDFS log
2018-11-01T10:25:19Z <30.6> kbhusan-2oq1zs7-1 hdfs[2604]: [hdfs] RPC V9
user: yarn-ats exception: org.apache.hadoop.ipc.RpcNoSuchMethodException
cause: Unknown RPC: setStoragePolicy
/var/log/hadoop-yarn/embedded-yarn-ats-hbase
2018-11-02 05:07:21,027 WARN [StoreOpener-1588230740-1] util.CommonFSUtils: Unable to set storagePolicy=HOT for path=hdfs://kb-hdp-1.west.isilon.com:8020/atsv2/hbase/data/data/hbase/meta/1588230740/info. DEBUG log level might have more details.
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
Adding below 2 properties in custom yarn-hbase-site.xml file solved the issue
set 'hbase.wal.storage.policy' to "NONE"
set `hbase.hstore.block.storage.policy` to `NONE`
Please help to add these 2 properties in the OneFS management pack.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)