big-data-plugin
big-data-plugin copied to clipboard
Fixed an issue where kettle could not connect to Impala in authentica…
If the auth of Impala is 'noSasl' or 'Kerberos',this plugin will work fine.
But if the auth of Impala is 'none'(using password and username to connect Impala), kettle will report a error like picture1.
And the type of auth could not edit on the kettle's interface, kettle will report a error about 'duplicate key'.
So , I think the type of auth of Impala shoud be defined on the kettle's interface by user. I edited the code like this merge,the all problems are solved in my project.
:warning: Build finished in 1m 42s
Build command:
mvn clean verify -B -e -Daudit -amd -pl kettle-plugins/hive
:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 3 test(s) failed:
org.pentaho.big.data.kettle.plugins.hive.ImpalaDatabaseDialectTest.testGetURL (click to expand)
noauth url expected:<.../null;impala_db=true[;auth=noSasl]> but was:<.../null;impala_db=true[]>
org.pentaho.big.data.kettle.plugins.hive.ImpalaDatabaseMetaTest.testGetURLEmptyPort (click to expand)
expected:</testDbName;[auth=noSasl;]impala_db=true> but was:</testDbName;[]impala_db=true>
org.pentaho.big.data.kettle.plugins.hive.ImpalaDatabaseMetaTest.testGetURL (click to expand)
expected:</testDbName;[auth=noSasl;]impala_db=true> but was:</testDbName;[]impala_db=true>
Tests run: 178, Failures: 3, Skipped: 0 Test Results
:information_source: This is an automatic message
:white_check_mark: Build finished in 1h 23m 30s
Build command:
mvn clean verify -B -e -Daudit -amd -pl kettle-plugins/hive
:exclamation: No tests found!
:information_source: This is an automatic message
:x: Build failed in 29m 22s
Build command:
mvn clean verify -B -e -Daudit -amd -pl kettle-plugins/hive
:exclamation: No tests found!
Errors:
Filtered log (click to expand)
script returned exit code 1
:information_source: This is an automatic message
:x: Build failed in 2m 15s
Build command:
mvn clean verify -B -e -Daudit -amd
:exclamation: No tests found!
:information_source: This is an automatic message