Details
Description
com.google.common.io.NullOutputStream was dropped in Guava 15.0 in favor of com.google.common.io.ByteStreams.nullOutputStream() which prevents projects on this artifact from upgrading from Guava 14 to Guava 15.
ERROR 2013-09-26 17:46:12,229 [hbase.master.MasterFileSystem] bootstrap org.apache.hadoop.hbase.DroppedSnapshotException: region: -ROOT-,,0 at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1608) at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1482) at org.apache.hadoop.hbase.regionserver.HRegion.doClose(HRegion.java:1011) at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:959) at org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:930) at org.apache.hadoop.hbase.master.MasterFileSystem.bootstrap(MasterFileSystem.java:447) at org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:387) at org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:134) at org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:119) at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:536) at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:395) at java.lang.Thread.run(Thread.java:680) Caused by: java.lang.NoClassDefFoundError: com/google/common/io/NullOutputStream at org.apache.hadoop.hbase.io.hfile.HFileWriterV2.close(HFileWriterV2.java:374) at org.apache.hadoop.hbase.regionserver.StoreFile$Writer.close(StoreFile.java:1283) at org.apache.hadoop.hbase.regionserver.Store.internalFlushCache(Store.java:836) at org.apache.hadoop.hbase.regionserver.Store.flushCache(Store.java:747) at org.apache.hadoop.hbase.regionserver.Store$StoreFlusherImpl.flushCache(Store.java:2229) at org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1583) ... 11 more Caused by: java.lang.ClassNotFoundException: com.google.common.io.NullOutputStream 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) ... 17 more
Attachments
Attachments
Issue Links
- is related to
-
HDFS-7040 HDFS dangerously uses @Beta methods from very old versions of Guava
- Resolved
-
HADOOP-10101 Update guava dependency to the latest version
- Resolved