Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static void main(String[] args)
int count = 0;
while (schemaIter.next()) {
count ++;
Path currentPath = new Path(schemaIter.getString("timeseries"));
Path currentPath = new Path(schemaIter.getString("timeseries"), true);
Future future = executorService.submit(
new LoadThread(count, currentPath, TSDataType.valueOf(schemaIter.getString("dataType"))));
futureList.add(future);
Expand Down Expand Up @@ -120,14 +120,14 @@ public LoadThread(int i, Path series, TSDataType dataType) {
this.measurement = series.getMeasurement();
this.dataType = dataType;
this.series = series;
List<MeasurementSchema> schemaList = new ArrayList<>();
schemaList.add(new MeasurementSchema(measurement, dataType));
tablet = new Tablet(device, schemaList, 300000);
}

@Override
public Void call() {

List<MeasurementSchema> schemaList = new ArrayList<>();
schemaList.add(new MeasurementSchema(measurement, dataType));
tablet = new Tablet(device, schemaList, 300000);
SessionDataSetWrapper dataSet = null;

try {
Expand Down