Commit Graph

24 Commits

Author SHA1 Message Date
Zesong Sun 20b2b9119f [IOTDB-234] Refactor TsFile storage on HDFS (#417)
* Refactor TsFile storage on HDFS
2019-10-18 21:21:11 +08:00
Jialin Qiao 9f3ff8fb94
Revert "change hadoop package name (#452)" (#454)
This reverts rename hadoop package , commit 42c62e7e15.
2019-10-17 20:32:20 +08:00
Jackie Tien 42c62e7e15 change hadoop package name (#452)
* change hadoop package name
2019-10-17 20:10:37 +08:00
Jackie Tien 4f254fd05e [IOTDB-209]Improvement on the Hadoop module (#386)
* add hadoop-tsfile connector
2019-09-27 18:55:26 +08:00
Boris 9bae1f3933 Change javdoc to block comment. (#420)
Change javdoc to block comment.
2019-09-26 13:27:58 +08:00
qiaojialin 5d4edb5a24 remove author 2019-09-21 18:59:39 +08:00
qiaojialin 9a2507a97f remove unthrowed exception 2019-09-21 18:57:51 +08:00
qiaojialin 064523e215 rename FileSchema to Schema 2019-08-26 15:57:41 +08:00
Christofer Dutz 9b355955ed - Nothing is built outside the target directory anymore
o	I moved the static parts of the client and server distributions to “src/assembly/resources” and added an assembly that builds the client and server inside the target directory (You need to update the documentation on this)
o	The sever is now available at server/target/iotdb-server-0.9.0-SNAPSHOT
o	The client is now available at client/target/iotdb-client-0.9.0-SNAPSHOT
o	I updated the integration tests to work with these new locations
-	I updated the distribution module (binary-distribution) to simply include and unpack the client and server assemblies, which greatly simplifies the assembly itself.
-	In the integration-tests you use a process builder to get the current working directory … you can access this in the “user.dir” System property.
-	There was a large mixture of artifacts with different versions in the classpath.
o	I set all versions to the same using a big dependencyManagement block in the master pom
o	I removed the version of every external dependency and moved it into the main dependencyManagement block in the root pom (except dependencies only used in the examples, for these I added a dependencyManagement block in the example pom). This way you instantly identify external dependencies.
o	I added an enforcer rule to fail the build if two differing versions of one artifact are being used in the build (This should eliminate this problem from re-occuring)
o	I replaced the usage of “${project.version}” with the real version (There is no need to manually update these versions and this way when looking at the pom you instantly know the version … keep in mind if an artifact is deployed to maven central, the user doesn’t have the code and therefore he always has to scroll up to the top in order to see which version is used)
-	There were some imports related to Jdk 11 no longer providing some APIs, I moved those imports to a maven profile, which is activated based on the JDK version
-	HDFSInputTest created a file in “spark/test/” … if the test failed, the rat plugin would complain the next time it’s run.

I checked the build with all tests on Oracle-Java 8, Open-JDK 11, Oracle-JDK 12.
2019-08-05 14:41:25 +02:00
qiaojialin 6b2bf220dd change version to 0.9.0-SNAPSHOT 2019-07-27 10:40:13 +08:00
Julian Feinauer 82706a3d18 Changed parent pom name. Delted build module and moved "binary" build to parent pom. 2019-07-27 10:35:50 +08:00
Xiangdong Huang c56fc480b7 Split the LICENSE and NOTICE as source-release version and binary-release version (#300)
* remove unbundled dependencies from NOTICE and NOTICE-binary; add License-binary

* move some license declaration from LICENSE to LICENSE-binary

* add NOTICE-binary and LICENSE-binary to the binary tar.gz file

* rename License to LICENSE

* add source code declaration with MavenWrapper

* change the root name as incubating-iotdb-parent

* add DISCLAIMER file
2019-07-26 18:00:03 +08:00
Jialin Qiao 3a16bd5051 New Storage Engine (#217)
*  New Storage Engine. BufferwriteProcessor, OverflowProcessor, FileNodeProcessor and FileNodeManager are replaced by UnsealedTsFileProcessor, UnsealedTsFileProcessor, StorageGroupProcessor and StorageGroupManager.

* Async Flush Processor

* QueryDataSource is modified to adapt the new storage engine.

* Data dir is modified. TsFile.restore, FileNode.restore are discarded.

* a new tsfile summary file: tsfile.resource.

* Overflow file is isomorphic with Tsfile.

* A new chunk structure: TVList

* Each tsfile has a WAL file.

* Add some config parameters: memTableNumber, chunkBufferPoolEnable. 

* System_dir is discarded.
2019-07-05 16:26:56 +08:00
xiangdong huang 35fc67636a set the hadoop-module logback level as info 2019-06-28 21:34:39 +08:00
Jiang Tian 2fbd949b08 [IOTDB-95]keep stack trace when logging or throwing an Exception (#180)
* keep stack trace when logging or throwing an Exception
2019-05-25 14:06:47 +08:00
Jialin Qiao 7a563c0ec5
update license (#94)
* upgrade mvn wrapper version from 3.5.0 to 3.6.0

* replace org.json by alibaba.fastjson

* remove LGPL 2.1 license of logback

* update license and NOTICE

* add CDDL and EDL license
2019-03-15 19:28:34 +08:00
xiangdong huang f7b9c64f70 add ASF header on *.md files 2019-01-20 09:11:42 +08:00
xiangdong huang 691ffe4a35 1. modify asf header for each file; 2. enable apache-rat-plugin; 3. add more exclusive files on apache-rat-plugin and license-maven-plugin, i.e., *.json, *.md, and *.csv 2019-01-19 18:52:35 +08:00
Rui Liu 93727d8e34 Check style and license-format (#590)
* format Almost for obeying Google Java Style.

* fix the problem of checkstyle

* fix license-format template file location
2019-01-18 01:31:48 +08:00
XuYi bce8d49923
fix format bug (#580) 2019-01-13 22:33:47 +08:00
XuYi d6934c1efd add apache header check plugin and format code plugin (#572)
* add apache header check plugin

* add fotmat plugin

* move format code to verify phase

* change to compile phase

* change to verify phase

* remove special char in .travis

* remove useless code

* add apach header and format codes

* Update MavenWrapperDownloader.java
2019-01-13 15:59:52 +08:00
Xiangdong Huang 2dd4727df1 rename package name from cn.edu.tsinghua to org.apache.iotdb (#578) 2019-01-12 13:45:02 +08:00
Xiangdong Huang 22fe7d3172
IT IS TIME TO KILL THANOS. (#577)
* add comment in PageHeader

* add comment for TsFile, SeriesSchema, RecordUtils

* add pagereader comment

* add SeriesChunkReader comment

* replace SeriesReader by TimeValuePairReader

* add comment for class TsRowGroupBlockMetaData TsDeltaObject RowGroupMetaData

* add comment for QueryConfig, QueryEngine, QueryType

* translate a comment

* format

* change .ts to .tsfile

* add comment for QueryDataSet, OnePassQueryDataSet, Field, OldRowRecord, RowRecord

* recover ReadTest (not completed) and fix a neq filter bug

* update ReadTest

* fix a statistic bug and update ReadTest

* update read demo

* change RowGroupHeader to RowGroupFooter
update ReadTest

* add comment for IteratorOnePassQueryDataSet, TsPrimitiveType

* add comment for IteratorOnePassQueryDataSet, TsPrimitiveType

* add MetaMarker to distinguish RowGroupFooter and ChunkHeader

* fix one SerializedSize bug
add argument 'markerRead' in deserializeFrom()
some refinements

* fix one spelling miss

* add comment for FilterUtils

* to merge add_comment

* add cov plugin and comment for encoding

* update example

* fix all reviews

* fix reviews

* move the project into subfolder

* merge with master, and kill tsfile/interface

* add second level index for tsfile

* modify read process for usage of two level chunkgroup metadata

* code format and rename RowGroup to ChunkGroup, SeriesChunk to Chunk, DeltaObject to Device

* change delta object to device, row group to chunk group

* change deltaFileWriter to fileWriter

* fix ut test (for TsDeviceMetadataTest)

* remove the .travis.yml

* optimize ChunkLoaderImpl (#463)

* add Metadata Seperator

* remove hasNextChunkGroup in TsFileSequenceReader

* add TsFileIOWriterTest

* format

* add reset() for decoder

* delete

* replace InputStream by ByteBuffer in PageDataReader (#467)

* replace InputStream by ByteBuffer in PageDataReader

* remove visitor

* remove visitor in filter

* change Long to long in filter

* test

* remove unnecessary T

* fix issue 479:fix the bug caused by chunk cache loading (#481)

* fix the bug of #479  The number of result is wrong when using filter, which is caused by chunk cache loading

* replace readv2 to read, filterv2 to filter, and MeasurementDescriptor to MeasurementSchema in many classes' import clause. (#480)

* recover example

* change to long

* remove satisfy in SeriesFilter

* patch from write_thanos, for fix bug

* rename reader

* fix review

* change tsfile io output as an interface (#493)

* change tsfile io output as an interface

* add new TsFileIoWriter for incomplete file

* add  method

* add flush method to tsfileOutput

* replace TimeValuePair by BatchData (#491)

* read data in batch rather than one by one
* discard TsPrimitive class

* Timegenerator cache value optimization (#496)

optimize time generator and hasNext & next

* Move package (#497)

* Move the read and write packages out of the timeseries package.

* Rename class name *QueryFilter* to *Expression*.

* Move the filter package into the read package.

* Move the expression package out of the filter package.

* Move all exception classes into cn.edu.tsinghua.tsfile.exception.

* Update corresponding import in the IoTDB module.

* Classify the common and utils packages.

* fix the error in iotdb wal package; add processorexception

* on the way

* delete index package

* remove package error

* add utils

* add TimeValuePair, format package

* fix IExpression optimizer bug

* remove fill and groupby package, format package

* format package

* comment old aggregate and query code

* comment read analysis code

* remove overflow update operation package

* add transform filter operator to Expression

* remove useless class in engine/control and fix pacakge in serialize

* qp ok

* QueryProcessExecutor ordinary query ok

* format read

* add series reader

* modify read process

* modify priority reader, merge reader and SealedReader, UnSealedReader

* fix SealedTsFileReader, UnSealedTsFileReader

* update priority merge reader

* remove overflow chunk loader

* delete QueryWithoutFilterExecutorImpl

* format class code

* format code

* modify time generator

* Engine data set without time generator

* engine data set

* replace FileChannel in tsfileSequenceReader  as an interface

* remove unused import

* Write thanos (#514)

* fix timegenerator and reader code

* format code and doc

* fix tsfile import

* fix some import

* remove query

* add new class for reading unclosed TsFile

* adapt UnSealedTsFileReader

* update test in qp

* refactor overflow and filenode

* add fill

* resolve the error of filter

* delete generated codes by Thrfit

* fix FileNodeProcessor

* remove read package

* fix test

* delete interval tree test

* resolve all error in filenode

* fix error in tsfile metadata utils

* add jdbc support

* fix error in grafana

* fix error in iotdb src/main/

* fix all error

* modify the test for overflow and filenode

* fix test error

* delete some useless class

* fix test

* fix unit test

* fix test error

* modify the overflow test

* fix test

* delete fill feature

* add IFill again

* open limit and slimit in logical generator

* fix plan test

* format code

* change some TsFileWriter functions as private; add comments in MemSeriesLazeMerger; fix the return value in write() in BufferWriteProcessor

* fix bug when ReadWriteIOUtils.readAsPossible() read too much data. simplize read data by TsFileMetadataUtil in iotdb

* change some parameter type from IMemSeries to TimeValuePairSorter if the parameter is only used for read

* modifty some code for overflow test

* better organize the IMemSeries and RawSeriesChunk (#522)

* delete RawSeriesChunk, and change RawSeriesChunkLazyLoadImpl as ReadOnlyMemChunk

* rename IMemSeries to IWritableMemSeries, and PrimitiveMemSeries to WriableMemChunk

* remove the update and delete insert

* add javadoc of BufferWriteProcessor

* fix bug: add pre flush before write all chunk data into inputstream

* make read program avaliable

* add PriorityMergeReaderTest

* fix the bug caused by querying empty series

* modify the runing mode of test beautiful

* redesign when to generate ChunkGroupFooter (#526)

* fix read test

* fix read bug

* fix bug in read process

* add override for some class

* rename TestUitls to Constant

* fix read test

* fix problems due to alibaba java code

* remove test in IoTDBCompleteTest

* rename queryV2 package to query

* change Action Map from <string, object> to <string, Action>

* remove duplicated code in processor test

* add javadoc for BufferWriteProcessor

* add IoTDB query performance test

* format code, fix bug

* add TsFileDBConfig

* fix too many open files bug of UnSeqFileReader

* fix test

* perfect test

* fix query bug in UnSeqFile logic

* fix test error

* fix integration test error

* submit performance test file, this shoule be deleted later

* add ShowTimeseriesTest2

* perfect integration test

* add MinMaxTime filter

* remove performance package

* add override method for some class

* weaken the function of BufferWriteRestoreManager (#555)

* add file stream manager to avoid too many oopen files error

* add file stream manager for opened files

* fix error in logback.xml configuration

* Make TsFileSequenceReader concurrent safety. (#558)

* add functions in TsFile reader for supporting concurrent reading (thread safe )

* remove commented codes, and prevent logback from outputting its own status at the start of every log

* fix a bug

* Fix unsafed serialized size #486 (#487)

* fix #486 getSerializedSize()

* fix null point

* set reCalculateSerializedSize as private

* Add timing opened file reader manager (#561)

* merge master for clean ByteBuffer on high version JDK ( >1.8)

* BufferWrite: Combine BufferWriteIO with BufferWriterRestoreManager into one class (#566)

* delete SegmentInputStream and WithMMap

* remove directByteBuffer check in TsFile, because we never use it

* remove useless class (#570)

* Replace delta object usage with device (#571)

* remove tsfiledb to iotdb (#575)

* merge with master (remove Chinese in the code)
2019-01-12 00:37:14 +08:00
Xiangdong Huang 167f733e8e Assemble all related projects into one. (#450) 2018-11-19 11:31:03 +08:00