Clone Tools
  • last updated 18 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
remove unused files in org/apache/asterix/common/api

Change-Id: I26ddd964e0caed9d8411c3e646f91b80b2a333ae

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

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

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

    • -64
    • +0
    ./api/IAsterixRuntimeComponentsProvider.java
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
    ./config/AsterixReplicationProperties.java
    • -1
    • +1
    ./config/AsterixStorageProperties.java
    • -1
    • +1
    ./functions/FunctionDescriptorTag.java
    • -1
    • +1
    ./messaging/AbstractFailbackPlanMessage.java
    • -1
    • +1
    ./messaging/CompleteFailbackRequestMessage.java
    • -1
    • +1
    ./messaging/CompleteFailbackResponseMessage.java
    • -1
    • +1
    ./messaging/PreparePartitionsFailbackRequestMessage.java
    • -1
    • +1
    ./messaging/PreparePartitionsFailbackResponseMessage.java
    • -1
    • +1
    ./messaging/TakeoverMetadataNodeRequestMessage.java
    • -1
    • +1
    ./messaging/TakeoverMetadataNodeResponseMessage.java
    • -1
    • +1
    ./messaging/TakeoverPartitionsRequestMessage.java
    • -1
    • +1
    ./messaging/TakeoverPartitionsResponseMessage.java
  1. … 312 more files in changeset.
ASTERIXDB-1304: remove interfaces and consolidate

Change-Id: Ibb8819f51c655fadaf47fdbad0af5f66b261b2b5

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

Reviewed-by: Michael Blow <michael.blow@couchbase.com>

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

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

  1. … 12 more files in changeset.
Asterix NCs Failback Support

- Allow Failed NCs to failback and takeover their partitions.

- New cluster API servlet for cluster state description.

- Remove nodeId from txn logs except remote FLUSH_LOG.

- Add partition id in UPDATE and Entity_COMMIT logs.

- Adapt remote recovery to new logs format.

- Refactor RecoveryManager and split Analysis and Redo phase.

- Spill remote recover logs to temporary file.

- Replicate files to remote replicas for partitions of interest only.

- Introduce NC active/inactive partitions concept.

- Test case for failback.

Change-Id: Id17819542d6b9c4e32647e64737c4a467b630f24

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

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

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

    • -5
    • +51
    ./config/AsterixReplicationProperties.java
    • -4
    • +15
    ./context/DatasetLifecycleManager.java
    • -1
    • +2
    ./dataflow/AsterixLSMInsertDeleteOperatorNodePushable.java
    • -0
    • +39
    ./messaging/AbstractFailbackPlanMessage.java
    • -0
    • +56
    ./messaging/CompleteFailbackRequestMessage.java
    • -0
    • +49
    ./messaging/CompleteFailbackResponseMessage.java
    • -0
    • +65
    ./messaging/PreparePartitionsFailbackRequestMessage.java
    • -0
    • +41
    ./messaging/PreparePartitionsFailbackResponseMessage.java
    • -0
    • +52
    ./messaging/ReplicaEventMessage.java
    • -9
    • +1
    ./messaging/TakeoverPartitionsRequestMessage.java
    • -1
    • +6
    ./messaging/api/IApplicationMessage.java
    • -1
    • +12
    ./replication/IRemoteRecoveryManager.java
  1. … 78 more files in changeset.
Support Sending Messages Alongside Frame Data

This change supports sending messages with records. The tuple Appender

reserves 100 bytes for a message. Before sending the frame, it appends

The message in the last tuple position. The message is read from the

task context as the shared object between different operators in the

pipeline. The first use of this feature will be within feeds to request

acks for at least once semantics.

Change-Id: Iaa23e9f8a909ddcafc1c3ee95181092eb04ee1ad

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

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

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

  1. … 13 more files in changeset.
Add Support for Upsert Operation

This change allows users to execute upsert commands which

couples delete if found with insert. It locks the primary

keys before doing the search ensuring consistency.

