Github user nickwallen commented on the issue:
https://github.com/apache/incubator-metron/pull/268
With the late code, the EnrichmentIntegrationTest is fixed by making sure
that we exclude transitive Storm dependencies coming in through
metron-profiler-client. But now the HBase mini cluster does not start for the
HBaseProfilerClientTest. Seems like it cannot talk to Zookeeper or something.
Argh.
```
Running org.apache.metron.profiler.client.HBaseProfilerClientTest
Formatting using clusterid: testClusterID
32526 [main] INFO o.a.h.h.s.b.BlockManager -
dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000
32527 [main] INFO o.a.h.h.s.b.BlockManager - The block deletion will start
around 2016 Sep 28 08:32:27
32539 [main] INFO o.a.h.h.s.b.BlockManager -
dfs.block.access.token.enable=false
32539 [main] INFO o.a.h.h.s.b.BlockManager - defaultReplication = 1
32539 [main] INFO o.a.h.h.s.b.BlockManager - maxReplication =
512
32539 [main] INFO o.a.h.h.s.b.BlockManager - minReplication = 1
32539 [main] INFO o.a.h.h.s.b.BlockManager - maxReplicationStreams = 2
32539 [main] INFO o.a.h.h.s.b.BlockManager - shouldCheckForEnoughRacks =
false
32539 [main] INFO o.a.h.h.s.b.BlockManager - replicationRecheckInterval =
3000
32539 [main] INFO o.a.h.h.s.b.BlockManager - encryptDataTransfer =
false
32539 [main] INFO o.a.h.h.s.b.BlockManager - maxNumBlocksToLog =
1000
32624 [main] INFO o.a.h.h.s.n.FSDirectory - ACLs enabled? false
32625 [main] INFO o.a.h.h.s.n.FSDirectory - XAttrs enabled? true
32625 [main] INFO o.a.h.h.s.n.FSDirectory - Maximum size of an xattr: 16384
32625 [main] INFO o.a.h.h.s.n.NameNode - Caching file names occuring more
than 10 times
32633 [main] INFO o.a.h.h.s.n.t.m.TopMetrics - NNTop conf:
dfs.namenode.top.window.num.buckets = 10
32633 [main] INFO o.a.h.h.s.n.t.m.TopMetrics - NNTop conf:
dfs.namenode.top.num.users = 10
32633 [main] INFO o.a.h.h.s.n.t.m.TopMetrics - NNTop conf:
dfs.namenode.top.windows.minutes = 1,5,25
32783 [main] INFO o.a.h.h.s.n.NameNode - createNameNode []
32813 [main] INFO o.a.h.h.s.n.NameNode - fs.defaultFS is hdfs://127.0.0.1:0
32871 [main] INFO o.m.log - Logging to
org.apache.logging.slf4j.Log4jLogger@6f99cc46 via org.mortbay.log.Slf4jLog
32876 [main] INFO o.a.h.s.a.s.AuthenticationFilter - Unable to initialize
FileSignerSecretProvider, falling back to use random secrets.
32913 [main] INFO o.m.log - jetty-6.1.x
32962 [main] INFO o.m.log - Extract
jar:file:/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler/target/metron-profiler-0.2.0BETA.jar!/webapps/hdfs
to
/var/folders/hb/dp9xm3q92gq3w9w9btb0kqyw0000gn/T/Jetty_localhost_49492_hdfs____.22sl9q/webapp
34733 [main] INFO o.m.log - Started
[HttpServer2$SelectChannelConnectorWithSafeStartup@localhost:49492, null]
34735 [main] INFO o.a.h.h.s.b.BlockManager -
dfs.namenode.startup.delay.block.deletion.sec is set to 000:00:00:00.000
34736 [main] INFO o.a.h.h.s.b.BlockManager - The block deletion will start
around 2016 Sep 28 08:32:29
34737 [main] INFO o.a.h.h.s.b.BlockManager -
dfs.block.access.token.enable=false
34738 [main] INFO o.a.h.h.s.b.BlockManager - defaultReplication = 1
34738 [main] INFO o.a.h.h.s.b.BlockManager - maxReplication =
512
34738 [main] INFO o.a.h.h.s.b.BlockManager - minReplication = 1
34738 [main] INFO o.a.h.h.s.b.BlockManager - maxReplicationStreams = 2
34738 [main] INFO o.a.h.h.s.b.BlockManager - shouldCheckForEnoughRacks =
false
34738 [main] INFO o.a.h.h.s.b.BlockManager - replicationRecheckInterval =
3000
34738 [main] INFO o.a.h.h.s.b.BlockManager - encryptDataTransfer =
false
34738 [main] INFO o.a.h.h.s.b.BlockManager - maxNumBlocksToLog =
1000
34739 [main] INFO o.a.h.h.s.n.FSDirectory - ACLs enabled? false
34739 [main] INFO o.a.h.h.s.n.FSDirectory - XAttrs enabled? true
34739 [main] INFO o.a.h.h.s.n.FSDirectory - Maximum size of an xattr: 16384
34739 [main] INFO o.a.h.h.s.n.NameNode - Caching file names occuring more
than 10 times
34740 [main] INFO o.a.h.h.s.n.t.m.TopMetrics - NNTop conf:
dfs.namenode.top.window.num.buckets = 10
34740 [main] INFO o.a.h.h.s.n.t.m.TopMetrics - NNTop conf:
dfs.namenode.top.num.users = 10
34740 [main] INFO o.a.h.h.s.n.t.m.TopMetrics - NNTop conf:
dfs.namenode.top.windows.minutes = 1,5,25
34875 [main] INFO o.a.h.h.s.n.NameNode - RPC server is binding to
localhost:0
34899 [main] INFO o.a.h.h.s.n.NameNode - Clients are to use
localhost:49494 to access this namenode/service.
34924 [main] INFO o.a.h.h.StateChange - STATE* Leaving safe mode after 0
secs
34924 [main] INFO o.a.h.h.StateChange - STATE* Network topology has 0
racks and 0 datanodes
34924 [main] INFO o.a.h.h.StateChange - STATE* UnderReplicatedBlocks has 0
blocks
34929 [Replication Queue Initializer] INFO o.a.h.h.s.b.BlockManager -
Total number of blocks = 0
34929 [Replication Queue Initializer] INFO o.a.h.h.s.b.BlockManager -
Number of invalid blocks = 0
34930 [Replication Queue Initializer] INFO o.a.h.h.s.b.BlockManager -
Number of under-replicated blocks = 0
34930 [Replication Queue Initializer] INFO o.a.h.h.s.b.BlockManager -
Number of over-replicated blocks = 0
34930 [Replication Queue Initializer] INFO o.a.h.h.s.b.BlockManager -
Number of blocks being written = 0
34930 [Replication Queue Initializer] INFO o.a.h.h.StateChange - STATE*
Replication Queue initialization scan for invalid, over- and under-replicated
blocks completed in 6 msec
34971 [main] INFO o.a.h.h.s.n.NameNode - NameNode RPC up at:
localhost/127.0.0.1:49494
34975 [CacheReplicationMonitor(1915532232)] INFO
o.a.h.h.s.b.CacheReplicationMonitor - Starting CacheReplicationMonitor with
interval 30000 milliseconds
35016 [main] INFO o.a.h.h.s.d.BlockScanner - Initialized block scanner
with targetBytesPerSec 1048576
35093 [main] INFO o.a.h.s.a.s.AuthenticationFilter - Unable to initialize
FileSignerSecretProvider, falling back to use random secrets.
35096 [main] INFO o.m.log - jetty-6.1.x
35126 [main] INFO o.m.log - Extract
jar:file:/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler/target/metron-profiler-0.2.0BETA.jar!/webapps/datanode
to
/var/folders/hb/dp9xm3q92gq3w9w9btb0kqyw0000gn/T/Jetty_localhost_49496_datanode____3jnus3/webapp
36848 [main] INFO o.m.log - Started
[HttpServer2$SelectChannelConnectorWithSafeStartup@localhost:49496, null]
37271
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1)]
INFO o.a.h.h.s.d.VolumeScanner - Now scanning bpid
BP-1956933495-10.0.0.5-1475065947410 on volume
/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1
37271
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2)]
INFO o.a.h.h.s.d.VolumeScanner - Now scanning bpid
BP-1956933495-10.0.0.5-1475065947410 on volume
/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2
37279
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2)]
INFO o.a.h.h.s.d.VolumeScanner -
VolumeScanner(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2,
DS-cb3cd147-84ab-4bc7-a57e-e715262dd639): finished scanning block pool
BP-1956933495-10.0.0.5-1475065947410
37280
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1)]
INFO o.a.h.h.s.d.VolumeScanner -
VolumeScanner(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1,
DS-807cc33a-2722-48cd-bd1a-9d004d6fa36b): finished scanning block pool
BP-1956933495-10.0.0.5-1475065947410
37281 [IPC Server handler 9 on 49494] INFO o.a.h.h.StateChange - BLOCK*
registerDatanode: from DatanodeRegistration(127.0.0.1:49495,
datanodeUuid=b00fd874-1ffd-48c2-ad22-d27071dbd9bb, infoPort=49497,
infoSecurePort=0, ipcPort=49498,
storageInfo=lv=-56;cid=testClusterID;nsid=1208533498;c=0) storage
b00fd874-1ffd-48c2-ad22-d27071dbd9bb
37308 [IPC Server handler 2 on 49494] INFO BlockStateChange - BLOCK*
processReport: from storage DS-807cc33a-2722-48cd-bd1a-9d004d6fa36b node
DatanodeRegistration(127.0.0.1:49495,
datanodeUuid=b00fd874-1ffd-48c2-ad22-d27071dbd9bb, infoPort=49497,
infoSecurePort=0, ipcPort=49498,
storageInfo=lv=-56;cid=testClusterID;nsid=1208533498;c=0), blocks: 0,
hasStaleStorage: true, processing time: 1 msecs
37308 [IPC Server handler 2 on 49494] INFO BlockStateChange - BLOCK*
processReport: from storage DS-cb3cd147-84ab-4bc7-a57e-e715262dd639 node
DatanodeRegistration(127.0.0.1:49495,
datanodeUuid=b00fd874-1ffd-48c2-ad22-d27071dbd9bb, infoPort=49497,
infoSecurePort=0, ipcPort=49498,
storageInfo=lv=-56;cid=testClusterID;nsid=1208533498;c=0), blocks: 0,
hasStaleStorage: false, processing time: 0 msecs
37319
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1)]
INFO o.a.h.h.s.d.VolumeScanner -
VolumeScanner(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1,
DS-807cc33a-2722-48cd-bd1a-9d004d6fa36b): no suitable block pools found to
scan. Waiting 1814399952 ms.
37319
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2)]
INFO o.a.h.h.s.d.VolumeScanner -
VolumeScanner(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2,
DS-cb3cd147-84ab-4bc7-a57e-e715262dd639): no suitable block pools found to
scan. Waiting 1814399952 ms.
37530 [IPC Server handler 1 on 49494] INFO o.a.h.h.StateChange - BLOCK*
allocate blk_1073741825_1001{UCState=UNDER_CONSTRUCTION, truncateBlock=null,
primaryNodeIndex=-1,
replicas=[ReplicaUC[[DISK]DS-cb3cd147-84ab-4bc7-a57e-e715262dd639:NORMAL:127.0.0.1:49495|RBW]]}
for
/user/nallen/test-data/70fae1d6-c5b5-4269-974e-ad11f974f273/.tmp/hbase.version
37604 [IPC Server handler 9 on 49494] INFO BlockStateChange - BLOCK*
addStoredBlock: blockMap updated: 127.0.0.1:49495 is added to
blk_1073741825_1001{UCState=COMMITTED, truncateBlock=null, primaryNodeIndex=-1,
replicas=[ReplicaUC[[DISK]DS-cb3cd147-84ab-4bc7-a57e-e715262dd639:NORMAL:127.0.0.1:49495|RBW]]}
size 7
38009 [IPC Server handler 4 on 49494] INFO o.a.h.h.StateChange - DIR*
completeFile:
/user/nallen/test-data/70fae1d6-c5b5-4269-974e-ad11f974f273/.tmp/hbase.version
is closed by DFSClient_NONMAPREDUCE_-444544461_1
113325 [main-SendThread(node1:49394)] WARN o.a.z.ClientCnxn - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Operation timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[?:1.8.0_66]
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
~[?:1.8.0_66]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
~[metron-profiler-0.2.0BETA.jar:?]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
[metron-profiler-0.2.0BETA.jar:?]
189660 [main-SendThread(node1:49394)] WARN o.a.z.ClientCnxn - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Operation timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[?:1.8.0_66]
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
~[?:1.8.0_66]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
~[metron-profiler-0.2.0BETA.jar:?]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
[metron-profiler-0.2.0BETA.jar:?]
265903 [main-SendThread(node1:49394)] WARN o.a.z.ClientCnxn - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Operation timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[?:1.8.0_66]
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
~[?:1.8.0_66]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
~[metron-profiler-0.2.0BETA.jar:?]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
[metron-profiler-0.2.0BETA.jar:?]
342158 [main-SendThread(node1:49394)] WARN o.a.z.ClientCnxn - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Operation timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[?:1.8.0_66]
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
~[?:1.8.0_66]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
~[metron-profiler-0.2.0BETA.jar:?]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
[metron-profiler-0.2.0BETA.jar:?]
418384 [main-SendThread(node1:49394)] WARN o.a.z.ClientCnxn - Session 0x0
for server null, unexpected error, closing socket connection and attempting
reconnect
java.net.ConnectException: Operation timed out
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
~[?:1.8.0_66]
at
sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)
~[?:1.8.0_66]
at
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
~[metron-profiler-0.2.0BETA.jar:?]
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1081)
[metron-profiler-0.2.0BETA.jar:?]
2016-09-28 08:38:53 ERROR RecoverableZooKeeper:278 - ZooKeeper create
failed after 4 attempts
2016-09-28 08:38:53 ERROR MiniHBaseCluster:230 - Error starting cluster
java.lang.RuntimeException: Failed construction of Master: class
org.apache.hadoop.hbase.master.HMasterKeeperErrorCode = ConnectionLoss for
/hbase-unsecure
at
org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:143)
at
org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:217)
at
org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:153)
at
org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:214)
at
org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:94)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1013)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:973)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:845)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:839)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:783)
at
org.apache.metron.profiler.client.HBaseProfilerClientTest.startHBase(HBaseProfilerClientTest.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: org.apache.hadoop.hbase.ZooKeeperConnectionException:
master:495030x0, quorum=node1:49394, baseZNode=/hbase-unsecure Unexpected
KeeperException creating base node
at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:196)
at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:177)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:579)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:364)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at
org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
... 32 more
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase-unsecure
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:576)
at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:555)
at
org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1313)
at
org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1291)
at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:184)
... 40 more
418497
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2)]
INFO o.a.h.h.s.d.VolumeScanner -
VolumeScanner(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data2,
DS-cb3cd147-84ab-4bc7-a57e-e715262dd639) exiting.
418497
[VolumeScannerThread(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1)]
INFO o.a.h.h.s.d.VolumeScanner -
VolumeScanner(/Users/nallen/Development/incubator-metron/metron-analytics/metron-profiler-client/target/test-data/45ee5dc3-1ab5-400e-adf3-47228e957d3c/dfscluster_123ac159-da54-4a34-bf2a-99fa5343155d/dfs/data/data1,
DS-807cc33a-2722-48cd-bd1a-9d004d6fa36b) exiting.
418503 [main] INFO o.m.log - Stopped
[HttpServer2$SelectChannelConnectorWithSafeStartup@localhost:0, null]
418617
[org.apache.hadoop.hdfs.server.blockmanagement.BlockManager$ReplicationMonitor@5d4f5490]
INFO o.a.h.h.s.b.BlockManager - Stopping ReplicationMonitor.
418625 [main] INFO o.m.log - Stopped
[HttpServer2$SelectChannelConnectorWithSafeStartup@localhost:0, null]
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 386.62 sec
<<< FAILURE!
org.apache.metron.profiler.client.HBaseProfilerClientTest Time elapsed:
386.619 sec <<< ERROR!
java.io.IOException: Shutting down
at
org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:232)
at
org.apache.hadoop.hbase.MiniHBaseCluster.<init>(MiniHBaseCluster.java:94)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniHBaseCluster(HBaseTestingUtility.java:1013)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:973)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:845)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:839)
at
org.apache.hadoop.hbase.HBaseTestingUtility.startMiniCluster(HBaseTestingUtility.java:783)
at
org.apache.metron.profiler.client.HBaseProfilerClientTest.startHBase(HBaseProfilerClientTest.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
at
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at
org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Caused by: java.lang.RuntimeException: Failed construction of Master: class
org.apache.hadoop.hbase.master.HMasterKeeperErrorCode = ConnectionLoss for
/hbase-unsecure
at
org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:143)
at
org.apache.hadoop.hbase.LocalHBaseCluster.addMaster(LocalHBaseCluster.java:217)
at
org.apache.hadoop.hbase.LocalHBaseCluster.<init>(LocalHBaseCluster.java:153)
at
org.apache.hadoop.hbase.MiniHBaseCluster.init(MiniHBaseCluster.java:214)
... 29 more
Caused by: org.apache.hadoop.hbase.ZooKeeperConnectionException:
master:495030x0, quorum=node1:49394, baseZNode=/hbase-unsecure Unexpected
KeeperException creating base node
at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:196)
at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.<init>(ZooKeeperWatcher.java:177)
at
org.apache.hadoop.hbase.regionserver.HRegionServer.<init>(HRegionServer.java:579)
at org.apache.hadoop.hbase.master.HMaster.<init>(HMaster.java:364)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at
org.apache.hadoop.hbase.util.JVMClusterUtil.createMasterThread(JVMClusterUtil.java:139)
... 32 more
Caused by: org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /hbase-unsecure
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:783)
at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.createNonSequential(RecoverableZooKeeper.java:576)
at
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.create(RecoverableZooKeeper.java:555)
at
org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1313)
at
org.apache.hadoop.hbase.zookeeper.ZKUtil.createWithParents(ZKUtil.java:1291)
at
org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher.createBaseZNodes(ZooKeeperWatcher.java:184)
... 40 more
Results :
Tests in error:
org.apache.metron.profiler.client.HBaseProfilerClientTest: Shutting down
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---