[GitHub] [incubator-iotdb] sonarcloud[bot] commented on pull request #1439: [IOTDB-544] PISA index

2020-06-30 Thread GitBox


sonarcloud[bot] commented on pull request #1439:
URL: https://github.com/apache/incubator-iotdb/pull/1439#issuecomment-652188924


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=SECURITY_HOTSPOT)
 [4 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=CODE_SMELL)
 [91 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1439)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1439=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1439=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] sonarcloud[bot] removed a comment on pull request #1439: [IOTDB-544] PISA index

2020-06-30 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1439:
URL: https://github.com/apache/incubator-iotdb/pull/1439#issuecomment-651862632


   SonarCloud Quality Gate failed.
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=BUG)
 [12 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=VULNERABILITY)
 [2 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=SECURITY_HOTSPOT)
 [4 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=CODE_SMELL)
 [103 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1439=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1439)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1439=new_duplicated_lines_density=list)
 [1.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1439=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SailVR commented on pull request #1443: [IOTDB-774]Fix "show timeseries" OOM problem

2020-06-30 Thread GitBox


SailVR commented on pull request #1443:
URL: https://github.com/apache/incubator-iotdb/pull/1443#issuecomment-652152738


   > > Good job.
   > > However, what will happen if the user defined limit is larger than the 
fetch size? It seems that you didn't deal with this case in your code.
   > 
   > When the limit is larger than fetchSize, we press fetchSize several times 
in the background. Let me add one test when limit>fetchSize
   
   IoTDBSimpleQueryIT.testShowTimeseriesDataSet4()



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SailVR removed a comment on pull request #1443: [IOTDB-774]Fix "show timeseries" OOM problem

2020-06-30 Thread GitBox


SailVR removed a comment on pull request #1443:
URL: https://github.com/apache/incubator-iotdb/pull/1443#issuecomment-652152321


   > Good job.
   > 
   > However, what will happen if the user defined limit is larger than the 
fetch size? It seems that you didn't deal with this case in your code.
   
   When the limit is larger than fetchSize, we press fetchSize several times in 
the background. Let me add one test when limit>fetchSize



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SailVR commented on pull request #1443: [IOTDB-774]Fix "show timeseries" OOM problem

2020-06-30 Thread GitBox


SailVR commented on pull request #1443:
URL: https://github.com/apache/incubator-iotdb/pull/1443#issuecomment-652152321


   > Good job.
   > 
   > However, what will happen if the user defined limit is larger than the 
fetch size? It seems that you didn't deal with this case in your code.
   
   When the limit is larger than fetchSize, we press fetchSize several times in 
the background. Let me add one test when limit>fetchSize



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SailVR closed pull request #1391: [IOTDB-677]add live-demo

2020-06-30 Thread GitBox


SailVR closed pull request #1391:
URL: https://github.com/apache/incubator-iotdb/pull/1391


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SilverNarcissus merged pull request #1431: change the way to get MManager

2020-06-30 Thread GitBox


SilverNarcissus merged pull request #1431:
URL: https://github.com/apache/incubator-iotdb/pull/1431


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SilverNarcissus commented on pull request #1431: change the way to get MManager

2020-06-30 Thread GitBox


SilverNarcissus commented on pull request #1431:
URL: https://github.com/apache/incubator-iotdb/pull/1431#issuecomment-652131645


   Fantastic work!



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SailVR closed pull request #1417: [IOTDB-774]Handle result of "show timeseries" as iterator

2020-06-30 Thread GitBox


SailVR closed pull request #1417:
URL: https://github.com/apache/incubator-iotdb/pull/1417


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] SailVR opened a new pull request #1443: [IOTDB-774]Fix "show timeseries" OOM problem

2020-06-30 Thread GitBox


SailVR opened a new pull request #1443:
URL: https://github.com/apache/incubator-iotdb/pull/1443


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] qiaojialin merged pull request #1433: Abstract InsertPlan

2020-06-30 Thread GitBox


qiaojialin merged pull request #1433:
URL: https://github.com/apache/incubator-iotdb/pull/1433


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] sonarcloud[bot] removed a comment on pull request #460: [IOTDB-68] New shared-nothing cluster

2020-06-30 Thread GitBox


sonarcloud[bot] removed a comment on pull request #460:
URL: https://github.com/apache/incubator-iotdb/pull/460#issuecomment-650762111


   SonarCloud Quality Gate failed.
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=BUG)
 [8 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=SECURITY_HOTSPOT)
 [4 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=CODE_SMELL)
 [157 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=460)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=460=new_duplicated_lines_density=list)
 [1.2% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=460=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] sonarcloud[bot] commented on pull request #460: [IOTDB-68] New shared-nothing cluster

