[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests hange

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Description: 
After PHOENIX-5962, the ITtests still hange , I noticed the RegionServer is 
blocked as follows : (by 4.x branch and HBase1.4.10) :
{code:java}
Thread 31512: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be 
imprecise)
 - java.lang.Thread.sleep(long, int) @bci=57, line=340 (Compiled frame)
 - java.util.concurrent.TimeUnit.sleep(long) @bci=23, line=386 (Compiled frame)
 - org.apache.hadoop.hbase.util.RetryCounter.sleepUntilNextRetry() @bci=110, 
line=158 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(java.lang.String,
 org.apache.zookeeper.Watcher, org.apache.zookeeper.data.Stat) @bci=180, 
line=367 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 java.lang.String) @bci=11, line=629 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionState(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=23, line=487 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=6, line=168 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int, long) @bci=63, line=607 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long) @bci=9, line=588 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long, org.apache.hadoop.conf.Configuration) @bci=34, line=561 (Compiled frame)
 - org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation() 
@bci=94, line=61 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(org.apache.hadoop.hbase.TableName,
 boolean, int) @bci=205, line=1266 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=119, line=1227 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=93, line=1201 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=9, line=41 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=1668, line=1419 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=138, line=1230 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(boolean,
 int, org.apache.hadoop.hbase.client.ClusterConnection, 
org.apache.hadoop.hbase.TableName, byte[]) @bci=22, line=356 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) 
@bci=164, line=153 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) @bci=6, 
line=58 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(org.apache.hadoop.hbase.client.RetryingCallable,
 int) @bci=30, line=219 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ClientScanner.call(org.apache.hadoop.hbase.client.ScannerCallableWithReplicas,
 org.apache.hadoop.hbase.client.RpcRetryingCaller, int, boolean) @bci=34, 
