hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Debraj Manna <subharaj.ma...@gmail.com>
Subject HBase 2.1.0 - NoSuchMethodException org.apache.hadoop.fs.LocalFileSystem.setStoragePolicy
Date Tue, 21 Jul 2020 09:28:12 GMT
Hi

I am using HBase 2.1.0 with Hadoop 3.0.0. In hbase master logs I am
seeing a warning like below

2020-07-20 06:02:24,859 WARN  [StoreOpener-1588230740-1]
util.CommonFSUtils: FileSystem doesn't support setStoragePolicy;
HDFS-6584, HDFS-9345 not available. This is normal and expected on
earlier Hadoop versions.
java.lang.NoSuchMethodException:
org.apache.hadoop.fs.LocalFileSystem.setStoragePolicy(org.apache.hadoop.fs.Path,
java.lang.String)
        at java.lang.Class.getDeclaredMethod(Class.java:2130)
        at org.apache.hadoop.hbase.util.CommonFSUtils.invokeSetStoragePolicy(CommonFSUtils.java:577)
        at org.apache.hadoop.hbase.util.CommonFSUtils.setStoragePolicy(CommonFSUtils.java:558)
        at org.apache.hadoop.hbase.util.CommonFSUtils.setStoragePolicy(CommonFSUtils.java:526)
        at org.apache.hadoop.hbase.regionserver.HRegionFileSystem.setStoragePolicy(HRegionFileSystem.java:194)
        at org.apache.hadoop.hbase.regionserver.HStore.<init>(HStore.java:264)
        at org.apache.hadoop.hbase.regionserver.HRegion.instantiateHStore(HRegion.java:5731)
        at org.apache.hadoop.hbase.regionserver.HRegion$1.call(HRegion.java:1059)
        at org.apache.hadoop.hbase.regionserver.HRegion$1.call(HRegion.java:1056)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)

As per my understanding, this error should not be coming with Hadoop
3.0.0. Can someone let me know if my understanding is correct or what
could be going wrong here?

Mime
View raw message