Change-Id: I8999000331795a5949d621d2dd003903e057a521

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

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

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

    • -1
    • +2
    ./context/DatasetLifecycleManager.java
    • -3
    • +3
    ./context/PrimaryIndexOperationTracker.java
    • -9
    • +13
    ./dataflow/AsterixLSMTreeInsertDeleteOperatorDescriptor.java
    • -0
    • +89
    ./utils/TransactionUtil.java
  1. … 245 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>

    • -3
    • +3
    ./context/DatasetLifecycleManager.java
    • -1
    • +1
    ./dataflow/AsterixLSMInvertedIndexInsertDeleteOperatorDescriptor.java
    • -3
    • +3
    ./dataflow/IAsterixApplicationContextInfo.java
    • -2
    • +2
    ./replication/IReplicationChannel.java
    • -10
    • +10
    ./replication/IReplicationManager.java
  1. … 124 more files in changeset.
Asterix NCs Fault Tolerance

This change includes the following:

- Adapt replication to unique partitions storage.

- Implement auto failover for failing NCs.

- Implement auto failover for metadata node.

- Fix for ASTERIXDB-1251 using proper error message.

- Basic replication test cases using vagrant virtual cluster for:

1. LSM bulkload components replication.

2. LSM Memory components replication and recovery.

3. Metadata node takeover.

These test cases will be part of the cluster test profile.

Change-Id: Ice26d980912a315fcb3efdd571d6ce88717cfea4

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

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

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

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

    • -0
    • +14
    ./api/IAsterixAppRuntimeContext.java
    • -0
    • +29
    ./cluster/IGlobalRecoveryMaanger.java
    • -0
    • +4
    ./config/AsterixMetadataProperties.java
    • -11
    • +2
    ./config/AsterixReplicationProperties.java
    • -0
    • +3
    ./dataflow/IAsterixApplicationContextInfo.java
    • -0
    • +29
    ./messaging/TakeoverMetadataNodeRequestMessage.java
    • -0
    • +38
    ./messaging/TakeoverMetadataNodeResponseMessage.java
    • -0
    • +72
    ./messaging/TakeoverPartitionsRequestMessage.java
    • -0
    • +50
    ./messaging/TakeoverPartitionsResponseMessage.java
    • -1
    • +5
    ./messaging/api/IApplicationMessage.java
    • -0
    • +32
    ./messaging/api/ICCMessageBroker.java
    • -0
    • +16
    ./replication/IRemoteRecoveryManager.java
    • -4
    • +9
    ./replication/IReplicaResourcesManager.java
    • -0
    • +10
    ./transactions/IRecoveryManager.java
  1. … 57 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
    • +1
    ./config/AsterixPropertiesAccessor.java
    • -0
    • +33
    ./config/MetadataConstants.java
    • -2
    • +6
    ./dataflow/AsterixLSMInsertDeleteOperatorNodePushable.java
    • -75
    • +0
    ./feeds/ComputeSideMonitoredBuffer.java
    • -143
    • +0
    ./feeds/DistributeFeedFrameWriter.java
    • -61
    • +0
    ./feeds/FeedCollectRuntimeInputHandler.java
  1. … 403 more files in changeset.
Improve the Testing Framework

This change includes the following improvements to the test framework

1. Checking each expected failure against the failure exception.

2. Checking against multiple causes of failure in case of multiple

expected errors.

3. Check if a test that is expected to fail pass.

4. Make temp datasets use different storage path.

Change-Id: I957ecf19bf7209981e010e0e50fb882442a525dd

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

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

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

    • -1
    • +5
    ./context/DatasetLifecycleManager.java
  1. … 28 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
    • +2
    ./feeds/ComputeSideMonitoredBuffer.java
    • -0
    • +2
    ./feeds/IntakeSideMonitoredBuffer.java
    • -0
    • +2
    ./feeds/StorageSideMonitoredBuffer.java
    • -3
    • +1
    ./feeds/api/IAdapterRuntimeManager.java
    • -0
    • +60
    ./feeds/api/IDataSourceAdapter.java
    • -47
    • +0
    ./feeds/api/IDatasourceAdapter.java
    • -0
    • +28
    ./feeds/api/IFramePostProcessor.java
    • -0
    • +26
    ./feeds/api/IFramePreprocessor.java
    • -1
    • +1
    ./feeds/api/ITupleTrackingFeedAdapter.java
  1. … 329 more files in changeset.
