Re: Re: rest api about /tables/addStreamingSrc

2017-02-19 Thread xufan
thanks, i only call this rest api to add tables one by one, sometimes failed, so i have to sleep some millsec after adding one table mu.xu...@163.com From: Li Yang Date: 2017-02-20 15:39 To: dev Subject: Re: rest api about /tables/addStreamingSrc The resource store uses timestamp check to

Re: rest api about /tables/addStreamingSrc

2017-02-19 Thread Li Yang
The resource store uses timestamp check to prevent two threads updating one resource at the same time. I'm not sure of the exact update sequence in your scenario. But usually, the writer getting the exception must retry the update by reading, modifying, saving the resource again. Yang On Thu, Feb

rest api about /tables/addStreamingSrc

2017-02-16 Thread xufan
hi, i use kylin1.5.1, my program upload json file with ResourceTool now i will use rest api because my program maybe run in java env only project,model_desc and cube_desc can find corresponding api, tables api can use /tables/{tables}/{project},but my hive tables use csv SERDE,all columns type