[ 
https://issues.apache.org/jira/browse/HBASE-5542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228022#comment-13228022
 ] 

Phabricator commented on HBASE-5542:
------------------------------------

sc has commented on the revision "HBASE-5542 [jira] Unify 
HRegion.mutateRowsWithLocks() and HRegion.processRow()".

  Here's the stack trace of failure. I don't think it is because of this patch.

  
1929eb130380/TestIncrementtestMultiRowMutationMultiThreads/testtable/991d8e4274ee2684b0b8f79e8f31f154/.logs/hlog.1331589169193
  2012-03-12 21:52:49,195 INFO  [pool-1-thread-1] wal.HLog(475): 
getNumCurrentReplicas--HDFS-826 not available; 
hdfs_out=org.apache.hadoop.fs.FSDataOutputStream@1741361
  java.lang.NoSuchMethodException: 
org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSOutputSummer.getNumCurrentReplicas()
        at java.lang.Class.getDeclaredMethod(Class.java:1937)
        at 
org.apache.hadoop.hbase.regionserver.wal.HLog.getGetNumCurrentReplicas(HLog.java:460)
        at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:443)
        at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:341)
        at 
org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:3596)
        at 
org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:3563)
        at 
org.apache.hadoop.hbase.regionserver.TestAtomicOperation.initHRegion(TestAtomicOperation.java:214)
        at 
org.apache.hadoop.hbase.regionserver.TestAtomicOperation.initHRegion(TestAtomicOperation.java:197)
        at 
org.apache.hadoop.hbase.regionserver.TestAtomicOperation.testMultiRowMutationMultiThreads(TestAtomicOperation.java:341)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:243)
        at junit.framework.TestSuite.run(TestSuite.java:238)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:24)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)

REVISION DETAIL
  https://reviews.facebook.net/D2217

                
> Unify HRegion.mutateRowsWithLocks() and HRegion.processRow()
> ------------------------------------------------------------
>
>                 Key: HBASE-5542
>                 URL: https://issues.apache.org/jira/browse/HBASE-5542
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Scott Chen
>            Assignee: Scott Chen
>             Fix For: 0.96.0
>
>         Attachments: HBASE-5542.D2217.1.patch, HBASE-5542.D2217.10.patch, 
> HBASE-5542.D2217.2.patch, HBASE-5542.D2217.3.patch, HBASE-5542.D2217.4.patch, 
> HBASE-5542.D2217.5.patch, HBASE-5542.D2217.6.patch, HBASE-5542.D2217.7.patch, 
> HBASE-5542.D2217.8.patch, HBASE-5542.D2217.9.patch
>
>
> mutateRowsWithLocks() does atomic mutations on multiple rows.
> processRow() does atomic read-modify-writes on a single row.
> It will be useful to generalize both and have a
> processRowsWithLocks() that does atomic read-modify-writes on multiple rows.
> This also helps reduce some redundancy in the codes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to