Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DRILL-7494: Unable to connect to Drill using JDBC driver when using custom authenticator

closes #1938

  1. … 6 more files in changeset.
DRILL-7456: Batch count fixes for 12 operators

Enables batch validation for 12 additional operators:

* MergingRecordBatch

* OrderedPartitionRecordBatch

* RangePartitionRecordBatch

* TraceRecordBatch

* UnionAllRecordBatch

* UnorderedReceiverBatch

* UnpivotMapsRecordBatch

* WindowFrameRecordBatch

* TopNBatch

* HashJoinBatch

* ExternalSortBatch

* WriterRecordBatch

Fixes issues found with those checks so that this set of

operators passes all checks.

Includes code cleanup in many files touched during this

work.

closes #1906

  1. … 46 more files in changeset.
DRILL-7417: Add user logged in/out event in info level logs

  1. … 4 more files in changeset.
DRILL-7046: Support for loading and parsing new RM config file closes #1652

  1. … 62 more files in changeset.
DRILL-5735: UI options grouping and filtering & Metrics hints Allow search/sort in the Options webUI Additional details, like the description is provided as well in a JScript lookup map. This helps reduce the need for the server to constantly recreate the entire page with the description details, as the client browser can fill in these details. Developers will be expected to update the description as old/new options are introduced or deprecated. System table options_val also carries the description, albeit a 'shorter' version.

closes #1279

  1. … 14 more files in changeset.
DRILL-6422: Replace guava imports with shaded ones

    • -1
    • +1
    ./security/UserAuthenticatorFactory.java
  1. … 978 more files in changeset.
DRILL-6612: Query fails with AssertionError when joining persistent and temporary tables

  1. … 4 more files in changeset.
DRILL-6386: Remove unused imports and star imports.

    • -1
    • +0
    ./security/Pam4jUserAuthenticator.java
  1. … 229 more files in changeset.
DRILL-6333: Fixed Quotation marks

Initial step to making the source-code ready for Javadoc generation

This closes #1229

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

closes #1207

    • -1
    • +1
    ./security/Pam4jUserAuthenticator.java
    • -2
    • +2
    ./security/UserAuthenticationException.java
    • -1
    • +1
    ./security/UserAuthenticatorFactory.java
    • -2
    • +2
    ./security/UserAuthenticatorTemplate.java
  1. … 2053 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. … 22 more files in changeset.
DRILL-6189: Security: passwords logging and file permisions

1. Overrided serialization methods for instances with passwords

2. Changed file permissions for configuration files

closes #1139

  1. … 6 more files in changeset.
DRILL-6063: Set correct ThreadContext ClassLoader before using Hadoop Configuration class in DrillClient

This closes #1079

DRILL-6036: Create sys.connections table

Introduced a distributed (i.e. each Drillbit executes a fragment) system table to list all the active client connections to all the Drillbits in a cluster. This is achieved by having the UserServer maintain a static (class-level) map of these connections, which is updated as and when connections are established and closed.

The following details are provided by the table:

user

targetUser

client

drillbit

established

duration

queries

isAuthenticated

isEncrypted

usingSSL

session

Security check to prevent unauthorized access to connection listing

Match is done between the inbound impersonated user and the available list of connections' targetUser property

Removed listing of targetUser

Removed getQueryContext from FragmentContext

FragmentContext provides isUserAuthenticationEnabled()

This closes #1076

  1. … 5 more files in changeset.
DRILL-5943: Avoid the strong check introduced by DRILL-5582 for PLAIN mechanism

This closes #1028

  1. … 4 more files in changeset.
DRILL-3993: Fix failed tests after Calcite update

- fix temporary table errors according to updated logic;

- fixed errors when we trying to make select from hbase table with schema name in query (example: "SELECT row_key FROM hbase.TestTableNullStr) from hbase schema (did "USE hbase" before). Added test for it;

- added fix for views which were created on Calcite 1.4 and test for it.

  1. … 6 more files in changeset.
DRILL-5888: Remove dependency of SSLConfig on hadoop.security package. This allows jdbc-all-jar to be built without hadoop dependencies

This closes #1002

  1. … 7 more files in changeset.
DRILL-5881:Java Client: [Threat Modeling] Drillbit may be spoofed by an attacker and this may lead to data being written to the attacker's target instead of Drillbit Also set connection to null after its closed

This closes #999

  1. … 2 more files in changeset.
DRILL-5820: Add support for libpam4j Pam Authenticator

closes #962

    • -0
    • +73
    ./security/Pam4jUserAuthenticator.java
  1. … 3 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

  1. … 84 more files in changeset.
DRILL-5701: Fix drill.connections.rpc.<user/control/data>.<encrypted/unencrypted> metric behavior

closes #894

  1. … 9 more files in changeset.
DRILL-5686: Warning for sasl.max_wrapped_size contain incorrect syntax

closes #884

  1. … 1 more file in changeset.
DRILL-5431: SSL Support (Java) - Java client server SSL implementation

Also enable OpenSSL support

Also fix exclusions and java-exec pom file to eliminate netty-tcnative as a transitive dependency on all projects

  1. … 28 more files in changeset.
DRILL-5547: Linking config options with system option manager

closes #868

  1. … 37 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-5319: Refactor "contexts" for unit testing closes #787

This PR is purely a refactoring: no functionality is added or changed.

The refactoring splits various context and related classes into a set

of new interfaces with needed for operator-level unit tests. The other,

Drillbit-related methods are left in the original interfaces. Most code

need not change.

The changes here allow operator-level unit tests to mock up the

exec-time methods so we can use them without firing up a Drillbit (or

using mocking libraries).

A later PR will provide the sub-operator test framework that uses this

refactoring.

Changes include:

* The OptionManager is split, with read-only methods moving to a new

OptionSet interface.

* The FragmentContext is split, with an exec-only FragmentExecContext

proving low-level methods.

* OperatorStats is split, with a new OperatorStatReceiver class

providing write-only support to operators.

* Several places that accepted an OperatorContext or FragmentContext,

but needed only an allocator, are changed to accept the allocator

directly.

Includes fixes for code review comments

Adds more comments. Postpones the suggested rename until all affected

code is in master, else it will be difficult to synchronize the rename

across multiple branches.

  1. … 29 more files in changeset.
DRILL-5301: Server metadata API

Add a Server metadata API to the User protocol, to query server support

of various SQL features.

Add support to the client (DrillClient) to query this information.

Add support to the JDBC driver to query this information, if the server supports

the new API, or fallback to the previous behaviour (rely on Avatica defaults) otherwise.

close #764

  1. … 31 more files in changeset.
DRILL-5255: Remove default temporary workspace check at drillbit start up

closes #759

  1. … 8 more files in changeset.
DRILL-5238: CTTAS: unable to resolve temporary table if workspace is indicated without schema

This closes #736

  1. … 3 more files in changeset.
DRILL-4335: Apache Drill should support network encryption.

NOTE: This pull request provides support for on-wire encryption using SASL framework. The communication channel that are covered are:

1) Between Drill JDBC client and Drillbit.

2) Between Drillbit to Drillbit i.e. control/data channels.

3) It has UI change to view encryption is enabled on which network channel and number of encrypted/unencrypted connections for

user/control/data connections.

close apache/drill#773

    • -0
    • +84
    ./UserRpcMetrics.java
    • -0
    • +6
    ./security/UserAuthenticatorFactory.java
  1. … 56 more files in changeset.