line=275 (Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.loadCache() @bci=109, line=436 
(Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.next() @bci=68, line=310 
(Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.findRelatedViews(org.apache.hadoop.hbase.client.Table,
 byte[], byte[], byte[], org.apache.phoenix.schema.PTable$LinkType, long) 
@bci=281, line=126 (Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.dropChildViews(org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment,
 byte[], byte[], byte[], byte[]) @bci=62, line=198 (Compiled frame)
 - 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(com.

[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests hange

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Fix Version/s: 4.16.0
   5.1.0

> ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests 
> hange
> 
>
> Key: PHOENIX-5970
> URL: https://issues.apache.org/jira/browse/PHOENIX-5970
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.15.0
>Reporter: chenglei
>Priority: Major
> Fix For: 5.1.0, 4.16.0
>
> Attachments: PHOENIX-5970_v1-4.x.patch
>
>
> When ITtests hange recently , I noticed the RegionServer is blocked as 
> follows : (for 4.x branch and HBase1.4.10) :
> {code:java}
> Thread 31512: (state = BLOCKED)
>  - java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be 
> imprecise)
>  - java.lang.Thread.sleep(long, int) @bci=57, line=340 (Compiled frame)
>  - java.util.concurrent.TimeUnit.sleep(long) @bci=23, line=386 (Compiled 
> frame)
>  - org.apache.hadoop.hbase.util.RetryCounter.sleepUntilNextRetry() @bci=110, 
> line=158 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(java.lang.String,
>  org.apache.zookeeper.Watcher, org.apache.zookeeper.data.Stat) @bci=180, 
> line=367 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
>  java.lang.String) @bci=11, line=629 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionState(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
>  int) @bci=23, line=487 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
>  int) @bci=6, line=168 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
>  int, long) @bci=63, line=607 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
>  long) @bci=9, line=588 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
>  long, org.apache.hadoop.conf.Configuration) @bci=34, line=561 (Compiled 
> frame)
>  - org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation() 
> @bci=94, line=61 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(org.apache.hadoop.hbase.TableName,
>  boolean, int) @bci=205, line=1266 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
>  byte[], boolean, boolean, int) @bci=119, line=1227 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
>  byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(org.apache.hadoop.hbase.TableName,
>  byte[], int) @bci=93, line=1201 (Interpreted frame)
>  - 
> org.apache.hadoop.hbase.client.CoprocessorHConnection.relocateRegion(org.apache.hadoop.hbase.TableName,
>  byte[], int) @bci=9, line=41 (Interpreted frame)
>  - 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(org.apache.hadoop.hbase.TableName,
>  byte[], boolean, boolean, int) @bci=1668, line=1419 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
>  byte[], boolean, boolean, int) @bci=138, line=1230 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
>  byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(boolean,
>  int, org.apache.hadoop.hbase.client.ClusterConnection, 
> org.apache.hadoop.hbase.TableName, byte[]) @bci=22, line=356 (Compiled frame)
>  - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) 
> @bci=164, line=153 (Compiled frame)
>  - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) 
> @bci=6, line=58 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(org.apache.hadoop.hbase.client.RetryingCallable,
>  int) @bci=30, line=219 (Compiled frame)
>  - 
> org.apache.hadoop.hbase.client.ClientScanner.call(org.apache.hadoop.hbase.client.ScannerCallableWithReplicas,
>  org.apache.hadoop.hbase.client.RpcRetryingCaller, int, boo

[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests hange

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Description: 
When ITtests hange recently , I noticed the RegionServer is blocked as follows 
: (for 4.x branch and HBase1.4.10) :
{code:java}
Thread 31512: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be 
imprecise)
 - java.lang.Thread.sleep(long, int) @bci=57, line=340 (Compiled frame)
 - java.util.concurrent.TimeUnit.sleep(long) @bci=23, line=386 (Compiled frame)
 - org.apache.hadoop.hbase.util.RetryCounter.sleepUntilNextRetry() @bci=110, 
line=158 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(java.lang.String,
 org.apache.zookeeper.Watcher, org.apache.zookeeper.data.Stat) @bci=180, 
line=367 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 java.lang.String) @bci=11, line=629 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionState(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=23, line=487 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=6, line=168 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int, long) @bci=63, line=607 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long) @bci=9, line=588 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long, org.apache.hadoop.conf.Configuration) @bci=34, line=561 (Compiled frame)
 - org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation() 
@bci=94, line=61 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(org.apache.hadoop.hbase.TableName,
 boolean, int) @bci=205, line=1266 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=119, line=1227 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=93, line=1201 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=9, line=41 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=1668, line=1419 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=138, line=1230 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(boolean,
 int, org.apache.hadoop.hbase.client.ClusterConnection, 
org.apache.hadoop.hbase.TableName, byte[]) @bci=22, line=356 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) 
@bci=164, line=153 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) @bci=6, 
line=58 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(org.apache.hadoop.hbase.client.RetryingCallable,
 int) @bci=30, line=219 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ClientScanner.call(org.apache.hadoop.hbase.client.ScannerCallableWithReplicas,
 org.apache.hadoop.hbase.client.RpcRetryingCaller, int, boolean) @bci=34, 
