Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DRILL-7393: Revisit Drill tests to ensure that patching is executed before any test run

- Added BaseTest with patchers and extended all tests from it.

- Added a test to java-exec module to ensure that all tests there are inherited from BaseTest.

- Revised exception handling in the patchers, now it's individual for each patching method.

closes #1910

    • -1
    • +2
    ./ConnectTriesPropertyTestClusterBits.java
  1. … 138 more files in changeset.
DRILL-6866: Upgrade to SqlLine 1.6.0

1. Changed SqlLine version to 1.6.0.

2. Overridden new getVersion method in DrillSqlLineApplication.

3. Set maxColumnWidth to 80 to avoid issue described in DRILL-6769.

4. Changed colorScheme to obsidian.

5. Output null value for varchar / char / boolean types as null instead of empty string.

6. Changed access modifier from package default to public for JDBC classes that implement external interfaces to avoid issues when calling methods from these classes using reflection.

closes #1556

  1. … 14 more files in changeset.
DRILL-6752: Surround Drill quotes with double quotes

1. Surround Drill quotes with double quotes.

2. Remove drill-sqlline-test.conf, use drill-sqlline.conf for tests instead.

closes #1475

  1. … 4 more files in changeset.
DRILL-3853: Upgrade to SqlLine 1.5.0 closes #1462

    • -0
    • +113
    ./DrillSqlLineApplicationTest.java
  1. … 15 more files in changeset.
DRILL-6422: Replace guava imports with shaded ones

  1. … 983 more files in changeset.
DRILL-6438: Remove excess logging form the tests. - Removed usages of System.out and System.err from the test and replaced with loggers

closes #1284

  1. … 88 more files in changeset.
DRILL-6422: Update guava to 23.0 and shade it

- Fix compilation errors for new version of Guava.

- Remove usage of deprecated API

- Shade guava and add dependencies to the shaded version

- Ban unshaded package

- Introduce drill-shaded module and move guava-shaded under it

- Add methods to convert shaded guava lists to the unshaded ones

- Add instruction for publishing artifacts to the Apache repository

  1. … 82 more files in changeset.
DRILL-6320: Fixed license headers.

closes #1207

    • -3
    • +3
    ./ConnectTriesPropertyTestClusterBits.java
  1. … 2063 more files in changeset.
DRILL-6187: Exception in RPC communication between DataClient/ControlClient and respective servers when bit-to-bit security is on

This closes #1145

    • -1
    • +1
    ./ConnectTriesPropertyTestClusterBits.java
  1. … 22 more files in changeset.
DRILL-5730: Mock testing improvements and interface improvements

closes #1045

  1. … 223 more files in changeset.
DRILL-5783, DRILL-5841, DRILL-5894: Rationalize test temp directories

This change includes:

DRILL-5783:

- A unit test is created for the priority queue in the TopN operator.

- The code generation classes passed around a completely unused function registry reference in some places so it is removed.

- The priority queue had unused parameters for some of its methods so it is removed.

DRILL-5841:

- Created standardized temp directory classes DirTestWatcher, SubDirTestWatcher, and BaseDirTestWatcher. And updated all unit tests to use them.

DRILL-5894:

- Removed the dfs_test storage plugin for tests and replaced it with the already existing dfs storage plugin.

Misc:

- General code cleanup.

- Removed unnecessary use of String.format in the tests.

This closes #984

  1. … 365 more files in changeset.
DRILL-5723: Added System Internal Options That can be Modified at Runtime Changes include:

1. Addition of internal options.

2. Refactoring of OptionManagers and OptionValidators.

3. Fixed ambiguity in the meaning of an option type, and changed its name to accessibleScopes.

4. Updated javadocs in the Option System classes.

5. Added RestClientFixture for testing the Rest API.

6. Fixed flakey test in TestExceptionInjection caused by race condition.

7. Fixed various tests which started zookeeper but failed to shut it down at the end of tests.

8. Added port hunting to the Drill Webserver for testing

9. Fixed various flaky tests

10. Fix compile issue

closes #923

    • -0
    • +1
    ./ConnectTriesPropertyTestClusterBits.java
  1. … 84 more files in changeset.
DRILL-5485: Remove WebServer dependency on DrillClient

1. Added WebUserConnection/AnonWebUserConnection and their providers for Authenticated and Anonymous web users.

2. Updated to store the UserSession, BufferAllocator and other session states inside the HttpSession of Jetty instead

