Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-9667

NullOutputStream removed from Guava 15

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.98.0, 0.94.12, 0.96.1
    • 0.98.0, 0.96.0
    • None
    • None
    • Reviewed

    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

        1. 9667.v1.patch
          10 kB
          Nicolas Liochon
        2. 9667.v2.patch
          11 kB
          Nicolas Liochon
        3. 9667.v3.patch
          11 kB
          Nicolas Liochon

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              mdgreenfield Matt Greenfield
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: