eagle-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhiwen wang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (EAGLE-1089) hbase
Date Wed, 16 May 2018 08:27:00 GMT
zhiwen wang created EAGLE-1089:
----------------------------------

             Summary: hbase 
                 Key: EAGLE-1089
                 URL: https://issues.apache.org/jira/browse/EAGLE-1089
             Project: Eagle
          Issue Type: Bug
          Components: Core::Query Engine
    Affects Versions: v0.5.0
            Reporter: zhiwen wang


in my localhost is run ok,but when i tar this project to server has some problem.such as rest
api

'/rest/entities?query=AlertService[@siteId=%22test_0515%22]%3C@severity%3E\{count}&pageSize=100000&startTime=2018-05-16%2004:11:53&endTime=2018-05-16%2006:11:53&intervalmin=5&timeSeries=true&startTime=2018-05-16%2004:11:53&endTime=2018-05-16%2006:11:53'
got 400 respond,causing the 

Alert Trend got data failure,and the return exception is this:

{"success":false,
"exception":"java.io.IOException: java.io.IOException: java.lang.IllegalStateException: org.apache.hadoop.hbase.coprocessor.CoprocessorException:
result is null
org.apache.eagle.storage.hbase.HBaseStorage.query(HBaseStorage.java:184)
org.apache.eagle.storage.operation.QueryStatement.execute(QueryStatement.java:47)
org.apache.eagle.service.generic.GenericEntityServiceResource.search(GenericEntityServiceResource.java:444)
sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
io.dropwizard.jersey.guava.OptionalResourceMethodDispatchAdapter$OptionalRequestDispatcher.dispatch(OptionalResourceMethodDispatchAdapter.java:37)"}

 

and when i start my project,i got such erro:

WARN [2018-05-16 14:52:03,076] org.apache.hadoop.hbase.util.DynamicClassLoader: Failed to
identify the fs of dir /tmp/hbase-root/hbase/lib, ignored
! java.io.IOException: No FileSystem for scheme: file
! at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2607) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2614) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2653) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2635) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:370) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:169) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:354) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296) ~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.util.DynamicClassLoader.<init>(DynamicClassLoader.java:104)
~[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.protobuf.ProtobufUtil.<clinit>(ProtobufUtil.java:241) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.ClusterId.parseFrom(ClusterId.java:64) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.zookeeper.ZKClusterId.readClusterIdZNode(ZKClusterId.java:75)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.client.ZooKeeperRegistry.getClusterId(ZooKeeperRegistry.java:105)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.retrieveClusterId(ConnectionManager.java:879)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.<init>(ConnectionManager.java:635)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.8.0_144]
! at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[na:1.8.0_144]
! at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[na:1.8.0_144]
! at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [na:1.8.0_144]
! at org.apache.hadoop.hbase.client.ConnectionFactory.createConnection(ConnectionFactory.java:238)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:420)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.client.ConnectionManager.createConnection(ConnectionManager.java:413)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.client.ConnectionManager.getConnectionInternal(ConnectionManager.java:291)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.hadoop.hbase.client.HBaseAdmin.<init>(HBaseAdmin.java:222) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.eagle.storage.hbase.HBaseEntitySchemaManager.init(HBaseEntitySchemaManager.java:66)
[eagle-storage-hbase-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
! at org.apache.eagle.storage.hbase.HBaseStorage.init(HBaseStorage.java:54) [eagle-storage-hbase-0.5.0-SNAPSHOT.jar:0.5.0-SNAPSHOT]
! at org.apache.eagle.storage.DataStorageManager.newDataStorage(DataStorageManager.java:53)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.eagle.storage.DataStorageManager.getDataStorageByEagleConfig(DataStorageManager.java:81)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.eagle.storage.DataStorageManager.getDataStorageByEagleConfig(DataStorageManager.java:91)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.eagle.service.generic.GenericEntityServiceResource.create(GenericEntityServiceResource.java:135)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144]
! at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_144]
! at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.8.0_144]
! at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144]
! at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
[jersey-server-1.19.1.jar:1.19.1]
! at io.dropwizard.jersey.guava.OptionalResourceMethodDispatchAdapter$OptionalRequestDispatcher.dispatch(OptionalResourceMethodDispatchAdapter.java:37)
[dropwizard-jersey-0.7.1.jar:0.7.1]
! at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302) [jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
[jersey-server-1.19.1.jar:1.19.1]
! at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409) [jersey-servlet-1.19.1.jar:1.19.1]
! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
[jersey-servlet-1.19.1.jar:1.19.1]
! at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
[jersey-servlet-1.19.1.jar:1.19.1]
! at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at io.dropwizard.jetty.NonblockingServletHolder.handle(NonblockingServletHolder.java:49)
[dropwizard-jetty-0.7.1.jar:0.7.1]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1515)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.servlets.UserAgentFilter.doFilter(UserAgentFilter.java:83) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.servlets.GzipFilter.doFilter(GzipFilter.java:295) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at io.dropwizard.jetty.BiDiGzipFilter.doFilter(BiDiGzipFilter.java:123) [dropwizard-jetty-0.7.1.jar:0.7.1]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at io.dropwizard.servlets.ThreadNameFilter.doFilter(ThreadNameFilter.java:29) [dropwizard-servlets-0.7.1.jar:0.7.1]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.handle(AllowedMethodsFilter.java:44)
[dropwizard-jersey-0.7.1.jar:0.7.1]
! at io.dropwizard.jersey.filter.AllowedMethodsFilter.doFilter(AllowedMethodsFilter.java:39)
[dropwizard-jersey-0.7.1.jar:0.7.1]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.apache.eagle.alert.resource.SimpleCORSFiler.doFilter(SimpleCORSFiler.java:51) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1486)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:519) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1097) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:448) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1031) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:136) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at com.codahale.metrics.jetty9.InstrumentedHandler.handle(InstrumentedHandler.java:175)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at io.dropwizard.jetty.RoutingHandler.handle(RoutingHandler.java:51) [dropwizard-jetty-0.7.1.jar:0.7.1]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:92)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:162)
[eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.Server.handle(Server.java:446) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:271) [eagle-topology-0.5.0-SNAPSHOT-assembly.jar:na]
! at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:246) 

 

what happen!!!!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message