2020-06-30 Thread GitBox


sonarcloud[bot] commented on pull request #460:
URL: https://github.com/apache/incubator-iotdb/pull/460#issuecomment-651717783


   SonarCloud Quality Gate failed.
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=BUG)
 [8 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=SECURITY_HOTSPOT)
 [4 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=CODE_SMELL)
 [151 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=460=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=460)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=460=new_duplicated_lines_density=list)
 [1.2% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=460=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] sonarcloud[bot] removed a comment on pull request #1326: premerge for the distributed version

2020-06-30 Thread GitBox


sonarcloud[bot] removed a comment on pull request #1326:
URL: https://github.com/apache/incubator-iotdb/pull/1326#issuecomment-650863319


   SonarCloud Quality Gate failed.
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=CODE_SMELL)
 [9 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1326)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1326=new_duplicated_lines_density=list)
 [14.5% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1326=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] sonarcloud[bot] commented on pull request #1326: premerge for the distributed version

2020-06-30 Thread GitBox


sonarcloud[bot] commented on pull request #1326:
URL: https://github.com/apache/incubator-iotdb/pull/1326#issuecomment-651712286


   SonarCloud Quality Gate failed.
   
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=VULNERABILITY)
 (and [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=SECURITY_HOTSPOT)
 to review)  
   [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=CODE_SMELL)
 [9 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_incubator-iotdb=1326=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1326)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1326=new_duplicated_lines_density=list)
 [14.8% 
Duplication](https://sonarcloud.io/component_measures?id=apache_incubator-iotdb=1326=new_duplicated_lines_density=list)
   
The version of Java (1.8.0_252) you 
have used to run this analysis is deprecated and we will stop accepting it from 
October 2020. Please update to at least Java 11.
   Read more [here](https://sonarcloud.io/documentation/upcoming/)
   
   
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] kqkdChen opened a new issue #1442: failed to insert data using python paho mqtt library

2020-06-30 Thread GitBox


kqkdChen opened a new issue #1442:
URL: https://github.com/apache/incubator-iotdb/issues/1442


   使用 python paho mqtt 插入数据时出现错误:
   client_id不能为空,且qos必须等于0,不然就会出现错误。
   
   qos=1 or 2, 则会出现如下错误,结果就是预期应该插入10W条数据的结果只插入了20条数据
   
![image](https://user-images.githubusercontent.com/41674301/86111404-47a77000-baf9-11ea-870b-cd7b3e5ba2e2.png)
   
   iotdb version: 0.10.0
   paho-mqtt: 1.5.0
   
   代码如下
   
   ```python
   import random
   
   import paho.mqtt.client as mqtt
   import time
   
   
   def on_connect(client, userdata, flags, rc):
   print("Connected with result code: " + str(rc))
   
   
   def on_message(client, userdata, msg):
   print(msg.topic + " " + str(msg.payload))
   
   
   client = mqtt.Client(client_id=str(random.uniform(1, 10)))
   # client = mqtt.Client()
   client.username_pw_set("root", "root")
   client.connect('127.0.0.1', 1883)
   
   timestamp = lambda: int(round(time.time() * 1000))
   for i in range(10):
   message = "{\n" "\"device\":\"root.log.d1\",\n" "\"timestamp\":%d,\n" 
"\"measurements\":[\"s1\"],\n" "\"values" \
 "\":[%f]\n" "}" % (timestamp() + 1000 * i, random.uniform(1, 
10))
   client.publish('root.log.d1.info', payload=message, qos=0, retain=False)
   client.disconnect()
   
   ```



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] neuyilan opened a new pull request #1441: [distributed] change log to asynchronous & add thrift max frame size & fix the InterruptedException bug

2020-06-30 Thread GitBox


neuyilan opened a new pull request #1441:
URL: https://github.com/apache/incubator-iotdb/pull/1441


   1. change log to asynchronous
   2. add thrift max frame size
   3. fix the InterruptedException bug



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [incubator-iotdb] kqkdChen closed issue #1425: SQL执行时间怎样优化到毫秒级别?还是说根本就不可能?

2020-06-30 Thread GitBox


kqkdChen closed issue #1425:
URL: https://github.com/apache/incubator-iotdb/issues/1425


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org