of storing in DrillUserPrincipal. For each request now a new instance of WebUserConnection will be created. However

for authenticated users the UserSession and other states will be re-used whereas for Anonymous Users it will created

for each request and later re-cycled after query execution.

close #829

  1. … 46 more files in changeset.
DRILL-4280: CORE (unit tests)

+ Modify existing tests to use new authentication configuration

+ Add TestUserBitKerberos and TestBitBitKerberos using Apache Kerby library

    • -1
    • +0
    ./ConnectTriesPropertyTestClusterBits.java
  1. … 13 more files in changeset.
DRILL-5043: Function that returns a unique id per session/connection similar to MySQL's CONNECTION_ID() #685

  1. … 27 more files in changeset.
DRILL-5098: Improving fault tolerance for connection between client and foreman node.

Adding tries config option in connection string. Improving fault tolerance in Drill client when trying to make first connection with foreman. The client will try to connect to min(tries, num_drillbits) unique drillbits unless a successfull connection is established.

HYGIENE: Refactoring BasicClient::close to call RemoteConnection::close

close apache/drill#679

    • -0
    • +243
    ./ConnectTriesPropertyTestClusterBits.java
  1. … 5 more files in changeset.
DRILL-5015: Randomly select the drillbit from the list provided by user in connection string Note: Improved the connection string validation and error handling during parsing. Added unit test for the new parsing mechanism.

close apache/drill#648

    • -0
    • +258
    ./DrillClientTest.java
  1. … 3 more files in changeset.
DRILL-4715: Fix java compilation error in run-time generated code when query has large number of expressions.

Refactor unit test in drillbit context initialization and pass in option manager.

close apache/drill#521

  1. … 53 more files in changeset.
DRILL-3742: Classpath scanning and build improvement

Makes the classpath scanning a build time class discovery

Makes the fmpp generation incremental

Removes some slowness in DrillBit closing

Reduces the build time by 30%

This closes #148

  1. … 143 more files in changeset.
DRILL-3598: use a factory to create the root allocator. - made the constructor for TopLevelAllocator package private to enforce this

Delete a test that had been commented out for over a year, it no longer compiles due to interface changes and there is plenty of other testing for hash aggregate.

  1. … 43 more files in changeset.
DRILL-2826: Simplify and centralize Operator Cleanup

- Remove cleanup method from RecordBatch interface

- Make OperatorContext creation and closing the management of FragmentContext

- Make OperatorContext an abstract class and the impl only available to FragmentContext

- Make RecordBatch closing the responsibility of the RootExec

- Make all closes be suppresing closes to maximize memory release in failure

- Add new CloseableRecordBatch interface used by RootExec

- Make RootExec AutoCloseable

- Update RecordBatchCreator to return CloseableRecordBatches so that RootExec can maintain list

- Generate list of operators through change in ImplCreator

  1. … 95 more files in changeset.
DRILL-2498: Separate QueryResult into two messages QueryResult and QueryData

  1. … 71 more files in changeset.
DRILL-634: Cleanup/organize Java imports and trailing whitespaces from Drill code

  1. … 769 more files in changeset.
Switch to DrillBuf Add @Inject DrillBuf Move comparison functions to memory sensitive ones Add scalar replacement functionality for value holders Simplify date parsing function Add local compiled code caching

  1. … 213 more files in changeset.
Enable View persistence, Storage Plugin and System option persistence.

Conflicts:

exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java

exec/java-exec/src/test/java/org/apache/drill/exec/cache/TestCacheSerialization.java

  1. … 167 more files in changeset.
DRILL-733: Reduce memory footprint of unit tests

  1. … 32 more files in changeset.
Switch distributed cache to Infinispan Add Operator level metrics

  1. … 109 more files in changeset.
Make tests extend shared base class. Add additional tracking in base class around memory usage per test.

  1. … 57 more files in changeset.
DRILL-431: MapR profile - unit tests try to use localhost as the MapR cluster

This was caused by incorrect configuration key: "fs.name.default", but should be "fs.default.name"

Replaced all occurrences of both with variable FileSystem.FS_DEFAULT_NAME_KEY

also updated hadoo-core version number for mapr profile

  1. … 9 more files in changeset.
DRILL-334: Subdivide Drillbit control and data messages. Add support for socket backpressure. Add TopLevel and Child memory allocator with debug mode to capture memory leaks. Various memory leak fixes to get build to complete.

Also includes fixes from reviews by Tim.

  1. … 212 more files in changeset.