hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anil gupta <anilgupt...@gmail.com>
Subject Problem starting HBase0.98/Hadoop2 minicluster : Metrics source RetryCache/NameNodeRetryCache already exists!
Date Wed, 06 Aug 2014 14:13:56 GMT
Hi All,

I am trying to run JUnit for SortingCoprocessor(HBase-7474) in HBase0.98.
I am getting this error:

*14/08/06 07:06:09 ERROR namenode.FSNamesystem: FSNamesystem initialization
failed. org.apache.hadoop.metrics2.MetricsException: Metrics source
RetryCache/NameNodeRetryCache already exists!*


Here is some more detailed log:
14/08/06 07:06:09 INFO namenode.FSNamesystem: fsLock is fair:true
14/08/06 07:06:09 INFO blockmanagement.DatanodeManager:
dfs.block.invalidate.limit=1000
14/08/06 07:06:09 INFO blockmanagement.DatanodeManager:
dfs.namenode.datanode.registration.ip-hostname-check=true
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
dfs.namenode.startup.delay.block.deletion.ms is set to 0 ms.
14/08/06 07:06:09 INFO blockmanagement.BlockManager: The block deletion
will start around 2014 Aug 06 07:06:09
14/08/06 07:06:09 INFO util.GSet: Computing capacity for map BlocksMap
14/08/06 07:06:09 INFO util.GSet: VM type       = 64-bit
14/08/06 07:06:09 INFO util.GSet: 2.0% max memory 123.9 MB = 2.5 MB
14/08/06 07:06:09 INFO util.GSet: capacity      = 2^18 = 262144 entries
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
dfs.block.access.token.enable=false
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
defaultReplication         = 2
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
maxReplication             = 512
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
minReplication             = 1
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
maxReplicationStreams      = 2
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
shouldCheckForEnoughRacks  = false
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
replicationRecheckInterval = 3000
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
encryptDataTransfer        = false
14/08/06 07:06:09 INFO blockmanagement.BlockManager:
maxNumBlocksToLog          = 1000
14/08/06 07:06:09 INFO namenode.FSNamesystem: fsOwner             = agupta5
(auth:SIMPLE)
14/08/06 07:06:09 INFO namenode.FSNamesystem: supergroup          =
supergroup
14/08/06 07:06:09 INFO namenode.FSNamesystem: isPermissionEnabled = true
14/08/06 07:06:09 INFO namenode.FSNamesystem: HA Enabled: false
14/08/06 07:06:09 INFO namenode.FSNamesystem: Append Enabled: true
14/08/06 07:06:09 INFO util.GSet: Computing capacity for map INodeMap
14/08/06 07:06:09 INFO util.GSet: VM type       = 64-bit
14/08/06 07:06:09 INFO util.GSet: 1.0% max memory 123.9 MB = 1.2 MB
14/08/06 07:06:09 INFO util.GSet: capacity      = 2^17 = 131072 entries
14/08/06 07:06:09 INFO namenode.NameNode: Caching file names occuring more
than 10 times
14/08/06 07:06:09 INFO util.GSet: Computing capacity for map cachedBlocks
14/08/06 07:06:09 INFO util.GSet: VM type       = 64-bit
14/08/06 07:06:09 INFO util.GSet: 0.25% max memory 123.9 MB = 317.3 KB
14/08/06 07:06:09 INFO util.GSet: capacity      = 2^15 = 32768 entries
14/08/06 07:06:09 INFO namenode.FSNamesystem:
dfs.namenode.safemode.threshold-pct = 0.9990000128746033
14/08/06 07:06:09 INFO namenode.FSNamesystem:
dfs.namenode.safemode.min.datanodes = 0
14/08/06 07:06:09 INFO namenode.FSNamesystem:
dfs.namenode.safemode.extension     = 0
14/08/06 07:06:09 INFO namenode.FSNamesystem: Retry cache on namenode is
enabled
14/08/06 07:06:09 INFO namenode.FSNamesystem: Retry cache will use 0.03 of
total heap and retry cache entry expiry time is 600000 millis
14/08/06 07:06:09 INFO util.GSet: Computing capacity for map
NameNodeRetryCache
14/08/06 07:06:09 INFO util.GSet: VM type       = 64-bit
14/08/06 07:06:09 INFO util.GSet: 0.029999999329447746% max memory 123.9 MB
= 38.1 KB
14/08/06 07:06:09 INFO util.GSet: capacity      = 2^12 = 4096 entries
14/08/06 07:06:09 ERROR namenode.FSNamesystem: FSNamesystem initialization
failed.
org.apache.hadoop.metrics2.MetricsException: Metrics source
RetryCache/NameNodeRetryCache already exists!
    at
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.newSourceName(DefaultMetricsSystem.java:126)
    at
org.apache.hadoop.metrics2.lib.DefaultMetricsSystem.sourceName(DefaultMetricsSystem.java:107)
    at
org.apache.hadoop.metrics2.impl.MetricsSystemImpl.register(MetricsSystemImpl.java:217)
    at
org.apache.hadoop.ipc.metrics.RetryCacheMetrics.create(RetryCacheMetrics.java:54)
    at org.apache.hadoop.ipc.RetryCache.<init>(RetryCache.java:202)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.initRetryCache(FSNamesystem.java:831)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.<init>(FSNamesystem.java:768)
    at
org.apache.hadoop.hdfs.server.namenode.FSNamesystem.loadFromDisk(FSNamesystem.java:621)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.loadNamesystem(NameNode.java:498)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:554)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:720)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:704)
    at
org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354)
    at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:278)
    at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:516)
    at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:845)
    at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:770)
    at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:741)
    at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:728)
    at
com.intuit.payments.ihub.hbase.coprocessor.endpoint.TestSortingProtocol.setupBeforeClass(TestSortingProtocol.java:90)
    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.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
    at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
    at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
    at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
    at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
14/08/06 07:06:09 INFO namenode.FSNamesystem: Stopping services started for
active state
14/08/06 07:06:09 INFO namenode.FSNamesystem: Stopping services started for
standby state
14/08/06 07:06:09 INFO hbase.HBaseCommonTestingUtility: Shutting down
minicluster
14/08/06 07:06:09 INFO hbase.HBaseCommonTestingUtility: Minicluster is down

-- 
Thanks & Regards,
Anil Gupta

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message