hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nkeywal (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4764) naming errors for TestHLogUtils and SoftValueSortedMapTest
Date Mon, 14 Nov 2011 21:26:51 GMT

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

nkeywal commented on HBASE-4764:
--------------------------------

It's gonna be difficult :-). I will have a look at my own stack, but I don't know if they
have a lot of value. Here is an extract from yesterday:

{noformat}

Thread 2916: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.blockUntilAvailable(long, boolean)
@bci=113, line=134 (Interpreted frame)
 - org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(long) @bci=32,
line=83 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[], boolean) @bci=75, line=753 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.relocateRegion(byte[],
byte[]) @bci=4, line=739 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionLocation(byte[],
byte[], boolean) @bci=7, line=658 (Interpreted frame)
 - org.apache.hadoop.hbase.client.ServerCallable.connect(boolean) @bci=14, line=75 (Interpreted
frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionServerWithRetries(org.apache.hadoop.hbase.client.ServerCallable)
@bci=32, line=1241 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HTable.get(org.apache.hadoop.hbase.client.Get) @bci=29,
line=589 (Interpreted frame)
 - org.apache.hadoop.hbase.catalog.MetaReader.get(org.apache.hadoop.hbase.client.HTable, org.apache.hadoop.hbase.client.Get)
@bci=2, line=245 (Interpreted frame)
 - org.apache.hadoop.hbase.catalog.MetaReader.getRegion(org.apache.hadoop.hbase.catalog.CatalogTracker,
byte[]) @bci=23, line=347 (Interpreted frame)
 - org.apache.hadoop.hbase.catalog.MetaReader.readRegionLocation(org.apache.hadoop.hbase.catalog.CatalogTracker,
byte[]) @bci=2, line=287 (Interpreted frame)
 - org.apache.hadoop.hbase.catalog.MetaReader.getMetaRegionLocation(org.apache.hadoop.hbase.catalog.CatalogTracker)
@bci=4, line=274 (Interpreted frame)
 - org.apache.hadoop.hbase.catalog.CatalogTracker.getMetaServerConnection() @bci=50, line=399
(Interpreted frame)
 - org.apache.hadoop.hbase.catalog.CatalogTracker.waitForMeta(long) @bci=45, line=458 (Interpreted
frame)
 - org.apache.hadoop.hbase.master.handler.CreateTableHandler.<init>(org.apache.hadoop.hbase.Server,
org.apache.hadoop.hbase.master.MasterFileSystem, org.apache.hadoop.hbase.master.ServerManager,
org.apache.hadoop.hbase.HTableDescriptor, org.apache.hadoop.conf.Configuration, org.apache.hadoop.hbase.HRegionInfo[],
org.apache.hadoop.hbase.catalog.CatalogTracker, org.apache.hadoop.hbase.master.AssignmentManager)
@bci=65, line=80 (Interpreted frame)
 - org.apache.hadoop.hbase.master.HMaster.createTable(org.apache.hadoop.hbase.HTableDescriptor,
byte[][]) @bci=69, line=998 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) @bci=0 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87,
line=39 (Interpreted frame)
 - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6,
line=25 (Compiled frame)
 - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=161, line=597
(Compiled frame)
 - org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(java.lang.Class, org.apache.hadoop.io.Writable,
long, org.apache.hadoop.hbase.monitoring.MonitoredRPCHandler) @bci=279, line=364 (Interpreted
frame)
 - org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run() @bci=236, line=1306 (Interpreted
frame)


Thread 2378: (state = BLOCKED)
 - java.lang.Object.wait(long) @bci=0 (Interpreted frame)
 - org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker.blockUntilAvailable(long, boolean)
@bci=113, line=134 (Interpreted frame)
 - org.apache.hadoop.hbase.zookeeper.RootRegionTracker.waitRootRegionLocation(long) @bci=32,
line=83 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[], boolean) @bci=75, line=753 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[]) @bci=4, line=733 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegionInMeta(byte[],
byte[], byte[], boolean, java.lang.Object) @bci=97, line=866 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[], boolean) @bci=189, line=765 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(byte[],
byte[]) @bci=4, line=733 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionLocation(byte[],
byte[], boolean) @bci=16, line=658 (Interpreted frame)
 - org.apache.hadoop.hbase.client.ServerCallable.connect(boolean) @bci=14, line=75 (Interpreted
frame)
 - org.apache.hadoop.hbase.client.ScannerCallable.connect(boolean) @bci=13, line=72 (Interpreted
frame)
 - org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.getRegionServerWithRetries(org.apache.hadoop.hbase.client.ServerCallable)