Divide Cluster into Unique Partitions

The change includes the following:

- Fix passing NC stores to AsterixConfiguration.

- Unify storage direcotry name in the instance level rather than the node level.

- Divide the cluster into unique storage partitions based on the number of stores.

- Refactored FileSplits and moved out of AqlMetadataProvider.

- Make AsterixHyracksIntegrationUtil use the passed configuration file.

- Make File Splits pass relative index paths of partitions rather than absolute paths.

- Remove unused AqlCompiledMetadataDeclarations class.

Change-Id: I8c7fbca5113dd7ad569a46dfa2591addb5bf8655

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

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

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

    • -0
    • +77
    ./cluster/ClusterPartition.java
    • -2
    • +13
    ./config/AsterixMetadataProperties.java
    • -6
    • +32
    ./config/AsterixPropertiesAccessor.java
    • -21
    • +21
    ./context/DatasetLifecycleManager.java
    • -1
    • +1
    ./dataflow/AsterixLSMInsertDeleteOperatorNodePushable.java
  1. … 37 more files in changeset.
ASTERIXDB-54: s/IHyracksCommonContext/IHyracksTaskContext/

Change-Id: Id98f3d94e8036199dcbdbdb059c97c0f99ed9205

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

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

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

  1. … 12 more files in changeset.
Adapt Replication to Append Only LSM Components

This change includes the following:

- Make LSN recording in a single tree in LSM components.

- Pass LSN byte offset with every tree index file being replicated.

- Add LSN to remote recovery logs to check which logs should be replayed.

- Update ILogRecord method names to better describe their operation.

Change-Id: I8bd2656746e1c293b981d5f43e80928314ccbad0

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

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

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

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

    • -6
    • +11
    ./ioopcallbacks/AbstractLSMIOOperationCallback.java
    • -6
    • +8
    ./ioopcallbacks/LSMBTreeIOOperationCallback.java
    • -9
    • +8
    ./ioopcallbacks/LSMBTreeWithBuddyIOOperationCallback.java
    • -6
    • +8
    ./ioopcallbacks/LSMInvertedIndexIOOperationCallback.java
    • -8
    • +8
    ./ioopcallbacks/LSMRTreeIOOperationCallback.java
  1. … 9 more files in changeset.
Asterix MessageBroker implementation

This change includes the following:

- Add implementation for CC/NC MessageBroker.

- Implement GlobalResourceIdFactory using MessageBroker.

- Change resource id factory to GlobalResourceIdFactory.

- Refactor metadata indexes fixed properties.

- Use fixed resource ids for metadata indexes.

Change-Id: If4320e2c5a0130d2f86a4be6ae61f5cee43e30af

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

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

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

    • -0
    • +36
    ./messaging/AbstractApplicationMessage.java
    • -0
    • +37
    ./messaging/ReportMaxResourceIdMessage.java
    • -0
    • +37
    ./messaging/ReportMaxResourceIdRequestMessage.java
    • -0
    • +28
    ./messaging/ResourceIdRequestMessage.java
    • -0
    • +47
    ./messaging/ResourceIdRequestResponseMessage.java
    • -0
    • +47
    ./messaging/api/IApplicationMessage.java
    • -0
    • +30
    ./messaging/api/IApplicationMessageCallback.java
    • -0
    • +40
    ./messaging/api/INCMessageBroker.java
    • -2
    • +2
    ./transactions/IAsterixAppRuntimeContextProvider.java
  1. … 17 more files in changeset.
patch 2

    • -9
    • +28
    ./annotations/IntervalJoinExpressionAnnotation.java
  1. … 155 more files in changeset.
Changed the IFrameWriter Contract

Updated existing operators to conform to the new contract.

These operators are either index operators or Feed operators.

The rest of the operator already follow the new contract.

Change-Id: Ibcebe876340a25be0f561945582a95211c140e10

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

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

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

    • -13
    • +26
    ./dataflow/AsterixLSMInsertDeleteOperatorNodePushable.java
    • -2
    • +5
    ./feeds/DistributeFeedFrameWriter.java
  1. … 7 more files in changeset.