line=275 (Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.loadCache() @bci=109, line=436 
(Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.next() @bci=68, line=310 
(Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.findRelatedViews(org.apache.hadoop.hbase.client.Table,
 byte[], byte[], byte[], org.apache.phoenix.schema.PTable$LinkType, long) 
@bci=281, line=126 (Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.dropChildViews(org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment,
 byte[], byte[], byte[], byte[]) @bci=62, line=198 (Compiled frame)
 - 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(com.google.protobuf

[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests hange

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Description: 
When ITtests hange recently , I noticed the RegionServer is blocked as follows 
: (for 4.x branch and HBase1.4.10) :
{code:java}
Thread 31512: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be 
imprecise)
 - java.lang.Thread.sleep(long, int) @bci=57, line=340 (Compiled frame)
 - java.util.concurrent.TimeUnit.sleep(long) @bci=23, line=386 (Compiled frame)
 - org.apache.hadoop.hbase.util.RetryCounter.sleepUntilNextRetry() @bci=110, 
line=158 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(java.lang.String,
 org.apache.zookeeper.Watcher, org.apache.zookeeper.data.Stat) @bci=180, 
line=367 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 java.lang.String) @bci=11, line=629 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionState(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=23, line=487 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=6, line=168 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int, long) @bci=63, line=607 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long) @bci=9, line=588 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long, org.apache.hadoop.conf.Configuration) @bci=34, line=561 (Compiled frame)
 - org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation() 
@bci=94, line=61 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(org.apache.hadoop.hbase.TableName,
 boolean, int) @bci=205, line=1266 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=119, line=1227 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=93, line=1201 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=9, line=41 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=1668, line=1419 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=138, line=1230 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(boolean,
 int, org.apache.hadoop.hbase.client.ClusterConnection, 
org.apache.hadoop.hbase.TableName, byte[]) @bci=22, line=356 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) 
@bci=164, line=153 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) @bci=6, 
line=58 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(org.apache.hadoop.hbase.client.RetryingCallable,
 int) @bci=30, line=219 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ClientScanner.call(org.apache.hadoop.hbase.client.ScannerCallableWithReplicas,
 org.apache.hadoop.hbase.client.RpcRetryingCaller, int, boolean) @bci=34, 
