-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDI-8731 - Cassandra SSTable Output (bulkloader) step does not work w… #66
base: master
Are you sure you want to change the base?
Conversation
This is a conflict resolve of #54 |
d8bf904
to
7a6e92b
Compare
…ith Cassandra 1.1.x Resolve cassandra transitively to get runtime dependencies Add support for cassandra 2.x Split writer into CQL2 and CQL3 specific ones Try preventing JVM from exit in case issues with cassandra config Fixes for CQL2 writer: - read partitioner from config, use Murmur3Partitioner by default - store date as longs [PDI-8731][Tests] - Added IT and made some cosmetic changes
Build Completed❌ This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues. Build Commandsant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/unit-test -f build.xml clean-all resolve jacoco && ant -Dpentaho.resolve.repo=http://ivy-nexus.pentaho.org/content/groups/approved -Dtestreports.dir=bin/reports/integration-test -f build.xml jacoco-integration checkstyle publish-local Cleanup Commandsrm -r ~/.ivy2/local || echo no publish local to remove Changed files ivy.xml
src/org/pentaho/di/trans/steps/cassandrasstableoutput/SSTableOutput.java
src/org/pentaho/di/trans/steps/cassandrasstableoutput/SSTableOutputDialog.java
src/org/pentaho/di/trans/steps/cassandrasstableoutput/SSTableOutputMeta.java
src/org/pentaho/di/trans/steps/cassandrasstableoutput/messages/messages_en_US.properties
src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/AbstractSSTableWriter.java
src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/CQL2SSTableWriter.java
src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/CQL3SSTableWriter.java
src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/SSTableWriterBuilder.java
src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/messages/messages_en_US.properties
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/SSTableOutputIT.java
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/SSTableOutputMetaTest.java
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/SSTableOutputTest.java
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/cassandra.yaml
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/AbstractSSTableWriterTest.java
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/CQL2SSTableWriterTest.java
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/CQL3SSTableWriterTest.java
test-src/org/pentaho/di/trans/steps/cassandrasstableoutput/writer/SSTableWriterBuilderTest.java
test-src/org/pentaho/di/trans/steps/mock/StepMockHelper.java Newly Broken Tests:org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutputIT.testCQLS2SSTableWriter:🔴 java.lang.NoSuchMethodError: org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.setSkipMissingProperties(Z)V
at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.<init>(YamlConfigurationLoader.java:114)
at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:90)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.SSTableWriterBuilder.getPartitionerClass(SSTableWriterBuilder.java:146)
at org.pe org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutputIT.testCQLS3SSTableWriter:🔴 java.lang.NoClassDefFoundError: org/cliffc/high_scale_lib/NonBlockingHashMap
at org.apache.cassandra.config.Schema.<init>(Schema.java:57)
at org.apache.cassandra.config.Schema.<clinit>(Schema.java:46)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.purgeSchemaInstance(CQL3SSTableWriter.java:49)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.init(CQL3SSTableWriter.java:44)
at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTabl org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutputMetaTest.testGetXMLDefault:🔴 junit.framework.AssertionFailedError: getXml() does not cover defaults
at org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutputMetaTest.testGetXMLDefault(SSTableOutputMetaTest.java:114) org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testBuildCreateColumnFamilyCQLStatement:🔴 java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.Schema
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.purgeSchemaInstance(CQL3SSTableWriter.java:49)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.init(CQL3SSTableWriter.java:44)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testBuildCreateColumnFamilyCQLStatement(CQL3SSTableWriterTest.java:133) org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testBuildInsertCQLStatement:🔴 java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.Schema
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.purgeSchemaInstance(CQL3SSTableWriter.java:49)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.init(CQL3SSTableWriter.java:44)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testBuildInsertCQLStatement(CQL3SSTableWriterTest.java:141) org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testClose:🔴 java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.Schema
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.purgeSchemaInstance(CQL3SSTableWriter.java:49)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.init(CQL3SSTableWriter.java:44)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testClose(CQL3SSTableWriterTest.java:124) org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testInit:🔴 java.lang.NoClassDefFoundError: org/cliffc/high_scale_lib/NonBlockingHashMap
at org.apache.cassandra.config.Schema.<init>(Schema.java:57)
at org.apache.cassandra.config.Schema.<clinit>(Schema.java:46)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.purgeSchemaInstance(CQL3SSTableWriter.java:49)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.init(CQL3SSTableWriter.java:44)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testProcessRow:🔴 java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.Schema
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.purgeSchemaInstance(CQL3SSTableWriter.java:49)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter.init(CQL3SSTableWriter.java:44)
at org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriterTest.testProcessRow(CQL3SSTableWriterTest.java:112) Unit test coverage changeThese statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation. org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput
org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.JVMShutdownAttemptedException
org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.NoSystemExitDelegatingSecurityManager
org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutputMeta
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.AbstractSSTableWriter
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL2SSTableWriter
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.SSTableWriterBuilder
Integration test coverage changeThese statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation. org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput
org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutput.NoSystemExitDelegatingSecurityManager
org.pentaho.di.trans.steps.cassandrasstableoutput.SSTableOutputMeta
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.AbstractSSTableWriter
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL2SSTableWriter
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.CQL3SSTableWriter
org.pentaho.di.trans.steps.cassandrasstableoutput.writer.SSTableWriterBuilder
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
❌ Build failed in 1h 43m 55sBuild command: mvn clean verify -B -e -Daudit -amd ❗ No tests found!Errors:Filtered log (click to expand)
ℹ️ This is an automatic message |
[BACKLOG-23362] Ignore pipeline failures in snapshot builds.
…ith Cassandra 1.1.x
Resolve cassandra transitively to get runtime dependencies
Add support for cassandra 2.x
Split writer into CQL2 and CQL3 specific ones
Try preventing JVM from exit in case issues with cassandra config
Fixes for CQL2 writer:
[PDI-8731][Tests] - Added IT and made some cosmetic changes