patch 1

    • -0
    • +115
    ./annotations/IntervalJoinExpressionAnnotation.java
    • -2
    • +2
    ./annotations/SkipSecondaryIndexSearchExpressionAnnotation.java
  1. … 88 more files in changeset.
ASTERIXDB-1110 Fix count keeping in primary index opTracker

This change fixes the counter of number of active operations in primary

index opTracker. This is accomplished by sharing of counter between multiple

partitions. Each transaction will have that counter as part of its

context object

Change-Id: I0dc34b9a3aa69d39ac2eda11c17e7ad0ccc1a661

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

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

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

    • -4
    • +3
    ./context/PrimaryIndexOperationTracker.java
    • -14
    • +2
    ./transactions/AbstractOperationCallback.java
    • -0
    • +4
    ./transactions/ITransactionContext.java
  1. … 2 more files in changeset.
Fix ASTERIXDB-1194,ASTERIXDB-1195,ASTERIXDB-1196,ASTERIXDB-1197.

Change-Id: I7d167b64bf9ec754182b5b2fe44dfc7e5908c686

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

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

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

    • -0
    • +7
    ./config/AsterixCompilerProperties.java
  1. … 24 more files in changeset.
Clean up compilation warnings.

Change-Id: Idbfcd9c67f91d373c5f7269125778a5681021227

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

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

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

    • -1
    • +1
    ./annotations/RecordDataGenAnnotation.java
    • -8
    • +11
    ./config/AsterixPropertiesAccessor.java
    • -0
    • +2
    ./context/TransactionSubsystemProvider.java
    • -5
    • +6
    ./feeds/DistributeFeedFrameWriter.java
    • -9
    • +11
    ./feeds/FeedRuntimeInputHandler.java
    • -16
    • +12
    ./feeds/IntakePartitionStatistics.java
  1. … 95 more files in changeset.
Make LSN recording in components compatible with append-only

Change-Id: I5610e903be3347893e676c915b98316b06073c25

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

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

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

    • -33
    • +6
    ./ioopcallbacks/AbstractLSMIOOperationCallback.java
  1. … 6 more files in changeset.
ASTERIXDB-1152: Delete storage data of old instances

Change-Id: Ibb6c6949bdf2ed6c3e491fa66a23491ff34fc830

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

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

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

Reviewed-by: Taewoo Kim <wangsaeu@gmail.com>

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

    • -3
    • +0
    ./replication/IReplicaResourcesManager.java
  1. … 5 more files in changeset.
ASTERIXDB-1176: remove unused feeds code

Change-Id: I2de2d7c7fd816ddbd53a80c855f64923c02efe35

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

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

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

    • -147
    • +0
    ./feeds/message/FeedMessageService.java
    • -73
    • +0
    ./feeds/message/FeedTupleCommitResponseMessage.java
  1. … 3 more files in changeset.
Introducing Data Replication To AsterixDB

This change includes the following:

- Add data replication properties to cluster properties and Managix validate command.

- Introduce Data Replication components.

- Add data replication required fields to LogRecord.

- Specialized LogManager for data replication.

- Fix for invalid cluster state on nodes failure.

- ASTERIXDB-139: Fix for cleaning workspace files on startup/shutdown.

- Fix for temp datasets storage reclamation.

- Allow MetadataNode rebinding with CC.

- Add flag to checkpoint to identify sharp checkpoints.

- ASTERIXDB-1170: Fix shutdown sequence

Change-Id: I729fdd1144dbc9ff039b4bc414494860d7553810

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

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