line=275 (Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.loadCache() @bci=109, line=436 
(Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.next() @bci=68, line=310 
(Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.findRelatedViews(org.apache.hadoop.hbase.client.Table,
 byte[], byte[], byte[], org.apache.phoenix.schema.PTable$LinkType, long) 
@bci=281, line=126 (Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.dropChildViews(org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment,
 byte[], byte[], byte[], byte[]) @bci=62, line=198 (Compiled frame)
 - 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(com.google.protobuf

[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests hange

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Description: 
When ITtests hange recently , I noticed the RegionServer is blocked as follows 
: (for 4.x branch and HBase1.4.10) :
{code:java}
Thread 31512: (state = BLOCKED)
 - java.lang.Thread.sleep(long) @bci=0 (Compiled frame; information may be 
imprecise)
 - java.lang.Thread.sleep(long, int) @bci=57, line=340 (Compiled frame)
 - java.util.concurrent.TimeUnit.sleep(long) @bci=23, line=386 (Compiled frame)
 - org.apache.hadoop.hbase.util.RetryCounter.sleepUntilNextRetry() @bci=110, 
line=158 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.RecoverableZooKeeper.getData(java.lang.String,
 org.apache.zookeeper.Watcher, org.apache.zookeeper.data.Stat) @bci=180, 
line=367 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.ZKUtil.getData(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 java.lang.String) @bci=11, line=629 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionState(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=23, line=487 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.getMetaRegionLocation(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int) @bci=6, line=168 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 int, long) @bci=63, line=607 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long) @bci=9, line=588 (Compiled frame)
 - 
org.apache.hadoop.hbase.zookeeper.MetaTableLocator.blockUntilAvailable(org.apache.hadoop.hbase.zookeeper.ZooKeeperWatcher,
 long, org.apache.hadoop.conf.Configuration) @bci=34, line=561 (Compiled frame)
 - org.apache.hadoop.hbase.client.ZooKeeperRegistry.getMetaRegionLocation() 
@bci=94, line=61 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateMeta(org.apache.hadoop.hbase.TableName,
 boolean, int) @bci=205, line=1266 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=119, line=1227 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=93, line=1201 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.relocateRegion(org.apache.hadoop.hbase.TableName,
 byte[], int) @bci=9, line=41 (Interpreted frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegionInMeta(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=1668, line=1419 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ConnectionManager$HConnectionImplementation.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=138, line=1230 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.CoprocessorHConnection.locateRegion(org.apache.hadoop.hbase.TableName,
 byte[], boolean, boolean, int) @bci=13, line=41 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCallerWithReadReplicas.getRegionLocations(boolean,
 int, org.apache.hadoop.hbase.client.ClusterConnection, 
org.apache.hadoop.hbase.TableName, byte[]) @bci=22, line=356 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) 
@bci=164, line=153 (Compiled frame)
 - org.apache.hadoop.hbase.client.ScannerCallableWithReplicas.call(int) @bci=6, 
line=58 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(org.apache.hadoop.hbase.client.RetryingCallable,
 int) @bci=30, line=219 (Compiled frame)
 - 
org.apache.hadoop.hbase.client.ClientScanner.call(org.apache.hadoop.hbase.client.ScannerCallableWithReplicas,
 org.apache.hadoop.hbase.client.RpcRetryingCaller, int, boolean) @bci=34, 
line=275 (Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.loadCache() @bci=109, line=436 
(Compiled frame)
 - org.apache.hadoop.hbase.client.ClientScanner.next() @bci=68, line=310 
(Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.findRelatedViews(org.apache.hadoop.hbase.client.Table,
 byte[], byte[], byte[], org.apache.phoenix.schema.PTable$LinkType, long) 
@bci=281, line=126 (Compiled frame)
 - 
org.apache.phoenix.util.ViewUtil.dropChildViews(org.apache.hadoop.hbase.coprocessor.RegionCoprocessorEnvironment,
 byte[], byte[], byte[], byte[]) @bci=62, line=198 (Compiled frame)
 - 
org.apache.phoenix.coprocessor.MetaDataEndpointImpl.createTable(com.google.protobuf

[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests hange

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Summary: ViewUtil.dropChildViews may cause HConnection leak which may cause 
ITtests hange  (was: ViewUtil.dropChildViews may cause HConnection leak)

> ViewUtil.dropChildViews may cause HConnection leak which may cause ITtests 
> hange
> 
>
> Key: PHOENIX-5970
> URL: https://issues.apache.org/jira/browse/PHOENIX-5970
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.15.0
>Reporter: chenglei
>Priority: Major
> Attachments: PHOENIX-5970_v1-4.x.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Attachment: PHOENIX-5970_v1-4.x.patch

> ViewUtil.dropChildViews may cause HConnection leak
> --
>
> Key: PHOENIX-5970
> URL: https://issues.apache.org/jira/browse/PHOENIX-5970
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.15.0
>Reporter: chenglei
>Priority: Major
> Attachments: PHOENIX-5970_v1-4.x.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Attachment: (was: PHOENIX-5970_v1-4.x.patch)

> ViewUtil.dropChildViews may cause HConnection leak
> --
>
> Key: PHOENIX-5970
> URL: https://issues.apache.org/jira/browse/PHOENIX-5970
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.15.0
>Reporter: chenglei
>Priority: Major
> Attachments: PHOENIX-5970_v1-4.x.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Attachment: PHOENIX-5970_v1-4.x.patch

> ViewUtil.dropChildViews may cause HConnection leak
> --
>
> Key: PHOENIX-5970
> URL: https://issues.apache.org/jira/browse/PHOENIX-5970
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.15.0
>Reporter: chenglei
>Priority: Major
> Attachments: PHOENIX-5970_v1-4.x.patch
>
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (PHOENIX-5970) ViewUtil.dropChildViews may cause HConnection leak

2020-06-21 Thread chenglei (Jira)


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

chenglei updated PHOENIX-5970:
--
Summary: ViewUtil.dropChildViews may cause HConnection leak  (was: 
org.apache.phoenix.util.ViewUtil.dropChildViews may cause HConnection leak)

> ViewUtil.dropChildViews may cause HConnection leak
> --
>
> Key: PHOENIX-5970
> URL: https://issues.apache.org/jira/browse/PHOENIX-5970
> Project: Phoenix
>  Issue Type: Bug
>Affects Versions: 4.15.0
>Reporter: chenglei
>Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)