[jira] [Updated] (PHOENIX-6050) Set properties is invalid

2021-02-24 Thread Ankit Singhal (Jira)


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

Ankit Singhal updated PHOENIX-6050:
---
Fix Version/s: (was: 5.1.0)
   5.2.0

> Set properties is invalid
> -
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1, 5.0.0
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Fix For: 5.2.0
>
> Attachments: PHOENIX-6050.master.001.patch, 
> PHOENIX-6050.master.002.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid

2021-01-05 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Summary: Set properties is invalid  (was: Set properties is invalid in 
client)

> Set properties is invalid
> -
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1, 5.0.0
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-6050.master.001.patch, 
> PHOENIX-6050.master.002.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2021-01-05 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Attachment: (was: PHOENIX-6050-4.13-HBase-1.3.patch)

> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1, 5.0.0
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-6050.master.001.patch, 
> PHOENIX-6050.master.002.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2021-01-04 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Attachment: PHOENIX-6050.master.002.patch

> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1, 5.0.0
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-6050-4.13-HBase-1.3.patch, 
> PHOENIX-6050.master.001.patch, PHOENIX-6050.master.002.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2021-01-03 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Attachment: PHOENIX-6050.master.001.patch

> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1, 5.0.0
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-6050-4.13-HBase-1.3.patch, 
> PHOENIX-6050.master.001.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2021-01-03 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Fix Version/s: 5.1.0

> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1, 5.0.0
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Fix For: 5.1.0
>
> Attachments: PHOENIX-6050-4.13-HBase-1.3.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2021-01-03 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Affects Version/s: 5.0.0

> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1, 5.0.0
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Attachments: PHOENIX-6050-4.13-HBase-1.3.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2020-08-23 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Attachment: PHOENIX-6050-4.13-HBase-1.3.patch

> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
> Attachments: PHOENIX-6050-4.13-HBase-1.3.patch
>
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647]
> at 
> org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
> at 
> org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)
> ^Reason:^
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2020-07-28 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Description: 
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). 

code is:

Properties properties = new Properties();
 properties.setProperty("phoenix.query.threadPoolSize","300");
 PropertiesResolve phoenixpr = new PropertiesResolve();
 String phoenixdriver = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_driver");
 String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_jdbc");
 Class.forName(phoenixdriver);
 return DriverManager.getConnection(phoenixjdbc,properties);

throw is:

Error: Task org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 
rejected from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 
128, active threads = 128, queued tasks = 5000, completed tasks = 36647] 
(state=08000,code=101)
org.apache.phoenix.exception.PhoenixIOException: Task 
org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
active threads = 128, queued tasks = 5000, completed tasks = 36647]
at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
at 
org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
at 
org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)

^Reason:^

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .

  was:
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). 

code is:

Properties properties = new Properties();
 properties.setProperty("phoenix.query.threadPoolSize","300");
 PropertiesResolve phoenixpr = new PropertiesResolve();
 String phoenixdriver = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_driver");
 String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_jdbc");
 Class.forName(phoenixdriver);
 return DriverManager.getConnection(phoenixjdbc,properties);

throw is:

Error: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647] (state=08000,code=101)
org.apache.phoenix.exception.PhoenixIOException: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647]
 at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
 at 
org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
 at 
org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)

^Reason:^

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .


> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893 rejected 
> from org.apache.phoenix.job.JobManager$1@26ae880a[Running, pool size = 128, 
> active threads = 128, queued tasks = 5000, completed tasks = 36647] 
> (state=08000,code=101)
> org.apache.phoeni

[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2020-07-28 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Description: 
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). 

code is:

Properties properties = new Properties();
 properties.setProperty("phoenix.query.threadPoolSize","300");
 PropertiesResolve phoenixpr = new PropertiesResolve();
 String phoenixdriver = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_driver");
 String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_jdbc");
 Class.forName(phoenixdriver);
 return DriverManager.getConnection(phoenixjdbc,properties);

throw is:

Error: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647] (state=08000,code=101)
org.apache.phoenix.exception.PhoenixIOException: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647]
 at org.apache.phoenix.util.ServerUtil.parseServerException(ServerUtil.java:120)
 at 
org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:1024)
 at 
org.apache.phoenix.iterate.BaseResultIterators.getIterators(BaseResultIterators.java:916)

^Reason:^

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .

  was:
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). 

code is:

Properties properties = new Properties();
 properties.setProperty("phoenix.query.threadPoolSize","300");
 PropertiesResolve phoenixpr = new PropertiesResolve();
 String phoenixdriver = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_driver");
 String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_jdbc");
 Class.forName(phoenixdriver);
 return DriverManager.getConnection(phoenixjdbc,properties);

throw is:

Error: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],%20pool%20size%20=%20128,%20active%20threads%20=%20128,%20queued%20tasks%20=%205000,%20completed%20tasks%20=%2036647]
 (state=08000,code=101)
 org.apache.phoenix.exception.PhoenixIOException: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],%20pool%20size%20=%20128,%20active%20threads%20=%20128,%20queued%20tasks%20=%205000,%20completed%20tasks%20=%2036647]

^Reason:^

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .


> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> [org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
>  rejected from 
> [org.apache.phoenix.job.JobManag

[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2020-07-28 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Description: 
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). 

code is:

Properties properties = new Properties();
 properties.setProperty("phoenix.query.threadPoolSize","300");
 PropertiesResolve phoenixpr = new PropertiesResolve();
 String phoenixdriver = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_driver");
 String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_jdbc");
 Class.forName(phoenixdriver);
 return DriverManager.getConnection(phoenixjdbc,properties);

throw is:

Error: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],%20pool%20size%20=%20128,%20active%20threads%20=%20128,%20queued%20tasks%20=%205000,%20completed%20tasks%20=%2036647]
 (state=08000,code=101)
 org.apache.phoenix.exception.PhoenixIOException: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],%20pool%20size%20=%20128,%20active%20threads%20=%20128,%20queued%20tasks%20=%205000,%20completed%20tasks%20=%2036647]

^Reason:^

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .

  was:
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). 

code is:

Properties properties = new Properties();
 properties.setProperty("phoenix.query.threadPoolSize","300");
 PropertiesResolve phoenixpr = new PropertiesResolve();
 String phoenixdriver = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_driver");
 String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_jdbc");
 Class.forName(phoenixdriver);
 return DriverManager.getConnection(phoenixjdbc,properties);

throw is:

Error: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647] (state=08000,code=101)
org.apache.phoenix.exception.PhoenixIOException: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647]

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .


> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> [org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
>  rejected from 
> [org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],%20pool%20size%20=%20128,%20active%20threads%20=%20128,%20queued%20tasks%20=%205000,%20completed%20tasks%20=%2036647]
>  (state=08000,code=101)
>  org.apache.phoenix.exception.PhoenixIOException: Task

[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2020-07-28 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Description: 
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). 

code is:

Properties properties = new Properties();
 properties.setProperty("phoenix.query.threadPoolSize","300");
 PropertiesResolve phoenixpr = new PropertiesResolve();
 String phoenixdriver = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_driver");
 String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
"phoenix_jdbc");
 Class.forName(phoenixdriver);
 return DriverManager.getConnection(phoenixjdbc,properties);

throw is:

Error: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647] (state=08000,code=101)
org.apache.phoenix.exception.PhoenixIOException: Task 
[org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
 rejected from 
[org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
 pool size = 128, active threads = 128, queued tasks = 5000, completed tasks = 
36647]

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .

  was:
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). As shown in the 
following image.

 

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .


> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). 
> code is:
> Properties properties = new Properties();
>  properties.setProperty("phoenix.query.threadPoolSize","300");
>  PropertiesResolve phoenixpr = new PropertiesResolve();
>  String phoenixdriver = 
> phoenixpr.readMapByKey("com/main/SyncData.properties", "phoenix_driver");
>  String phoenixjdbc = phoenixpr.readMapByKey("com/main/SyncData.properties", 
> "phoenix_jdbc");
>  Class.forName(phoenixdriver);
>  return DriverManager.getConnection(phoenixjdbc,properties);
> throw is:
> Error: Task 
> [org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
>  rejected from 
> [org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
>  pool size = 128, active threads = 128, queued tasks = 5000, completed tasks 
> = 36647] (state=08000,code=101)
> org.apache.phoenix.exception.PhoenixIOException: Task 
> [org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893|mailto:org.apache.phoenix.job.JobManager$InstrumentedJobFutureTask@6e91893]
>  rejected from 
> [org.apache.phoenix.job.JobManager$1@26ae880a[Running|mailto:org.apache.phoenix.job.JobManager$1@26ae880a[Running],
>  pool size = 128, active threads = 128, queued tasks = 5000, completed tasks 
> = 36647]
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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


[jira] [Updated] (PHOENIX-6050) Set properties is invalid in client

2020-07-28 Thread Chao Wang (Jira)


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

Chao Wang updated PHOENIX-6050:
---
Description: 
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). As shown in the 
following image.

 

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .

  was:
I set properties in client, which are "phoenix.query.threadPoolSize", but this 
is invalid.  ThreadPool always use default value (128). As shown in the 
following image.

!1.png!

I find PhoenixDriver create threadpool before init config from properties. when 
create threadpool ,  config is always default value .


> Set properties is invalid in client
> ---
>
> Key: PHOENIX-6050
> URL: https://issues.apache.org/jira/browse/PHOENIX-6050
> Project: Phoenix
>  Issue Type: Bug
>  Components: core
>Affects Versions: 4.13.1
> Environment: phoenix 4.13.1
> hbase 1.3.1
>Reporter: Chao Wang
>Assignee: Chao Wang
>Priority: Major
>
> I set properties in client, which are "phoenix.query.threadPoolSize", but 
> this is invalid.  ThreadPool always use default value (128). As shown in the 
> following image.
>  
> I find PhoenixDriver create threadpool before init config from properties. 
> when create threadpool ,  config is always default value .



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