Reviewed-by: Young-Seok Kim <kisskys@gmail.com>

    • -0
    • +14
    ./api/IAsterixAppRuntimeContext.java
    • -0
    • +16
    ./api/IDatasetLifecycleManager.java
    • -0
    • +206
    ./config/AsterixReplicationProperties.java
    • -1
    • +3
    ./config/IAsterixPropertiesProvider.java
    • -20
    • +43
    ./context/DatasetLifecycleManager.java
    • -4
    • +7
    ./context/PrimaryIndexOperationTracker.java
    • -0
    • +3
    ./ioopcallbacks/AbstractLSMIOOperationCallback.java
    • -0
    • +10
    ./ioopcallbacks/LSMBTreeIOOperationCallback.java
    • -0
    • +11
    ./ioopcallbacks/LSMBTreeWithBuddyIOOperationCallback.java
    • -0
    • +10
    ./ioopcallbacks/LSMInvertedIndexIOOperationCallback.java
    • -0
    • +11
    ./ioopcallbacks/LSMRTreeIOOperationCallback.java
    • -0
    • +37
    ./replication/AsterixReplicationJob.java
    • -0
    • +25
    ./replication/IRemoteRecoveryManager.java
  1. … 59 more files in changeset.
ASTERIXDB-1058: use ResourceHeapBufferAllocator for dataset memory components.

Change-Id: Ifd90fabc79e61f84370d415c38917b998db41466

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

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

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

    • -24
    • +33
    ./context/DatasetLifecycleManager.java
    • -8
    • +3
    ./context/PrimaryIndexOperationTracker.java
  1. … 8 more files in changeset.
ASTERIXDB-1058: make Asterix compatible with lazy LSM memory allocation

- Adapt memory budget calculation to lazy LSM memory allocation.

- Add IDatasetLifecycleManager interface.

Change-Id: I4ea1eb129fe3043d43b077473dc29d17a97dfcc2

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

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

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

Reviewed-by: Young-Seok Kim <kisskys@gmail.com>

    • -2
    • +1
    ./api/IAsterixRuntimeComponentsProvider.java
    • -0
    • +88
    ./api/IDatasetLifecycleManager.java
    • -6
    • +6
    ./context/CorrelatedPrefixMergePolicy.java
    • -2
    • +3
    ./context/CorrelatedPrefixMergePolicyFactory.java
    • -40
    • +89
    ./context/DatasetLifecycleManager.java
    • -4
    • +8
    ./context/PrimaryIndexOperationTracker.java
    • -2
    • +2
    ./transactions/IAsterixAppRuntimeContextProvider.java
  1. … 24 more files in changeset.
This change fixes the sporadic connection refused errors

This can mostly be seen during asterix-installer tests.

The fix basically lets managix wait and listens

through zookeeper for a signal from the cluster controller that

the cluster is up and ready.

Once the cluster controller sends the signal, Managix can proceed.

Change-Id: Ib730f50ab2fb492f3cf973d1cf2f03b34e24e5b3

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

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

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

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

  1. … 11 more files in changeset.
ASTERIXDB-1153: Determine build information at runtime

Very simple API. Just do a GET against /admin/version and get all of the build-time git info in JSON.

Change-Id: Ie392eb0cdbd25f2f4679fba12aae4c7a496e9637

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

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

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

    • -0
    • +114
    ./config/AsterixBuildProperties.java
    • -2
    • +16
    ./config/AsterixPropertiesAccessor.java
    • -0
    • +2
    ./config/IAsterixPropertiesProvider.java
  1. … 8 more files in changeset.
ASTERIXDB-1102: VarSize Encoding to store length of String and ByteArray

This patch is to change the encoding format that stores the length value

of

the variable length type (e.g. String, ByteArray) from fix-size encoding

(2bytes) to variable-size encoding ( 1 to 5bytes)

It will solve the issue 1102 to enable us to store a String that longer

than 64K. Also for the common case of storing the short string ( <=

127), it will save one byte per string.

Some important changes include:

1. The UTF8StringSerDer and ByteArraySerDer is not Singleton instance

any more. I need some state to speedup the serialization and avoid the

object creatation. Luckily, 99% percent of Serializer were used as

factory way. The other 1% has been fixed.

A separate Test support, the ExcutionTest now can produce the only.xml

which stores the previous failed runtime test.xml. It can speedup the

debug process.

Change-Id: I41fff780f5c071742ef10129d83c8f945d5886d7

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

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

Reviewed-by: Jianfeng Jia <jianfeng.jia@gmail.com>

  1. … 322 more files in changeset.