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

Apache's JIRA Issue Tracker | Matt Greenfield | 4 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 | 4 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
    A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.
  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
    Check if you didn't forget to instantiate your topic in the kafka broker.

  1. osvzs 4 times, last 1 week ago
  2. olle.hallin 3 times, last 4 days ago
  3. rp 1 times, last 1 week ago
  4. Dunmer 1 times, last 2 weeks ago
  5. poroszd 1 times, last 3 weeks ago
78 more registered users
17 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