Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-2044

Without binding the client, out-of-order writing should be supported

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Benchmark
    • None

    Description

      Currently, the client is not bound, and an error will be reported for out-of-order writing,like this:

      2021-11-22 14:25:37,648 INFO  cn.edu.tsinghua.iotdb.benchmark.tsdb.DBWrapper:478 - Registering schema... 
      2021-11-22 14:25:37,732 INFO  cn.edu.tsinghua.iotdb.benchmark.mode.BaseMode:120 - Registering schema successful! 
      2021-11-22 14:25:37,736 INFO  cn.edu.tsinghua.iotdb.benchmark.workload.GenerateDataWorkLoad:148 - Start Generating WorkLoad 
      2021-11-22 14:25:37,774 INFO  cn.edu.tsinghua.iotdb.benchmark.workload.GenerateDataWorkLoad:196 - Finish 0.0 % WorkLoad Buffer 
      2021-11-22 14:25:37,789 INFO  cn.edu.tsinghua.iotdb.benchmark.workload.GenerateDataWorkLoad:203 - Finish Generating WorkLoad 
      2021-11-22 14:25:37,879 ERROR cn.edu.tsinghua.iotdb.benchmark.workload.SingletonWorkDataWorkLoad:120 - Not supported OUT_OF_ORDER_MODE = 1 when IS_CLIENT_BIND = false 
      2021-11-22 14:25:37,881 ERROR cn.edu.tsinghua.iotdb.benchmark.workload.SingletonWorkDataWorkLoad:120 - Not supported OUT_OF_ORDER_MODE = 1 when IS_CLIENT_BIND = false 
      2021-11-22 14:25:37,881 ERROR cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateDataMixClient:130 - Failed to insert one batch data because  
      java.lang.NullPointerException: null
              at cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateBaseClient.checkBatch(GenerateBaseClient.java:64)
              at cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateDataMixClient.ingestionOperation(GenerateDataMixClient.java:123)
              at cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateDataMixClient.doTest(GenerateDataMixClient.java:50)
              at cn.edu.tsinghua.iotdb.benchmark.client.Client.run(Client.java:138)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)
      2021-11-22 14:25:37,881 ERROR cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateDataMixClient:130 - Failed to insert one batch data because  
      java.lang.NullPointerException: null
              at cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateBaseClient.checkBatch(GenerateBaseClient.java:64)
              at cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateDataMixClient.ingestionOperation(GenerateDataMixClient.java:123)
              at cn.edu.tsinghua.iotdb.benchmark.client.generate.GenerateDataMixClient.doTest(GenerateDataMixClient.java:50)
              at cn.edu.tsinghua.iotdb.benchmark.client.Client.run(Client.java:138)
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
              at java.util.concurrent.FutureTask.run(FutureTask.java:266)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
              at java.lang.Thread.run(Thread.java:748)

      Attachments

        1. config.properties
          13 kB
          xiaozhihong

        Activity

          People

            qiaojialin Jialin Qiao
            xiaozhihong xiaozhihong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: