On Wed, Jul 17, 2013 at 11:07 AM, ker can <kerca...@gmail.com> wrote:
> Hi,
>
> Has anyone got hbase working on ceph ? I've got ceph (cuttlefish) and
> hbase-0.94.9.
> My setup is erroring out looking for getDefaultReplication &
> getDefaultBlockSize ... but I can see those defined in
> core/org/apache/hadoop/fs/ceph/CephFileSystem.java

It looks like HBase is giving up trying to create a writer... The
lastIOE is probably an exception generated by CephFileSystem. Would it
be possible to add some debug info so we could see where the exception
is coming from? This try block seems to be masking that.

  public Writer createWriter(FileSystem fs, Configuration conf, Path
hlogFile) throws IOException {
    int i = 0;
    IOException lastIOE = null;
    do {
      try {
        return HLog.createWriter(fs, hlogFile, conf);
      } catch (IOException ioe) {
        lastIOE = ioe;
        sleepBeforeRetry("Create Writer", i+1);
      }
    } while (++i <= hdfsClientRetriesNumber);
    throw new IOException("Exception in createWriter", lastIOE);
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to