org.apache.hadoop.hbase.DroppedSnapshotException: region: -ROOT-,,0

Apache's JIRA Issue Tracker | Matt Greenfield | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to Rafael Fischer Viola and rafael . Or join the community to write better ones.
  1. 0

    {{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. {noformat} 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 {noformat}

    Apache's JIRA Issue Tracker | 3 years ago | Matt Greenfield
    org.apache.hadoop.hbase.DroppedSnapshotException: region: -ROOT-,,0
  2. 0

    Re: Guava 15

    hbase-user | 3 years ago | Kristoffer Sjögren
    org.apache.hadoop.hbase.DroppedSnapshotException: region: -ROOT-,,0
  3. 0
    samebug tip
    This exception normally means you either have to add the said class to your dependencies or you miswrote it. Look in the documentation of your library how to add it as a dependency.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    If you're using Hibernate, this indicates you're missing FasterXML Classmate dependency, which you can add with the following: <groupId>com.fasterxml</groupId> <artifactId>classmate</artifactId> <version>1.0</version>
  6. 0
    samebug tip
    This was caused by a failure to instantiate Kafka broker. Check your dependencies.

  1. rsprangemeijer 6 times, last 2 days ago
  2. marcbouvierdav 26 times, last 4 days ago
  3. batwalrus76 12 times, last 4 days ago
  4. musketyr 1 times, last 5 days ago
  5. SteVio1989 4 times, last 5 days ago
69 more registered users
26 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    com.google.common.io.NullOutputStream

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    6 frames
  3. HBase
    HFileWriterV2.close
    1. org.apache.hadoop.hbase.io.hfile.HFileWriterV2.close(HFileWriterV2.java:374)
    1 frame
  4. HBase - Client
    HMaster.run
    1. org.apache.hadoop.hbase.regionserver.StoreFile$Writer.close(StoreFile.java:1283)
    2. org.apache.hadoop.hbase.regionserver.Store.internalFlushCache(Store.java:836)
    3. org.apache.hadoop.hbase.regionserver.Store.flushCache(Store.java:747)
    4. org.apache.hadoop.hbase.regionserver.Store$StoreFlusherImpl.flushCache(Store.java:2229)
    5. org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1583)
    6. org.apache.hadoop.hbase.regionserver.HRegion.internalFlushcache(HRegion.java:1482)
    7. org.apache.hadoop.hbase.regionserver.HRegion.doClose(HRegion.java:1011)
    8. org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:959)
    9. org.apache.hadoop.hbase.regionserver.HRegion.close(HRegion.java:930)
    10. org.apache.hadoop.hbase.master.MasterFileSystem.bootstrap(MasterFileSystem.java:447)
    11. org.apache.hadoop.hbase.master.MasterFileSystem.checkRootDir(MasterFileSystem.java:387)
    12. org.apache.hadoop.hbase.master.MasterFileSystem.createInitialFileSystemLayout(MasterFileSystem.java:134)
    13. org.apache.hadoop.hbase.master.MasterFileSystem.<init>(MasterFileSystem.java:119)
    14. org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:536)
    15. org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:395)
    15 frames
  5. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:680)
    1 frame