Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Coverity Fix for Bad Lock Object

CID 68477: Bad choice of lock object (BAD_LOCK_OBJECT)

- boxed_lock:

Boxing a primitive may or may not return a canonical boxed

representation depending upon the value of the primitive being boxed.

Thus, using a boxed primitive as a lock is dangerous.

Change-Id: Ib993d94bfae6b788b5b56d388fa7a33ec958dee4

Reviewed-on: https://asterix-gerrit.ics.uci.edu/665

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Ian Maxon <imaxon@apache.org>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

Enabled Feed Tests and Added External Library tests

Feed tests had been switched off for a while due to having too many

sporadic failures. Now, we are switching them back on.

In addition, a new set of tests have been added to test that external

library works as expected.

Change-Id: Idd1fccd136fa2645b2707bbf7c04e60991ae8d4a

Reviewed-on: https://asterix-gerrit.ics.uci.edu/625

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>

    • -0
    • +10
    ./record/reader/hdfs/HDFSRecordReader.java
    • -0
    • +10
    ./record/reader/rss/RSSRecordReader.java
    • -0
    • +119
    ./record/reader/stream/EmptyLineSeparatedRecordReader.java
    • -0
    • +45
    ./record/reader/stream/EmptyLineSeparatedRecordReaderFactory.java
    • -5
    • +15
    ./stream/LocalFileSystemInputStream.java
  1. … 190 more files in changeset.
Remove Trailing Whitespace

This change removes all trailing whitespace in

java files in asterixdb

Change-Id: I32cda384f71dd5237a3c63e83c661f1cf64dc0eb

Reviewed-on: https://asterix-gerrit.ics.uci.edu/646

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Till Westmann <tillw@apache.org>

    • -1
    • +1
    ./stream/factory/TwitterFirehoseStreamProviderFactory.java
  1. … 323 more files in changeset.
Add flush() to IFrameWriter

This method is expected to be used with feeds to push

frames all the way to storage when needed. As of now, it is

needed in two cases:

1. No activities in ingestion node and need to push content

so it can be stored.

2. When the ingestion node needs to move the checkpoint ahead

if the at least once semantics are used.

Two feeds make use of this function. The filesystem feed and

couchbase feed which was introduced as well in this change.

Change-Id: Id862ce9e9b1360864c6976f2aea2137092f51203

Reviewed-on: https://asterix-gerrit.ics.uci.edu/585

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

    • -0
    • +138
    ./record/RecordWithMetadata.java
    • -78
    • +0
    ./record/reader/AbstractCharRecordLookupReader.java
    • -113
    • +0
    ./record/reader/AbstractHDFSLookupRecordReader.java
    • -90
    • +0
    ./record/reader/AbstractStreamRecordReader.java
    • -99
    • +0
    ./record/reader/AbstractStreamRecordReaderFactory.java
    • -194
    • +0
    ./record/reader/HDFSRecordReader.java
    • -234
    • +0
    ./record/reader/HDFSTextLineReader.java
    • -106
    • +0
    ./record/reader/LineRecordReader.java
    • -44
    • +0
    ./record/reader/LookupReaderFactoryProvider.java
    • -119
    • +0
    ./record/reader/QuotedLineRecordReader.java
    • -92
    • +0
    ./record/reader/RCLookupReader.java
    • -177
    • +0
    ./record/reader/RSSRecordReader.java
  1. … 89 more files in changeset.
remove end-of-line whitespace

Change-Id: I5c0415f47d4c3a9827574fbdab949b45718d9ea4

Reviewed-on: https://asterix-gerrit.ics.uci.edu/601

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Yingyi Bu <buyingyi@gmail.com>

    • -5
    • +5
    ./record/reader/HDFSTextLineReader.java
  1. … 138 more files in changeset.
Feed Fixes and Cleanup

1. Introduce filesystem feed data source.

2. Fix the order of closing feed stages on disconnection.

3. Added Twitter feed to the compatibility utility to allow

using it with its alias.

4. First part of the feed log space.

5. Fixed the handling of duplicate key exception.

Change-Id: I4e8db26a810efd1fbaa52ceeb3efd0c8328ab070

Reviewed-on: https://asterix-gerrit.ics.uci.edu/574

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

    • -1
    • +16
    ./record/reader/AbstractStreamRecordReader.java
    • -1
    • +11
    ./record/reader/SemiStructuredRecordReader.java
    • -4
    • +14
    ./record/reader/TwitterPushRecordReader.java
    • -18
    • +24
    ./stream/LocalFSInputStreamProvider.java
    • -0
    • +125
    ./stream/LocalFileSystemInputStream.java
    • -1
    • +1
    ./stream/TwitterFirehoseInputStreamProvider.java
    • -13
    • +28
    ./stream/factory/LocalFSInputStreamProviderFactory.java
  1. … 406 more files in changeset.
First stage of external data cleanup

In this change, different parts of external data were refactored.

The goal was to make it more modular, easier to maintain and allow

higher flexibility for extension in addition to reducing code redundancy.

Change-Id: I04a8c4e494d8d1363992b6fe0bdbe6b2b3b7b767

Reviewed-on: https://asterix-gerrit.ics.uci.edu/566

Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>

Reviewed-by: Murtadha Hubail <hubailmor@gmail.com>

    • -0
    • +198
    ./HDFSDataSourceFactory.java
    • -0
    • +106
    ./record/CharArrayRecord.java
    • -0
    • +62
    ./record/GenericRecord.java
    • -0
    • +78
    ./record/reader/AbstractCharRecordLookupReader.java
    • -0
    • +113
    ./record/reader/AbstractHDFSLookupRecordReader.java
    • -0
    • +75
    ./record/reader/AbstractStreamRecordReader.java
    • -0
    • +99
    ./record/reader/AbstractStreamRecordReaderFactory.java
    • -0
    • +56
    ./record/reader/EmptyRecordReader.java
    • -0
    • +194
    ./record/reader/HDFSRecordReader.java
    • -0
    • +234
    ./record/reader/HDFSTextLineReader.java
    • -0
    • +108
    ./record/reader/LineRecordReader.java
    • -0
    • +44
    ./record/reader/LookupReaderFactoryProvider.java
    • -0
    • +115
    ./record/reader/QuotedLineRecordReader.java
    • -0
    • +92
    ./record/reader/RCLookupReader.java
    • -0
    • +177
    ./record/reader/RSSRecordReader.java
  1. … 329 more files in changeset.