I am using forceMergeEmptySegment parameter for merging empty segments, can
please tell me the parameter for holes between segments.I tried what you
suggested previous, but its giving wrong parameter as error. I am using the
below for merging,
/usr/bin/curl -b /home/hdfs/cookiefile.txt --user ADMIN:KYLIN -X PUT -H
'Content-Type: application/json' -d '{"startTime":'$marge_start_time',
"endTime":'$merger_end_time',"buildType":"MERGE","forceMergeEmptySegment":true,"isForce":true}'
http://192.168.1.61:7070/kylin/api/cubes/EnvironmentDetailsCube/rebuild.
error as follows,
{"url":"http://10.82.0.17:7070/kylin/api/cubes/CameraAlertCube/rebuild","exception":"Could
not read JSON: Unexpected character (',' (code 44)): expected a valid value
(number, String, array, object, 'true', 'false' or 'null')\n at [Source:
org.apache.catalina.connector.CoyoteInputStream@10255ad; line: 1, column: 15];
nested exception is com.fasterxml.jackson.core.JsonParseException: Unexpected
character (',' (code 44)): expected a valid value (number, String, array,
object, 'true', 'false' or 'null')\n at [Source:
org.apache.catalina.connector.CoyoteInputStream@10255ad; line: 1, column: 15]"}
Please provide me proper way to do this..
From: Billy Liu [mailto:[email protected]]
Sent: Tuesday, October 03, 2017 7:15 PM
To: user
Subject: Re: How to merge cube segments with holes?
The merge API has one parameter named isForce in JobBuildRequest. Could you set
it to true and try again?
2017-10-03 20:25 GMT+08:30 <[email protected]>:
Hi all,
Anybody have any idea about how to merge cube segments with hole. if I tried to
merge its giving as,
Merging segments must not have holes between
CameraAlertCube[20170926120000_20170926154956] and
CameraAlertCube[20170926161959_20170926165002]
can you please help me how to solve this problem....
Thanks & Regards,
Prasanna.P