@bci=32, line=1241 (Interpreted frame)
 - org.apache.hadoop.hbase.client.MetaScanner.metaScan(org.apache.hadoop.conf.Configuration,
org.apache.hadoop.hbase.client.HConnection, org.apache.hadoop.hbase.client.MetaScanner$MetaScannerVisitor,
byte[], byte[], int, byte[]) @bci=374, line=194 (Interpreted frame)
 - org.apache.hadoop.hbase.client.MetaScanner.access$000(org.apache.hadoop.conf.Configuration,
org.apache.hadoop.hbase.client.HConnection, org.apache.hadoop.hbase.client.MetaScanner$MetaScannerVisitor,
byte[], byte[], int, byte[]) @bci=10, line=52 (Interpreted frame)
 - org.apache.hadoop.hbase.client.MetaScanner$1.connect(org.apache.hadoop.hbase.client.HConnection)
@bci=25, line=130 (Interpreted frame)
 - org.apache.hadoop.hbase.client.MetaScanner$1.connect(org.apache.hadoop.hbase.client.HConnection)
@bci=2, line=127 (Interpreted frame)
 - org.apache.hadoop.hbase.client.HConnectionManager.execute(org.apache.hadoop.hbase.client.HConnectionManager$HConnectable)
@bci=27, line=339 (Interpreted frame)
 - org.apache.hadoop.hbase.client.MetaScanner.metaScan(org.apache.hadoop.conf.Configuration,
org.apache.hadoop.hbase.client.MetaScanner$MetaScannerVisitor, byte[], byte[], int, byte[])
@bci=15, line=127 (Interpreted frame)
 - org.apache.hadoop.hbase.client.MetaScanner.metaScan(org.apache.hadoop.conf.Configuration,
org.apache.hadoop.hbase.client.MetaScanner$MetaScannerVisitor, byte[], byte[], int) @bci=9,
line=103 (Interpreted frame)
 - org.apache.hadoop.hbase.client.MetaScanner.metaScan(org.apache.hadoop.conf.Configuration,
org.apache.hadoop.hbase.client.MetaScanner$MetaScannerVisitor, byte[]) @bci=6, line=81 (Interpreted
frame)
 - org.apache.hadoop.hbase.client.HBaseAdmin.createTable(org.apache.hadoop.hbase.HTableDescriptor,
byte[][]) @bci=121, line=394 (Interpreted frame)
 - org.apache.hadoop.hbase.TestMultiVersions.testScanMultipleVersions() @bci=88, line=195
(Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) @bci=0 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87,
line=39 (Interpreted frame)
 - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6,
line=25 (Compiled frame)
 - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=161, line=597
(Compiled frame)
 - org.junit.runners.model.FrameworkMethod$1.runReflectiveCall() @bci=15, line=45 (Interpreted
frame)
 - org.junit.internal.runners.model.ReflectiveCallable.run() @bci=1, line=15 (Interpreted
frame)
 - org.junit.runners.model.FrameworkMethod.invokeExplosively(java.lang.Object, java.lang.Object[])
@bci=10, line=42 (Interpreted frame)
 - org.junit.internal.runners.statements.InvokeMethod.evaluate() @bci=12, line=20 (Interpreted
frame)
 - org.junit.internal.runners.statements.RunBefores.evaluate() @bci=49, line=28 (Interpreted
frame)
 - org.junit.internal.runners.statements.RunAfters.evaluate() @bci=12, line=30 (Interpreted
frame)
 - org.junit.runners.ParentRunner.runLeaf(org.junit.runners.model.Statement, org.junit.runner.Description,
org.junit.runner.notification.RunNotifier) @bci=17, line=263 (Interpreted frame)
 - org.junit.runners.BlockJUnit4ClassRunner.runChild(org.junit.runners.model.FrameworkMethod,
org.junit.runner.notification.RunNotifier) @bci=32, line=68 (Interpreted frame)
 - org.junit.runners.BlockJUnit4ClassRunner.runChild(java.lang.Object, org.junit.runner.notification.RunNotifier)
@bci=6, line=47 (Interpreted frame)
 - org.junit.runners.ParentRunner$3.run() @bci=12, line=231 (Interpreted frame)
 - org.junit.runners.ParentRunner$1.schedule(java.lang.Runnable) @bci=1, line=60 (Interpreted
frame)
 - org.junit.runners.ParentRunner.runChildren(org.junit.runner.notification.RunNotifier) @bci=40,
line=229 (Interpreted frame)
 - org.junit.runners.ParentRunner.access$000(org.junit.runners.ParentRunner, org.junit.runner.notification.RunNotifier)
@bci=2, line=50 (Interpreted frame)
 - org.junit.runners.ParentRunner$2.evaluate() @bci=8, line=222 (Interpreted frame)
 - org.junit.internal.runners.statements.RunBefores.evaluate() @bci=49, line=28 (Interpreted
frame)
 - org.junit.internal.runners.statements.RunAfters.evaluate() @bci=12, line=30 (Interpreted
frame)
 - org.junit.runners.ParentRunner.run(org.junit.runner.notification.RunNotifier) @bci=20,
line=300 (Interpreted frame)
 - org.junit.runners.Suite.runChild(org.junit.runner.Runner, org.junit.runner.notification.RunNotifier)
@bci=2, line=128 (Interpreted frame)
 - org.junit.runners.Suite.runChild(java.lang.Object, org.junit.runner.notification.RunNotifier)
@bci=6, line=24 (Interpreted frame)
 - org.junit.runners.ParentRunner$3.run() @bci=12, line=231 (Interpreted frame)
 - org.junit.runners.ParentRunner$1.schedule(java.lang.Runnable) @bci=1, line=60 (Interpreted
frame)
 - org.junit.runners.ParentRunner.runChildren(org.junit.runner.notification.RunNotifier) @bci=40,
line=229 (Interpreted frame)
 - org.junit.runners.ParentRunner.access$000(org.junit.runners.ParentRunner, org.junit.runner.notification.RunNotifier)
@bci=2, line=50 (Interpreted frame)
 - org.junit.runners.ParentRunner$2.evaluate() @bci=8, line=222 (Interpreted frame)
 - org.junit.runners.ParentRunner.run(org.junit.runner.notification.RunNotifier) @bci=20,
line=300 (Interpreted frame)
 - org.junit.runner.JUnitCore.run(org.junit.runner.Runner) @bci=37, line=157 (Interpreted
frame)
 - org.junit.runner.JUnitCore.run(org.junit.runner.Request) @bci=5, line=136 (Interpreted
frame)
 - org.apache.maven.surefire.junitcore.JUnitCoreWrapper.execute(org.apache.maven.surefire.util.TestsToRun,
org.apache.maven.surefire.junitcore.JUnitCoreParameters, java.util.List, org.junit.runner.manipulation.Filter)
@bci=82, line=61 (Interpreted frame)
 - org.apache.maven.surefire.junitcore.JUnitCoreProvider.invoke(java.lang.Object) @bci=150,
line=119 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke0(java.lang.reflect.Method, java.lang.Object,
java.lang.Object[]) @bci=0 (Interpreted frame)
 - sun.reflect.NativeMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=87,
line=39 (Interpreted frame)
 - sun.reflect.DelegatingMethodAccessorImpl.invoke(java.lang.Object, java.lang.Object[]) @bci=6,
line=25 (Interpreted frame)
 - java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) @bci=161, line=597
(Interpreted frame)
 - org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(java.lang.Object,
java.lang.reflect.Method, java.lang.Object[]) @bci=3, line=164 (Interpreted frame)
 - org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(java.lang.Object)
@bci=29, line=110 (Interpreted frame)
 - org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(java.lang.Object, java.lang.ClassLoader,
java.lang.ClassLoader, java.lang.Object) @bci=41, line=175 (Interpreted frame)
 - org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(org.apache.maven.surefire.booter.TypeEncodedValue)
@bci=64, line=81 (Interpreted frame)
 - org.apache.maven.surefire.booter.ForkedBooter.main(java.lang.String[]) @bci=101, line=68
(Interpreted frame)
{noformat}
                
> naming errors for TestHLogUtils and SoftValueSortedMapTest
> ----------------------------------------------------------
>
>                 Key: HBASE-4764
>                 URL: https://issues.apache.org/jira/browse/HBASE-4764
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.94.0
>            Reporter: nkeywal
>            Assignee: nkeywal
>            Priority: Minor
>         Attachments: 4764_trunk.patch
>
>
> SoftValueSortedMapTest it's a test, but not a junit one, I tend to think it's not called.
I don't know if it's used.
> TestHLogUtils has a wrong name: it's not a test, but an helper. It confuses the script
looking for the tests. It would seems a better thing to rename it. Is there anything special
to do to keep the history attached to this file?

--
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

        

Mime
View raw message