phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PHOENIX-2000) DatabaseMetaData.getTables fails to return table list
Date Thu, 03 May 2018 17:22:00 GMT

     [ https://issues.apache.org/jira/browse/PHOENIX-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

James Taylor resolved PHOENIX-2000.
-----------------------------------
    Resolution: Cannot Reproduce

> DatabaseMetaData.getTables fails to return table list
> -----------------------------------------------------
>
>                 Key: PHOENIX-2000
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2000
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.3.1
>         Environment: HDP 2.2 with hbase 4.3.1 server
>            Reporter: Bilal Nemutlu
>            Priority: Critical
>              Labels: verify
>             Fix For: 4.14.0
>
>
>      DatabaseMetaData md = conn.getMetaData();
>       ResultSet rst = md.getTables(null, null, null, null);
>       
>       while (rst.next()) {
>         System.out.println(rst.getString(1));
>       }
> Throws the following error
> org.apache.phoenix.exception.PhoenixIOException: org.apache.phoenix.exception.PhoenixIOException:
org.apache.hadoop.hbase.DoNotRetryIOException: SYSTEM.CATALOG,,1432187115973.c970b53a96db5a8c1d958ac920bc45d5.:
Could not initialize class org.apache.phoenix.monitoring.PhoenixMetrics
> 	at org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:84)
> 	at org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:52)
> 	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:200)
> 	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postScannerOpen(RegionCoprocessorHost.java:1663)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3093)
> 	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:28861)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2008)
> 	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:92)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:160)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:38)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:110)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.phoenix.monitoring.PhoenixMetrics
> 	at org.apache.phoenix.monitoring.PhoenixMetrics$SizeMetric.update(PhoenixMetrics.java:59)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocateBytes(GlobalMemoryManager.java:95)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocate(GlobalMemoryManager.java:102)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocate(GlobalMemoryManager.java:108)
> 	at org.apache.phoenix.coprocessor.ScanRegionObserver.getTopNScanner(ScanRegionObserver.java:232)
> 	at org.apache.phoenix.coprocessor.ScanRegionObserver.doPostScannerOpen(ScanRegionObserver.java:219)
> 	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:173)
> 	... 9 more
> java.util.concurrent.ExecutionException: org.apache.phoenix.exception.PhoenixIOException:
org.apache.hadoop.hbase.DoNotRetryIOException: SYSTEM.CATALOG,,1432187115973.c970b53a96db5a8c1d958ac920bc45d5.:
Could not initialize class org.apache.phoenix.monitoring.PhoenixMetrics
> 	at org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:84)
> 	at org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:52)
> 	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:200)
> 	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postScannerOpen(RegionCoprocessorHost.java:1663)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3093)
> 	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:28861)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2008)
> 	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:92)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:160)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:38)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:110)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.phoenix.monitoring.PhoenixMetrics
> 	at org.apache.phoenix.monitoring.PhoenixMetrics$SizeMetric.update(PhoenixMetrics.java:59)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocateBytes(GlobalMemoryManager.java:95)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocate(GlobalMemoryManager.java:102)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocate(GlobalMemoryManager.java:108)
> 	at org.apache.phoenix.coprocessor.ScanRegionObserver.getTopNScanner(ScanRegionObserver.java:232)
> 	at org.apache.phoenix.coprocessor.ScanRegionObserver.doPostScannerOpen(ScanRegionObserver.java:219)
> 	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:173)
> 	... 9 more
> org.apache.phoenix.exception.PhoenixIOException: org.apache.hadoop.hbase.DoNotRetryIOException:
SYSTEM.CATALOG,,1432187115973.c970b53a96db5a8c1d958ac920bc45d5.: Could not initialize class
org.apache.phoenix.monitoring.PhoenixMetrics
> 	at org.apache.phoenix.util.ServerUtil.createIOException(ServerUtil.java:84)
> 	at org.apache.phoenix.util.ServerUtil.throwIOException(ServerUtil.java:52)
> 	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:200)
> 	at org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost.postScannerOpen(RegionCoprocessorHost.java:1663)
> 	at org.apache.hadoop.hbase.regionserver.HRegionServer.scan(HRegionServer.java:3093)
> 	at org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:28861)
> 	at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2008)
> 	at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:92)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.consumerLoop(SimpleRpcScheduler.java:160)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler.access$000(SimpleRpcScheduler.java:38)
> 	at org.apache.hadoop.hbase.ipc.SimpleRpcScheduler$1.run(SimpleRpcScheduler.java:110)
> 	at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.phoenix.monitoring.PhoenixMetrics
> 	at org.apache.phoenix.monitoring.PhoenixMetrics$SizeMetric.update(PhoenixMetrics.java:59)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocateBytes(GlobalMemoryManager.java:95)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocate(GlobalMemoryManager.java:102)
> 	at org.apache.phoenix.memory.GlobalMemoryManager.allocate(GlobalMemoryManager.java:108)
> 	at org.apache.phoenix.coprocessor.ScanRegionObserver.getTopNScanner(ScanRegionObserver.java:232)
> 	at org.apache.phoenix.coprocessor.ScanRegionObserver.doPostScannerOpen(ScanRegionObserver.java:219)
> 	at org.apache.phoenix.coprocessor.BaseScannerRegionObserver.postScannerOpen(BaseScannerRegionObserver.java:173)
> 	... 9 more
> null
> 08000



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

Mime
View raw message