Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6055 Offline Snapshots in HBase 0.96
  3. HBASE-7352

clone operation from HBaseAdmin can hang forever.

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Sometimes the clone operation from the hbase shell can hang. The table has been created (it shows up in the web ui), but does not have any entries in META.

      There don't seem to be any clone, snapshot, enable or disable found in the master's jstack.

      Here's a trace from the HBaseAdmin:

      "main" prio=10 tid=0x00007f782800d000 nid=0x25c waiting on condition [0x00007f782f9bf000]
         java.lang.Thread.State: TIMED_WAITING (sleeping)
              at java.lang.Thread.sleep(Native Method)
              at org.apache.hadoop.hbase.client.HBaseAdmin.cloneSnapshot(HBaseAdmin.java:2413)
              at org.apache.hadoop.hbase.client.HBaseAdmin.cloneSnapshot(HBaseAdmin.java:2393)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:465)
              at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:323)
              at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:69)
              at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:201)
              at org.jruby.ast.CallTwoArgNode.interpret(CallTwoArgNode.java:59)
              at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104)
      ... (more jruby stack) ... 
      

      Attachments

        1. hbase-7352.v3.patch
          2 kB
          Jonathan Hsieh
        2. HBASE-7352-v2.patch
          2 kB
          Matteo Bertozzi
        3. HBASE-7352-v1.patch
          2 kB
          Matteo Bertozzi
        4. HBASE-7352-v0.patch
          0.8 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: