getRuntimeTestResultEntries();
25 | }
26 |
--------------------------------------------------------------------------------
/api/runtimeTest/src/main/resources/org/pentaho/runtime/test/action/impl/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | HelpUrlPayload.Message=Please see help at {0}
2 | LoggingRuntimeTestActionHandlerImpl.Action=Recommended action: {0}, {1}\nResource: {2}
3 | LoggingRuntimeTestActionHandlerImpl.MissingSeverity=Recommended action: {0}, {1}\nResource: {2}
--------------------------------------------------------------------------------
/api/runtimeTest/src/main/resources/org/pentaho/runtime/test/impl/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | RuntimeTestRunner.Skipped.Desc=This test was skipped because {0} was not successful.
2 | RuntimeTestRunner.Skipped.Message=The {0} test was skipped because test {1} was not successful.
3 | RuntimeTestRunner.Error.Desc=We couldn''t run test {0}.
4 |
--------------------------------------------------------------------------------
/api/runtimeTest/src/test/java/org/pentaho/runtime/test/TestMessageGetterFactory.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.runtime.test;
15 |
16 |
17 | import org.pentaho.runtime.test.i18n.MessageGetter;
18 | import org.pentaho.runtime.test.i18n.MessageGetterFactory;
19 |
20 | /**
21 | * Created by bryan on 8/21/15.
22 | */
23 | public class TestMessageGetterFactory implements MessageGetterFactory {
24 | @Override public MessageGetter create( Class> PKG ) {
25 | return new TestMessageGetter( PKG );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/api/runtimeTest/src/test/java/org/pentaho/runtime/test/i18n/impl/BaseMessagesMessageGetterFactoryImplTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.runtime.test.i18n.impl;
15 |
16 | import org.junit.Before;
17 | import org.junit.Test;
18 |
19 | import static org.junit.Assert.assertTrue;
20 |
21 | /**
22 | * Created by bryan on 8/27/15.
23 | */
24 | public class BaseMessagesMessageGetterFactoryImplTest {
25 | private BaseMessagesMessageGetterFactoryImpl baseMessagesMessageGetterFactory;
26 |
27 | @Before
28 | public void setup() {
29 | baseMessagesMessageGetterFactory = new BaseMessagesMessageGetterFactoryImpl();
30 | }
31 |
32 | @Test
33 | public void testCreate() {
34 | assertTrue( baseMessagesMessageGetterFactory
35 | .create( BaseMessagesMessageGetterFactoryImplTest.class ) instanceof BaseMessagesMessageGetterImpl );
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/api/runtimeTest/src/test/java/org/pentaho/runtime/test/i18n/impl/BaseMessagesMessageGetterImplTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.runtime.test.i18n.impl;
15 |
16 | import org.junit.Before;
17 | import org.junit.Test;
18 |
19 | import static org.junit.Assert.assertEquals;
20 |
21 | /**
22 | * Created by bryan on 8/27/15.
23 | */
24 | public class BaseMessagesMessageGetterImplTest {
25 | private BaseMessagesMessageGetterImpl baseMessagesMessageGetter;
26 |
27 | @Before
28 | public void setup() {
29 | baseMessagesMessageGetter = new BaseMessagesMessageGetterImpl( BaseMessagesMessageGetterFactoryImplTest.class );
30 | }
31 |
32 | @Test
33 | public void testGetMesssage() {
34 | String message = "message";
35 | String expected = "!" + message + "!";
36 | assertEquals( expected, baseMessagesMessageGetter.getMessage( message ) );
37 | assertEquals( expected, baseMessagesMessageGetter.getMessage( message, "testParam" ) );
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/assemblies/features/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | pentaho
7 | pentaho-big-data-assemblies
8 | 10.3.0.0-SNAPSHOT
9 |
10 |
11 | pentaho-karaf-features
12 | pentaho-big-data-plugin-osgi
13 |
14 | feature
15 |
16 |
17 | site
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/assemblies/kafka-plugin/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 4.0.0
6 |
7 |
8 | pentaho
9 | pentaho-big-data-assemblies
10 | 10.3.0.0-SNAPSHOT
11 |
12 |
13 | pentaho-streaming-kafka-plugin
14 | 10.3.0.0-SNAPSHOT
15 | pom
16 |
17 | Pentaho Kafka Streaming Plugin
18 |
19 |
20 |
21 | pentaho
22 | pentaho-big-data-kettle-plugins-kafka
23 | ${project.version}
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/assemblies/kafka-plugin/src/main/resources/version.xml:
--------------------------------------------------------------------------------
1 |
2 | ${project.version}
--------------------------------------------------------------------------------
/assemblies/legacy-plugin/src/main/assembly/resources/hadoop-configurations/.kettle-ignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/assemblies/legacy-plugin/src/main/assembly/resources/hadoop-configurations/.kettle-ignore
--------------------------------------------------------------------------------
/assemblies/legacy-plugin/src/main/assembly/resources/plugins/.gitignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/assemblies/legacy-plugin/src/main/assembly/resources/plugins/.gitignore
--------------------------------------------------------------------------------
/assemblies/pmr-libraries/src/main/resources/classes/kettle-lifecycle-listeners.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | PDI-OSGI-Bridge Listener
5 |
6 | org.pentaho.di.osgi.KettleLifeCycleAdapter
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/assemblies/pmr-libraries/src/main/resources/classes/kettle-password-encoder-plugins.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Kettle Password Encoder
5 | org.pentaho.support.encryption.KettleTwoWayPasswordEncoder
6 |
7 |
8 |
--------------------------------------------------------------------------------
/assemblies/pmr-libraries/src/main/resources/classes/kettle-registry-extensions.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | PDI-OSGI-Bridge Extension
5 |
6 | org.pentaho.di.osgi.registryExtension.OSGIPluginRegistryExtension
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/assemblies/pmr-libraries/src/main/resources/classes/log4j2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
11 |
12 | %d %-5p [%c] %m%n
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 | %d{ABSOLUTE} %-5p [%c{1}] %m%n
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/assemblies/pmr-libraries/src/main/resources/classes/pmr.properties:
--------------------------------------------------------------------------------
1 | isPmr=true
2 | notificationsBeforeLoadingShim=1
3 | maxTimeoutBeforeLoadingShim=300
4 |
--------------------------------------------------------------------------------
/assemblies/pmr-libraries/src/main/resources/simple-jndi/jdbc.properties:
--------------------------------------------------------------------------------
1 | SampleData/type=javax.sql.DataSource
2 | SampleData/driver=org.h2.Driver
3 | SampleData/url=jdbc:h2:file:samples/db/sampledb;IFEXISTS=TRUE
4 | SampleData/user=PENTAHO_USER
5 | SampleData/password=PASSWORD
6 | Quartz/type=javax.sql.DataSource
7 | Quartz/driver=org.hsqldb.jdbcDriver
8 | Quartz/url=jdbc:hsqldb:hsql://localhost/quartz
9 | Quartz/user=pentaho_user
10 | Quartz/password=password
11 | Hibernate/type=javax.sql.DataSource
12 | Hibernate/driver=org.hsqldb.jdbcDriver
13 | Hibernate/url=jdbc:hsqldb:hsql://localhost/hibernate
14 | Hibernate/user=hibuser
15 | Hibernate/password=password
16 | Shark/type=javax.sql.DataSource
17 | Shark/driver=org.hsqldb.jdbcDriver
18 | Shark/url=jdbc:hsqldb:hsql://localhost/shark
19 | Shark/user=sa
20 | Shark/password=
21 | PDI_Operations_Mart/type=javax.sql.DataSource
22 | PDI_Operations_Mart/driver=org.postgresql.Driver
23 | PDI_Operations_Mart/url=jdbc:postgresql://localhost:5432/hibernate?searchpath=pentaho_operations_mart
24 | PDI_Operations_Mart/user=hibuser
25 | PDI_Operations_Mart/password=password
26 | live_logging_info/type=javax.sql.DataSource
27 | live_logging_info/driver=org.postgresql.Driver
28 | live_logging_info/url=jdbc:postgresql://localhost:5432/hibernate?searchpath=pentaho_dilogs
29 | live_logging_info/user=hibuser
30 | live_logging_info/password=password
31 |
--------------------------------------------------------------------------------
/assemblies/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | pentaho
7 | pentaho-big-data-bundles
8 | 10.3.0.0-SNAPSHOT
9 |
10 | pentaho-big-data-assemblies
11 | 10.3.0.0-SNAPSHOT
12 | pom
13 |
14 |
15 | featuresOnly
16 |
17 |
18 | !assemblyOnly
19 |
20 |
21 |
22 | features
23 |
24 |
25 |
26 | assemblyOnly
27 |
28 |
29 | !featuresOnly
30 |
31 |
32 |
33 | samples
34 | pmr-libraries
35 | legacy-plugin
36 | s3-vfs
37 | kafka-plugin
38 |
39 |
40 |
41 |
42 |
43 |
--------------------------------------------------------------------------------
/assemblies/s3-vfs/src/main/assembly/descriptors/s3-vfs.xml:
--------------------------------------------------------------------------------
1 |
2 | s3-plugin
3 |
4 | zip
5 |
6 | pentaho-s3-vfs-plugin
7 |
8 |
9 | .
10 |
11 | pentaho:pentaho-s3-vfs:jar
12 |
13 | false
14 |
15 |
16 | /lib
17 | false
18 | runtime
19 | false
20 | ${artifact.artifactId}-${artifact.baseVersion}.${artifact.extension}
21 |
22 |
23 | com.amazonaws:aws-java-sdk-core
24 | com.amazonaws:aws-java-sdk-s3
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/assemblies/samples/src/main/assembly/descriptors/samples.xml:
--------------------------------------------------------------------------------
1 |
2 | package
3 |
4 |
5 | zip
6 |
7 |
8 |
9 | ../../legacy/samples
10 | /
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/dev-doc/multishim/MultiShimHBase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/dev-doc/multishim/MultiShimHBase.png
--------------------------------------------------------------------------------
/dev-doc/multishim/MultiShimHBase.sd:
--------------------------------------------------------------------------------
1 | kettlePlugin:KP "Kettle Plugin"
2 | namedClusterServiceLocator:NCSL "Named Cluster Service"
3 | clusterInitializer:CI "Cluster Initializer"
4 | hadoopConfigurationBootstrap:HCB "Hadoop Configuration Bootstrap"
5 | hbaseServiceFactory:HSF "HBase Service Factory"
6 |
7 | kettlePlugin:namedClusterServiceLocator.getService(cdh55unsec, HBaseService.class)
8 | namedClusterServiceLocator:clusterInitializer.initialize(cdh55unsec)
9 | clusterInitializer:hadoopConfigurationBootstrap.getProvider(cdh55)
10 | namedClusterServiceLocator:hbaseServiceFactory.canHandle(cdh55unsec)
11 | namedClusterServiceLocator:hbaseServiceFactory.create(cdh55unsec)
12 |
--------------------------------------------------------------------------------
/dev-doc/multishim/SingleShimHBase.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/dev-doc/multishim/SingleShimHBase.png
--------------------------------------------------------------------------------
/dev-doc/multishim/SingleShimHBase.sd:
--------------------------------------------------------------------------------
1 | kettlePlugin:KP "Kettle Plugin"
2 | namedClusterServiceLocator:NCSL "Named Cluster Service"
3 | clusterInitializer:CI "Cluster Initializer"
4 | hadoopConfigurationBootstrap:HCB "Hadoop Configuration Bootstrap"
5 | hbaseServiceFactory:HSF "HBase Service Factory"
6 |
7 | kettlePlugin:namedClusterServiceLocator.getService(cdh55unsec, HBaseService.class)
8 | namedClusterServiceLocator:clusterInitializer.initialize(cdh55unsec)
9 | clusterInitializer:hadoopConfigurationBootstrap.getProvider()
10 | namedClusterServiceLocator:hbaseServiceFactory.canHandle(cdh55unsec)
11 | namedClusterServiceLocator:hbaseServiceFactory.create(cdh55unsec)
--------------------------------------------------------------------------------
/dev-doc/shim-bridge-classloading.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/dev-doc/shim-bridge-classloading.png
--------------------------------------------------------------------------------
/impl/cluster/src/main/java/org/pentaho/big/data/impl/cluster/NamedClusterServiceBeforeJobExtensionPoint.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.impl.cluster;
14 |
15 | import org.pentaho.hadoop.shim.api.cluster.NamedClusterService;
16 | import org.pentaho.di.core.extension.ExtensionPoint;
17 | import org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi;
18 |
19 |
20 | /**
21 | * Created by tkafalas on 8/9/2017.
22 | * *
23 | * This class exists because two ExtensionPoint annotations are not allowed on the same class
24 | */
25 | @ExtensionPoint( id = "NamedClusterServiceBeforeJobExtensionPoint", extensionPointId = "JobBeforeJobEntryExecution",
26 | description = "" )
27 | public class NamedClusterServiceBeforeJobExtensionPoint extends NamedClusterServiceExtensionPoint {
28 | NamedClusterServiceOsgi namedClusterServiceOsgi;
29 |
30 | public NamedClusterServiceBeforeJobExtensionPoint( NamedClusterService namedClusterService ) {
31 | super( namedClusterService );
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/impl/cluster/src/main/java/org/pentaho/big/data/impl/cluster/NamedClusterServiceBeforeJobSaveExtensionPoint.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.impl.cluster;
14 |
15 | import org.pentaho.hadoop.shim.api.cluster.NamedClusterService;
16 | import org.pentaho.di.core.extension.ExtensionPoint;
17 | import org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi;
18 |
19 |
20 | /**
21 | * Created by tkafalas on 8/9/2017.
22 | * *
23 | * This class exists because two ExtensionPoint annotations are not allowed on the same class
24 | */
25 | @ExtensionPoint( id = "NamedClusterServiceBeforeJobSaveExtensionPoint", extensionPointId = "JobBeforeSave",
26 | description = "" )
27 | public class NamedClusterServiceBeforeJobSaveExtensionPoint extends NamedClusterServiceExtensionPoint {
28 | NamedClusterServiceOsgi namedClusterServiceOsgi;
29 |
30 | public NamedClusterServiceBeforeJobSaveExtensionPoint( NamedClusterService namedClusterService ) {
31 | super( namedClusterService );
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/impl/cluster/src/main/java/org/pentaho/big/data/impl/cluster/NamedClusterServiceNewTransExtensionPoint.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.impl.cluster;
14 |
15 | import org.pentaho.hadoop.shim.api.cluster.NamedClusterService;
16 |
17 | import org.pentaho.di.core.extension.ExtensionPoint;
18 | import org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi;
19 |
20 | /**
21 | * Created by tkafalas on 7/14/2017.
22 | * *
23 | * This class exists because two ExtensionPoint annotations are not allowed on the same class
24 | */
25 | @ExtensionPoint( id = "NamedClusterServiceNewTransExtensionPoint", extensionPointId = "TransformationCreateNew",
26 | description = "" )
27 | public class NamedClusterServiceNewTransExtensionPoint extends NamedClusterServiceExtensionPoint {
28 | NamedClusterServiceOsgi namedClusterServiceOsgi;
29 |
30 | public NamedClusterServiceNewTransExtensionPoint( NamedClusterService namedClusterService ) {
31 | super( namedClusterService );
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/impl/cluster/src/main/java/org/pentaho/big/data/impl/cluster/NamedClusterServicePrepareTransExtensionPoint.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.impl.cluster;
14 |
15 | import org.pentaho.hadoop.shim.api.cluster.NamedClusterService;
16 | import org.pentaho.di.core.extension.ExtensionPoint;
17 | import org.pentaho.di.core.osgi.api.NamedClusterServiceOsgi;
18 |
19 |
20 | /**
21 | * Created by tkafalas on 7/14/2017.
22 | * *
23 | * This class exists because two ExtensionPoint annotations are not allowed on the same class
24 | */
25 | @ExtensionPoint( id = "NamedClusterServicePrepareTransExtensionPoint", extensionPointId = "TransformationPrepareExecution",
26 | description = "" )
27 | public class NamedClusterServicePrepareTransExtensionPoint extends NamedClusterServiceExtensionPoint {
28 | NamedClusterServiceOsgi namedClusterServiceOsgi;
29 |
30 | public NamedClusterServicePrepareTransExtensionPoint( NamedClusterService namedClusterService ) {
31 | super( namedClusterService );
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/impl/cluster/src/main/resources/org/pentaho/big/data/impl/cluster/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | NamedClusterManager.ErrorFindingUserMetastore=No metastore found and exception encountered looking for user-specified or legacy metastore
2 | NamedClusterManager.ErrorReadingMetastore=Error loading user-specified metastore
--------------------------------------------------------------------------------
/impl/cluster/src/test/resources/plugin.properties:
--------------------------------------------------------------------------------
1 | big.data.slave.metastore.dir=
--------------------------------------------------------------------------------
/impl/clusterTests/src/main/java/org/pentaho/big/data/impl/cluster/tests/Constants.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.impl.cluster.tests;
15 |
16 | /**
17 | * Created by bryan on 8/14/15.
18 | */
19 | public class Constants {
20 | public static final String HADOOP_FILE_SYSTEM = "Hadoop File System";
21 | public static final String MAP_REDUCE = "Map Reduce";
22 | public static final String OOZIE = "Oozie";
23 | public static final String ZOOKEEPER = "Zookeeper";
24 | public static final String KAFKA = "Kafka";
25 | }
26 |
--------------------------------------------------------------------------------
/impl/clusterTests/src/main/resources/org/pentaho/big/data/impl/cluster/tests/kafka/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | KafkaConnectTest.Name=Kafka Connection
2 | KafkaConnectTest.MalformedUrl.Desc=Unable to connect to Kafka.
3 | KafkaConnectTest.MalformedUrl.Message=We are unable to connect to Kafka at {0}. Please verify the Kafka Bootstrap URL and network access.
4 | KafkaConnectTest.Success.Desc=Successfully connected to Kafka.
5 | KafkaConnectTest.Success.Message=Successfully connected to Kafka.
6 | KafkaConnectTest.Empty.Desc=This test was skipped because Bootstrap server field is empty.
7 | KafkaConnectTest.Empty.Message=This test was skipped because Bootstrap server field is empty.
8 |
--------------------------------------------------------------------------------
/impl/clusterTests/src/main/resources/org/pentaho/big/data/impl/cluster/tests/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | RuntimeTestResultEntryWithDefaultShimHelp.TroubleshootingGuide=Learn more
2 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc=Setup/Administration/Troubleshooting/Big_Data_Issues
3 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.General=
4 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.ShimLoad=#Shim_and_Configuration_Issues
5 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.ClusterConnect=#Connection_Problems
6 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.ClusterConnectGateway=#Connection_Problems
7 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.AccessDirectory=#Directory_Access_or_Permissions_Issues
8 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.Oozie=#Oozie_Issues
9 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.Zookeeper=#Zookeeper_Problems
10 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Anchor.Kafka=#Kafka_Problems
11 |
12 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Title=Hadoop Cluster Test
13 | RuntimeTestResultEntryWithDefaultShimHelp.Shell.Doc.Header=Hadoop Cluster Test details
14 |
--------------------------------------------------------------------------------
/impl/clusterTests/src/main/resources/org/pentaho/big/data/impl/cluster/tests/mr/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | PingJobTrackerTest.Name=Ping Job Tracker / Resource Manager
2 | PingJobTrackerTest.isMapr.Desc=Test not applicable for MapR clusters
3 | PingJobTrackerTest.isMapr.Message=The JobTracker / ResourceManager connectivity test is not applicable to MapR clusters as they use a native client to connect.
4 |
--------------------------------------------------------------------------------
/impl/clusterTests/src/main/resources/org/pentaho/big/data/impl/cluster/tests/oozie/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | PingOozieHostTest.Name=Oozie Host Connection
2 | PingOozieHostTest.MalformedUrl.Desc=Unable to connect to Oozie.
3 | PingOozieHostTest.MalformedUrl.Message=We are unable to connect to Oozie at {0}. Please verify the Oozie URL and network access.
4 |
--------------------------------------------------------------------------------
/impl/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | pentaho
7 | pentaho-big-data-bundles
8 | 10.3.0.0-SNAPSHOT
9 |
10 | pentaho-big-data-impl
11 | 10.3.0.0-SNAPSHOT
12 | pom
13 |
14 | cluster
15 | clusterTests
16 | shim
17 | vfs
18 |
19 |
20 |
--------------------------------------------------------------------------------
/impl/shim/common/src/test/resources/com/pentaho/big/big/data/bundles/impl/shim/common/ShimBridgingClassloader.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/impl/shim/common/src/test/resources/com/pentaho/big/big/data/bundles/impl/shim/common/ShimBridgingClassloader.class
--------------------------------------------------------------------------------
/impl/shim/jaas/src/main/java/org/pentaho/big/data/impl/shim/jaas/JaasConfigServiceFactory.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.impl.shim.jaas;
14 |
15 | import org.pentaho.hadoop.shim.api.jaas.JaasConfigService;
16 | import org.pentaho.hadoop.shim.api.cluster.NamedCluster;
17 | import org.pentaho.hadoop.shim.api.cluster.NamedClusterServiceFactory;
18 |
19 | import java.util.Properties;
20 |
21 | public class JaasConfigServiceFactory implements NamedClusterServiceFactory {
22 |
23 | public JaasConfigServiceFactory(
24 | @SuppressWarnings( "unused" ) boolean isActiveConfiguration, Object hadoopConfiguration ) {
25 | }
26 | @Override public Class getServiceClass() {
27 | return JaasConfigService.class;
28 | }
29 |
30 | @Override public boolean canHandle( NamedCluster namedCluster ) {
31 | return true;
32 | }
33 |
34 | @Override public JaasConfigService create( NamedCluster namedCluster ) {
35 | return new JaasConfigServiceImpl( new Properties() );
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/impl/shim/jaas/src/main/resources/OSGI-INF/blueprint/blueprint.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
--------------------------------------------------------------------------------
/impl/shim/jaas/src/main/resources/org/pentaho/big/data/impl/shim/jaas/messages.properties:
--------------------------------------------------------------------------------
1 | jaas.config.service.load.error=Unable to register JaasConfigService for ? shim
2 |
--------------------------------------------------------------------------------
/impl/shim/pig/pdi-testName:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/impl/shim/pig/pdi-testName
--------------------------------------------------------------------------------
/impl/shim/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | pentaho
7 | pentaho-big-data-impl
8 | 10.3.0.0-SNAPSHOT
9 |
10 | pentaho-big-data-impl-shim
11 | 10.3.0.0-SNAPSHOT
12 | pom
13 |
14 | common
15 | shimTests
16 |
17 |
18 |
--------------------------------------------------------------------------------
/impl/shim/shimTests/src/main/resources/OSGI-INF/blueprint/blueprint.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/impl/shim/shimTests/src/main/resources/org/pentaho/big/data/impl/shim/tests/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | TestShimLoad.Name=Active Shim Load
2 | TestShimLoad.ShimLoaded.Desc=Successfully loaded the {0} shim.
3 | TestShimLoad.ShimLoaded.Message=Successfully loaded the {0} shim.
4 | TestShimLoad.NoShimSpecified.Desc=The Active Shim has not been set.
5 | TestShimLoad.UnableToLoadShim.Desc=Unable to load the {0} Shim.
6 |
7 | TestShimConfig.Name=Shim Configuration Verification
8 | TestShimConfig.FileSystemMatch.Desc=The Hadoop File System URL matches the Active shim.
9 | TestShimConfig.FileSystemMatch.Message=The Hadoop File System URL matches the URL in the shim configuration file.
10 | TestShimConfig.FileSystemNoMatch.Desc=The Hadoop File System URL does not match the URL in the shim's core-site.xml.
11 | TestShimConfig.FileSystemNoMatch.Message=The Hadoop File System URL {0} does not match the defaultFS Hadoop config property in the shim's core-site.xml. Be sure to get the site configuration files from the Hadoop cluster.
12 |
--------------------------------------------------------------------------------
/impl/vfs/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | pentaho
7 | pentaho-big-data-impl
8 | 10.3.0.0-SNAPSHOT
9 |
10 | pentaho-big-data-impl-vfs
11 | 10.3.0.0-SNAPSHOT
12 | pom
13 |
14 | hdfs
15 |
16 |
17 |
--------------------------------------------------------------------------------
/kettle-plugins/browse/src/main/resources/OSGI-INF/blueprint/blueprint.xml:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/kettle-plugins/common/job/src/main/java/org/pentaho/big/data/kettle/plugins/job/JobEntryMode.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.job;
15 |
16 | /**
17 | * Represents visible states of the UI and the execution mode.
18 | *
19 | * User: RFellows Date: 6/11/12
20 | */
21 | public enum JobEntryMode {
22 | QUICK_SETUP, ADVANCED_LIST, ADVANCED_COMMAND_LINE
23 | }
24 |
--------------------------------------------------------------------------------
/kettle-plugins/common/job/src/main/java/org/pentaho/big/data/kettle/plugins/job/Password.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.job;
15 |
16 | import java.lang.annotation.Documented;
17 | import java.lang.annotation.ElementType;
18 | import java.lang.annotation.Retention;
19 | import java.lang.annotation.RetentionPolicy;
20 | import java.lang.annotation.Target;
21 |
22 |
23 | /**
24 | * Denotes a field is a password and must be encrypted when serialized. This must be placed on a {@link String} field.
25 | */
26 | @Documented
27 | @Retention( RetentionPolicy.RUNTIME )
28 | @Target( ElementType.FIELD )
29 | public @interface Password {
30 | }
31 |
--------------------------------------------------------------------------------
/kettle-plugins/common/job/src/main/resources/org/pentaho/big/data/kettle/plugins/job/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 |
2 | JobExecutor.Confirm.Toggle.Quick.Mode.Title=Confirm leaving Advanced Mode
3 | JobExecutor.Confirm.Toggle.Quick.Mode.Message=Any changes made in "Advanced" mode will be lost by switching to "Quick Setup" mode.\nAre you sure you want to proceed?
4 |
--------------------------------------------------------------------------------
/kettle-plugins/common/namedClusterBridge/src/main/resources/OSGI-INF/blueprint/blueprint.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/kettle-plugins/common/namedClusterBridge/src/main/resources/org/pentaho/big/data/plugins/common/ui/named/cluster/bridge/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | NamedClusterDialog.STRING_NAMED_CLUSTERS=Hadoop clusters
2 |
--------------------------------------------------------------------------------
/kettle-plugins/common/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 | 4.0.0
5 |
6 | pentaho
7 | pentaho-big-data-kettle-plugins
8 | 10.3.0.0-SNAPSHOT
9 |
10 | pentaho-big-data-kettle-plugins-common
11 | 10.3.0.0-SNAPSHOT
12 | pom
13 |
14 | ui
15 | namedClusterBridge
16 | job
17 |
18 |
19 |
--------------------------------------------------------------------------------
/kettle-plugins/common/ui/src/main/java/org/pentaho/big/data/plugins/common/ui/StateChangeListener.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.plugins.common.ui;
15 |
16 | interface StateChangeListener {
17 | void stateModified();
18 | }
19 |
--------------------------------------------------------------------------------
/kettle-plugins/common/ui/src/main/java/org/pentaho/big/data/plugins/common/ui/TestResultComposite.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 | package org.pentaho.big.data.plugins.common.ui;
13 |
14 | import org.eclipse.swt.widgets.Composite;
15 |
16 | /**
17 | * Created by mburgess on 8/27/15.
18 | */
19 | public class TestResultComposite extends Composite {
20 |
21 | public TestResultComposite( Composite parent, int style ) {
22 | super( parent, style );
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/kettle-plugins/common/ui/src/main/resources/ui/images/error_red.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
--------------------------------------------------------------------------------
/kettle-plugins/common/ui/src/main/resources/ui/images/success_green.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
--------------------------------------------------------------------------------
/kettle-plugins/common/ui/src/main/resources/ui/images/warning_yellow.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
--------------------------------------------------------------------------------
/kettle-plugins/formats-meta/src/main/java/org/pentaho/big/data/kettle/plugins/formats/FormatInputFile.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.formats;
15 |
16 | import org.pentaho.di.trans.steps.file.BaseFileInputFiles;
17 |
18 | /**
19 | * Base class for format's input file - env added.
20 | *
21 | * @author
22 | */
23 | public class FormatInputFile extends BaseFileInputFiles {
24 |
25 | public String[] environment = {};
26 |
27 | /**
28 | * we need to reallocate {@link #environment} too since it can have other length
29 | */
30 | @Override
31 | public void normalizeAllocation( int length ) {
32 | super.normalizeAllocation( length );
33 | environment = normalizeAllocation( environment, length );
34 | }
35 |
36 | }
37 |
--------------------------------------------------------------------------------
/kettle-plugins/formats-meta/src/main/resources/org/pentaho/big/data/kettle/plugins/formats/orc/output/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | OrcOutput.CompressionType.NONE=None
2 | OrcOutput.CompressionType.ZLIB=ZLib
3 | OrcOutput.CompressionType.LZO=LZO
4 | OrcOutput.CompressionType.SNAPPY=Snappy
5 |
--------------------------------------------------------------------------------
/kettle-plugins/formats-meta/src/main/resources/org/pentaho/big/data/kettle/plugins/formats/parquet/output/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | ParquetOutput.EncodingType.PLAIN=Plain
2 | ParquetOutput.EncodingType.DICTIONARY=Dictionary
3 | ParquetOutput.EncodingType.BIT_PACKED=Bit packed
4 | ParquetOutput.EncodingType.RLE=RLE
5 |
6 | ParquetOutput.CompressionType.NONE=None
7 |
8 |
--------------------------------------------------------------------------------
/kettle-plugins/formats-meta/src/test/resources/org/pentaho/big/data/kettle/plugins/formats/orc/input/OrcInput.xml:
--------------------------------------------------------------------------------
1 |
2 | Orc Input
3 | OrcInputNew
4 |
5 | Y
6 |
7 | 1
8 |
9 | none
10 |
11 |
12 | N
13 | SampleFileName
14 |
15 |
16 | SamplePath
17 | SampleName
18 | String
19 | false
20 | SampleDefault
21 | String
22 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
31 |
32 | 416
33 | 112
34 | Y
35 |
36 |
37 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/orc/input/OrcInputData.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.formats.impl.orc.input;
15 |
16 | import java.util.Iterator;
17 |
18 | import org.pentaho.di.core.RowMetaAndData;
19 | import org.pentaho.di.core.row.RowMetaInterface;
20 | import org.pentaho.di.trans.steps.file.BaseFileInputStepData;
21 | import org.pentaho.hadoop.shim.api.format.IPentahoInputFormat.IPentahoRecordReader;
22 | import org.pentaho.hadoop.shim.api.format.IPentahoOrcInputFormat;
23 |
24 | public class OrcInputData extends BaseFileInputStepData {
25 | IPentahoOrcInputFormat input;
26 | IPentahoRecordReader reader;
27 | Iterator rowIterator;
28 | RowMetaInterface outputRowMeta;
29 | }
30 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/orc/output/OrcOutputData.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.kettle.plugins.formats.impl.orc.output;
14 |
15 | import org.pentaho.di.trans.step.BaseStepData;
16 | import org.pentaho.di.trans.step.StepDataInterface;
17 | import org.pentaho.hadoop.shim.api.format.IPentahoOrcOutputFormat;
18 | import org.pentaho.hadoop.shim.api.format.IPentahoOutputFormat.IPentahoRecordWriter;
19 |
20 | public class OrcOutputData extends BaseStepData implements StepDataInterface {
21 |
22 | public IPentahoOrcOutputFormat output;
23 | public IPentahoRecordWriter writer;
24 | }
25 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/parquet/input/ParquetInputData.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.formats.impl.parquet.input;
15 |
16 | import java.util.Iterator;
17 | import java.util.List;
18 |
19 | import org.pentaho.di.core.RowMetaAndData;
20 | import org.pentaho.di.core.row.RowMetaInterface;
21 | import org.pentaho.di.trans.steps.file.BaseFileInputStepData;
22 | import org.pentaho.hadoop.shim.api.format.IPentahoInputFormat.IPentahoRecordReader;
23 | import org.pentaho.hadoop.shim.api.format.IPentahoInputFormat.IPentahoInputSplit;
24 | import org.pentaho.hadoop.shim.api.format.IPentahoParquetInputFormat;
25 |
26 | public class ParquetInputData extends BaseFileInputStepData {
27 | IPentahoParquetInputFormat input;
28 | List splits;
29 | int currentSplit;
30 | IPentahoRecordReader reader;
31 | Iterator rowIterator;
32 | RowMetaInterface outputRowMeta;
33 | }
34 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/parquet/input/VFSScheme.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.formats.impl.parquet.input;
15 |
16 | public class VFSScheme {
17 |
18 | private final String scheme;
19 |
20 | private final String schemeName;
21 |
22 | public VFSScheme( String scheme, String schemeName ) {
23 | this.scheme = scheme;
24 | this.schemeName = schemeName;
25 | }
26 |
27 | public String getScheme() {
28 | return scheme;
29 | }
30 |
31 | public String getSchemeName() {
32 | return schemeName;
33 | }
34 |
35 | }
36 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/java/org/pentaho/big/data/kettle/plugins/formats/impl/parquet/output/ParquetOutputData.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.kettle.plugins.formats.impl.parquet.output;
14 |
15 | import org.pentaho.di.trans.step.BaseStepData;
16 | import org.pentaho.di.trans.step.StepDataInterface;
17 | import org.pentaho.hadoop.shim.api.format.IPentahoOutputFormat.IPentahoRecordWriter;
18 | import org.pentaho.hadoop.shim.api.format.IPentahoParquetOutputFormat;
19 |
20 | public class ParquetOutputData extends BaseStepData implements StepDataInterface {
21 |
22 | public IPentahoParquetOutputFormat output;
23 | public IPentahoRecordWriter writer;
24 | }
25 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/resources/PI.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
19 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/resources/PO.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
23 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/resources/org/pentaho/big/data/kettle/plugins/formats/impl/orc/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | BaseStepDialog.StepName=Step name:
2 | BaseStepDialog.Preview=Preview
3 |
4 | OrcDialog.Location.Label=Location:
5 | OrcDialog.Filename.Label=Folder/File name:
6 |
7 | #ToDo
8 | OrcDialog.FileBrowser.KettleFileException=
9 | OrcDialog.FileBrowser.FileSystemException=
10 | OrcDialog.SchemaFileBrowser.KettleFileException=
11 | OrcDialog.SchemaFileBrowser.FileSystemException=
12 |
--------------------------------------------------------------------------------
/kettle-plugins/formats/src/main/resources/org/pentaho/big/data/kettle/plugins/formats/impl/parquet/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | BaseStepDialog.StepName=Step name:
2 | BaseStepDialog.Preview=Preview
3 |
4 | ParquetDialog.Location.Label=Location:
5 | ParquetDialog.Filename.Label=Folder/File name:
6 |
7 | #ToDo
8 | ParquetDialog.FileBrowser.KettleFileException=
9 | ParquetDialog.FileBrowser.FileSystemException=
10 |
--------------------------------------------------------------------------------
/kettle-plugins/guiTestActionHandlers/src/main/resources/OSGI-INF/blueprint/blueprint.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/java/org/pentaho/big/data/kettle/plugins/hadoopcluster/ui/dialog/wizard/util/BadSiteFilesException.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hadoopcluster.ui.dialog.wizard.util;
15 |
16 | public class BadSiteFilesException extends Exception {
17 | }
18 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/java/org/pentaho/big/data/kettle/plugins/hadoopcluster/ui/endpoints/Category.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hadoopcluster.ui.endpoints;
15 |
16 | import java.util.List;
17 |
18 | public interface Category {
19 |
20 | public List getTests();
21 |
22 | public String getCategoryName();
23 |
24 | public void setCategoryName( String categoryName );
25 |
26 | public void setTests( List tests );
27 |
28 | public String getCategoryStatus();
29 |
30 | public void setCategoryStatus( String categoryStatus );
31 |
32 | public boolean isCategoryActive();
33 |
34 | public void setCategoryActive( boolean categoryActive );
35 |
36 | public void addTest( Test test );
37 | }
38 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/java/org/pentaho/big/data/kettle/plugins/hadoopcluster/ui/endpoints/Test.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hadoopcluster.ui.endpoints;
15 |
16 | public class Test {
17 |
18 | private String testName = "";
19 | private String testStatus = "";
20 | private boolean isTestActive = false;
21 |
22 | public Test() {
23 | }
24 |
25 | public Test( String name ) {
26 | setTestName( name );
27 | }
28 |
29 | public String getTestName() {
30 | return testName;
31 | }
32 |
33 | public void setTestName( String testName ) {
34 | this.testName = testName;
35 | }
36 |
37 | public String getTestStatus() {
38 | return testStatus;
39 | }
40 |
41 | public void setTestStatus( String testStatus ) {
42 | this.testStatus = testStatus;
43 | }
44 |
45 | public boolean isTestActive() {
46 | return isTestActive;
47 | }
48 |
49 | public void setTestActive( boolean testActive ) {
50 | isTestActive = testActive;
51 | }
52 | }
53 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/images/fail.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/images/fail_category.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
15 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/images/hadoop_clusters.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
18 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/images/warning_category.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
17 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/kettle-password-encoder-plugins.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Kettle Password Encoder
5 | org.pentaho.support.encryption.KettleTwoWayPasswordEncoder
6 |
7 |
8 |
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/org/pentaho/big/data/kettle/plugins/hadoopcluster/ui/dialog/messages/messages.properties:
--------------------------------------------------------------------------------
1 | HadoopClusterTree.Title=Hadoop clusters
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/org/pentaho/big/data/kettle/plugins/hadoopcluster/ui/dialog/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | HadoopClusterTree.Title=Hadoop clusters
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/org/pentaho/big/data/kettle/plugins/hadoopcluster/ui/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | HadoopClusterTree.Title=Hadoop clusters
2 | HadoopClusterPopupMenuExtension.MenuItem.New=New cluster
3 | HadoopClusterPopupMenuExtension.MenuItem.Import=Import cluster
4 | HadoopClusterPopupMenuExtension.MenuItem.Edit=Edit cluster
5 | HadoopClusterPopupMenuExtension.MenuItem.Add.Driver=Add driver
6 | HadoopClusterPopupMenuExtension.MenuItem.Delete=Delete cluster
7 |
8 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.Message=Are you sure you want to delete your Hadoop Cluster {0}? This cannot be undone!
9 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.Title=Delete Hadoop Cluster
10 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.Delete=Yes, Delete
11 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.DoNotDelete=No
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/main/resources/org/pentaho/big/data/kettle/plugins/hadoopcluster/ui/tree/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | HadoopClusterTree.Title=Hadoop clusters
2 | HadoopClusterPopupMenuExtension.MenuItem.New=New cluster
3 | HadoopClusterPopupMenuExtension.MenuItem.Import=Import cluster
4 | HadoopClusterPopupMenuExtension.MenuItem.Edit=Edit cluster
5 | HadoopClusterPopupMenuExtension.MenuItem.Add.Driver=Add driver
6 | HadoopClusterPopupMenuExtension.MenuItem.Delete=Delete cluster
7 | HadoopClusterPopupMenuExtension.MenuItem.Duplicate=Duplicate cluster
8 | HadoopClusterPopupMenuExtension.MenuItem.Test=Test cluster
9 | HadoopClusterPopupMenuExtension.Duplicate.Prefix=(copy of)\
10 |
11 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.Message=Are you sure you want to delete your Hadoop Cluster {0}? This cannot be undone!
12 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.Title=Delete Hadoop Cluster
13 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.Delete=Yes, Delete
14 | PopupMenuFactory.NAMEDCLUSTERS.DeleteNamedClusterAsk.DoNotDelete=No
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/test/resources/driver-source/driver.kar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hadoop-cluster/ui/src/test/resources/driver-source/driver.kar
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/test/resources/keytab/test.keytab:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hadoop-cluster/ui/src/test/resources/keytab/test.keytab
--------------------------------------------------------------------------------
/kettle-plugins/hadoop-cluster/ui/src/test/resources/zippedSiteFiles/site.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hadoop-cluster/ui/src/test/resources/zippedSiteFiles/site.zip
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/java/org/pentaho/big/data/kettle/plugins/hbase/HBaseConnectionException.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.kettle.plugins.hbase;
14 |
15 | /**
16 | * @author Tatsiana_Kasiankova
17 | *
18 | */
19 | public class HBaseConnectionException extends Exception {
20 |
21 | private static final long serialVersionUID = -6215675067801506240L;
22 |
23 | public HBaseConnectionException( String message, Throwable cause ) {
24 | super( message, cause );
25 | }
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/java/org/pentaho/big/data/kettle/plugins/hbase/ServiceStatus.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hbase;
15 |
16 |
17 | /**
18 | * Helper class that shows HBaseService status of a Step.
19 | */
20 | public class ServiceStatus {
21 |
22 | public static ServiceStatus OK = new ServiceStatus();
23 |
24 | private boolean ok = true;
25 | private Exception exception;
26 |
27 | private ServiceStatus() {
28 | }
29 |
30 | private ServiceStatus( Exception exception ) {
31 | this.ok = false;
32 | this.exception = exception;
33 | }
34 |
35 | public boolean isOk() {
36 | return ok;
37 | }
38 |
39 | public Exception getException() {
40 | return exception;
41 | }
42 |
43 | public static ServiceStatus notOk( Exception e ) {
44 | return new ServiceStatus( e );
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/java/org/pentaho/big/data/kettle/plugins/hbase/mapping/FieldProducer.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hbase.mapping;
15 |
16 | import org.pentaho.di.core.row.RowMetaInterface;
17 |
18 | /**
19 | * Interface to something that can provide meta data on the fields that it is receiving
20 | *
21 | * @author Mark Hall (mhall{[at]}pentaho{[dot]}com)
22 | * @version $Revision$
23 | *
24 | */
25 | public interface FieldProducer {
26 |
27 | /**
28 | * Get the incoming fields
29 | *
30 | * @return the incoming fields
31 | */
32 | RowMetaInterface getIncomingFields();
33 | }
34 |
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/resources/HB.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hbase/src/main/resources/HB.png
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/resources/HB.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
16 |
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/resources/HBO.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hbase/src/main/resources/HBO.png
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/resources/HBO.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
16 |
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/resources/HBRD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hbase/src/main/resources/HBRD.png
--------------------------------------------------------------------------------
/kettle-plugins/hbase/src/main/resources/org/pentaho/big/data/kettle/plugins/hbase/mapping/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | MappingDialog.Error.Message.NamedClusterNotSelected.Msg=You must select a named cluster to continue
2 | MappingDialog.Error.Title.NamedClusterNotSelected=No named cluster selected
3 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/java/org/pentaho/big/data/kettle/plugins/hdfs/trans/analyzer/HadoopFileInputExternalResourceConsumer.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hdfs.trans.analyzer;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hdfs.trans.HadoopFileInputMeta;
17 | import org.pentaho.di.trans.steps.fileinput.text.TextFileInput;
18 | import org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer;
19 |
20 | public class HadoopFileInputExternalResourceConsumer
21 | extends BaseStepExternalResourceConsumer {
22 |
23 | @Override
24 | public Class getMetaClass() {
25 | return HadoopFileInputMeta.class;
26 | }
27 |
28 | @Override
29 | public boolean isDataDriven( final HadoopFileInputMeta meta ) {
30 | return meta.isAcceptingFilenames();
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/java/org/pentaho/big/data/kettle/plugins/hdfs/trans/analyzer/HadoopFileOutputExternalResourceConsumer.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hdfs.trans.analyzer;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hdfs.trans.HadoopFileOutputMeta;
17 | import org.pentaho.di.trans.steps.fileinput.text.TextFileInput;
18 | import org.pentaho.metaverse.api.analyzer.kettle.step.BaseStepExternalResourceConsumer;
19 |
20 | public class HadoopFileOutputExternalResourceConsumer
21 | extends BaseStepExternalResourceConsumer {
22 |
23 | @Override
24 | public Class getMetaClass() {
25 | return HadoopFileOutputMeta.class;
26 | }
27 |
28 | @Override
29 | public boolean isDataDriven( final HadoopFileOutputMeta meta ) {
30 | return meta.isFileNameInField();
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/java/org/pentaho/big/data/kettle/plugins/hdfs/vfs/Schemes.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hdfs.vfs;
15 |
16 | /**
17 | * Created by bryan on 11/23/15.
18 | */
19 | public class Schemes {
20 | public static final String HDFS_SCHEME = "hdfs";
21 | public static final String HDFS_SCHEME_DISPLAY_NAME = "HDFS";
22 | public static final String MAPRFS_SCHEME = "maprfs";
23 | public static final String MAPRFS_SCHEME_DISPLAY_NAME = "MapRFS";
24 | public static final String NAMED_CLUSTER_SCHEME = "hc";
25 | public static final String NAMED_CLUSTER_SCHEME_DISPLAY_NAME = "Hadoop Cluster";
26 | public static final String S3_SCHEME = "s3";
27 | public static final String S3N_SCHEME = "s3n";
28 | }
29 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/HDI.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hdfs/src/main/resources/HDI.png
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/HDI.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/HDM.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hdfs/src/main/resources/HDM.png
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/HDM.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/HDO.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pentaho/big-data-plugin/cabe3e7728130a56fd99de3d7db5609580f87718/kettle-plugins/hdfs/src/main/resources/HDO.png
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/HDO.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
15 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/graph.properties:
--------------------------------------------------------------------------------
1 | blueprints.graph=com.tinkerpop.blueprints.impls.tg.TinkerGraph
2 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/org/pentaho/big/data/kettle/plugins/hdfs/trans/messages/messages_ko_KR.properties:
--------------------------------------------------------------------------------
1 |
2 | HadoopFileOutput.MethodNotSupportedException.Message=\uBA54\uC18C\uB4DC\uB97C \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4
3 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/org/pentaho/big/data/kettle/plugins/hdfs/vfs/messages/messages_en_US.properties:
--------------------------------------------------------------------------------
1 | HadoopVfsFileChooserDialog.openFile=Open File
2 | HadoopVfsFileChooserDialog.SaveAs=Save as
3 | HadoopVfsFileChooserDialog.FileSystemChoice.Label=Look in
4 | HadoopVfsFileChooserDialog.FileSystemChoice.Hadoop.Label=Hadoop
5 | HadoopVfsFileChooserDialog.FileSystemChoice.Local.Label=Local
6 | HadoopVfsFileChooserDialog.ConnectionGroup.Label=Connection
7 | HadoopVfsFileChooserDialog.URL.Label=Server:
8 | HadoopVfsFileChooserDialog.Port.Label=Port:
9 | HadoopVfsFileChooserDialog.UserID.Label=User ID:
10 | HadoopVfsFileChooserDialog.Password.Label=Password:
11 | HadoopVfsFileChooserDialog.ConnectionButton.Label=Connect
12 | HadoopVfsFileChooserDialog.warning=Warning
13 | HadoopVfsFileChooserDialog.noWriteSupport=This file system does not support write operations.
14 | HadoopVfsFileChooserDialog.error=Error
15 | HadoopVfsFileChooserDialog.FileSystem.error=A file system error occurred. See log for details.
16 | HadoopVfsFileChooserDialog.Connection.Error.title=Unable to Connect
17 | HadoopVfsFileChooserDialog.Connection.error=You don''t seem to be getting a connection to the Hadoop Cluster. Check the cluster configuration you''re using.
18 | HadoopVfsFileChooserDialog.Connection.schemeError=The file system scheme is not supported by the {0} Hadoop configuration.
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/main/resources/org/pentaho/big/data/kettle/plugins/hdfs/vfs/messages/messages_ko_KR.properties:
--------------------------------------------------------------------------------
1 |
2 | HadoopVfsFileChooserDialog.Connection.error=HDFS \uC11C\uBC84\uC5D0 \uC5F0\uACB0\uD560 \uC218 \uC5C6\uC2B5\uB2C8\uB2E4.
3 | HadoopVfsFileChooserDialog.ConnectionButton.Label=\uC5F0\uACB0
4 | HadoopVfsFileChooserDialog.ConnectionGroup.Label=\uC5F0\uACB0
5 | HadoopVfsFileChooserDialog.FileSystem.error=\uD30C\uC77C \uC2DC\uC2A4\uD15C \uC624\uB958\uAC00 \uBC1C\uC0DD\uD558\uC600\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \uB85C\uADF8\uB97C \uCC38\uACE0\uD558\uC2ED\uC2DC\uC624.
6 | HadoopVfsFileChooserDialog.FileSystemChoice.Local.Label=\uB85C\uCEEC
7 | HadoopVfsFileChooserDialog.Password.Label =\uC554\uD638:
8 | HadoopVfsFileChooserDialog.Port.Label =\uD3EC\uD2B8:
9 | HadoopVfsFileChooserDialog.SaveAs =\uB2E4\uB978 \uC774\uB984\uC73C\uB85C \uC800\uC7A5
10 | HadoopVfsFileChooserDialog.URL.Label =\uC11C\uBC84:
11 | HadoopVfsFileChooserDialog.UserID.Label =\uC0AC\uC6A9\uC790 ID:
12 | HadoopVfsFileChooserDialog.error =\uC624\uB958
13 | HadoopVfsFileChooserDialog.noWriteSupport =\uD30C\uC77C \uC2DC\uC2A4\uD15C\uC774 \uC4F0\uAE30 \uC5F0\uC0B0\uC744 \uC9C0\uC6D0\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.
14 | HadoopVfsFileChooserDialog.openFile =\uD30C\uC77C \uC5F4\uAE30
15 | HadoopVfsFileChooserDialog.warning =\uACBD\uACE0
16 |
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/test/resources/graph.properties:
--------------------------------------------------------------------------------
1 | blueprints.graph=com.tinkerpop.blueprints.impls.tg.TinkerGraph
--------------------------------------------------------------------------------
/kettle-plugins/hdfs/src/test/resources/sample-hadoop-file-output-step.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | N
5 | N
6 |
7 |
8 |
9 |
10 |
11 |
12 | N
13 |
14 | Y
15 |
16 |
17 | TEST-CLUSTER-NAME
18 | N
19 | N
20 | N
21 |
22 | N
23 | N
24 | N
25 | N
26 | N
27 | N
28 |
29 | N
30 | N
31 | N
32 | 0
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/main/java/org/apache/hadoop/hive/jdbc/HiveDriver.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hadoop.hive.jdbc;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
17 |
18 | /**
19 | * DummyDriver implementation to avoid CNF exception
20 | * when Hive2DatabaseMeta is loaded. See DummyDriver.
21 | */
22 | public class HiveDriver extends DummyDriver {
23 | }
24 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/main/java/org/apache/hive/jdbc/HiveDriver.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
17 |
18 | /**
19 | * DummyDriver implementation to avoid CNF exception
20 | * when HiveDatabaseMeta is loaded. See DummyDriver.
21 | */
22 | public class HiveDriver extends DummyDriver {
23 | }
24 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/main/java/org/apache/hive/jdbc/HiveSimbaDriver.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
17 |
18 | /**
19 | * DummyDriver implementation to avoid CNF exception
20 | * when HiveSimbaDatabaseMeta is loaded. See DummyDriver.
21 | */
22 | public class HiveSimbaDriver extends DummyDriver {
23 | }
24 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/main/java/org/apache/hive/jdbc/ImpalaDriver.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
17 |
18 | /**
19 | * DummyDriver implementation to avoid CNF exception
20 | * when ImpalaDatabaseMeta is loaded. See DummyDriver.
21 | */
22 | public class ImpalaDriver extends DummyDriver {
23 | }
24 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/main/java/org/apache/hive/jdbc/ImpalaSimbaDriver.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
17 |
18 | /**
19 | * DummyDriver implementation to avoid CNF exception
20 | * when ImpalaSimbaDatabaseMeta is loaded. See DummyDriver.
21 | */
22 | public class ImpalaSimbaDriver extends DummyDriver {
23 | }
24 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/main/java/org/apache/hive/jdbc/SparkSqlSimbaDriver.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
17 |
18 | /**
19 | * DummyDriver implementation to avoid CNF exception
20 | * when SparkSqlSimbaDriver is loaded. See DummyDriver.
21 | */
22 | public class SparkSqlSimbaDriver extends DummyDriver {
23 | }
24 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/main/java/org/pentaho/big/data/kettle/plugins/hive/HiveWarehouseDatabaseMeta.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.kettle.plugins.hive;
14 |
15 | import org.pentaho.di.core.plugins.DatabaseMetaPlugin;
16 | import org.pentaho.hadoop.shim.api.cluster.NamedClusterService;
17 | import org.pentaho.hadoop.shim.api.jdbc.DriverLocator;
18 |
19 | @DatabaseMetaPlugin( type = "HIVEWAREHOUSE", typeDescription = "Hive Warehouse Connector" )
20 | public class HiveWarehouseDatabaseMeta extends Hive2DatabaseMeta {
21 | public HiveWarehouseDatabaseMeta( DriverLocator driverLocator, NamedClusterService namedClusterService ) {
22 | super( driverLocator, namedClusterService );
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/test/java/org/apache/hadoop/hive/jdbc/HiveDriverTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hadoop.hive.jdbc;
15 |
16 | import org.junit.Test;
17 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
18 |
19 | /**
20 | * Created by bryan on 4/14/16.
21 | */
22 | public class HiveDriverTest {
23 | @Test
24 | public void testSubclass() {
25 | DummyDriver.class.isInstance( new HiveDriver() );
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/test/java/org/apache/hive/jdbc/HiveDriverTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.junit.Test;
17 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
18 |
19 | import static org.junit.Assert.assertTrue;
20 |
21 | /**
22 | * Created by bryan on 4/14/16.
23 | */
24 | public class HiveDriverTest {
25 | @Test
26 | public void testIsInstance() {
27 | assertTrue( DummyDriver.class.isInstance( new HiveDriver() ) );
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/test/java/org/apache/hive/jdbc/HiveSimbaDriverTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.junit.Test;
17 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
18 |
19 | import static org.junit.Assert.assertTrue;
20 |
21 | /**
22 | * Created by bryan on 4/14/16.
23 | */
24 | public class HiveSimbaDriverTest {
25 | @Test
26 | public void testIsInstance() {
27 | assertTrue( DummyDriver.class.isInstance( new HiveSimbaDriver() ) );
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/test/java/org/apache/hive/jdbc/ImpalaDriverTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.junit.Test;
17 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
18 |
19 | import static org.junit.Assert.assertTrue;
20 |
21 | /**
22 | * Created by bryan on 4/14/16.
23 | */
24 | public class ImpalaDriverTest {
25 | @Test
26 | public void testIsInstance() {
27 | assertTrue( DummyDriver.class.isInstance( new ImpalaDriver() ) );
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/test/java/org/apache/hive/jdbc/ImpalaSimbaDriverTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.apache.hive.jdbc;
15 |
16 | import org.junit.Test;
17 | import org.pentaho.big.data.kettle.plugins.hive.DummyDriver;
18 |
19 | import static org.junit.Assert.assertTrue;
20 |
21 | /**
22 | * Created by bryan on 4/14/16.
23 | */
24 | public class ImpalaSimbaDriverTest {
25 | @Test
26 | public void testIsInstance() {
27 | assertTrue( DummyDriver.class.isInstance( new ImpalaSimbaDriver() ) );
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/kettle-plugins/hive/src/test/java/org/pentaho/big/data/kettle/plugins/hive/ImpalaDatabaseDialectTest.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.hive;
15 |
16 | import org.junit.Test;
17 | import org.pentaho.database.model.DatabaseConnection;
18 |
19 | import static org.junit.Assert.assertEquals;
20 |
21 | /**
22 | * User: Dzmitry Stsiapanau Date: 10/4/14 Time: 10:55 PM
23 | */
24 | public class ImpalaDatabaseDialectTest {
25 |
26 | @Test
27 | public void testGetURL() throws Exception {
28 | ImpalaDatabaseDialect impala = new ImpalaDatabaseDialect();
29 | DatabaseConnection dbconn = new DatabaseConnection();
30 | String url = impala.getURL( dbconn );
31 | assertEquals( "noauth url", "jdbc:hive2://null:null/null;impala_db=true;auth=noSasl", url );
32 | dbconn.addExtraOption( impala.getDatabaseType().getShortName(), "principal", "someValue" );
33 | url = impala.getURL( dbconn );
34 | assertEquals( "principal url", "jdbc:hive2://null:null/null;impala_db=true", url );
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/kettle-plugins/kafka/README.md:
--------------------------------------------------------------------------------
1 | #pentaho-big-data-kettle-plugins-kafka
2 |
3 | ### How to build this project
4 | *This is a maven-based project so you must have it available on your system.*
5 |
6 | **Typical build.**
7 | ```
8 | mvn install
9 | ```
10 |
11 | **Compile only.**
12 | ```
13 | mvn compile
14 | ```
15 |
16 | **Run the unit tests.**
17 | ```
18 | mvn test
19 | ```
20 |
21 | **Run the integration tests.**
22 |
23 | ```
24 | mvn verify -DrunITs
25 | ```
26 | *Note that this project's integration tests rely on integration test artifacts from the pentaho-metaverse-core project. Install those before running these tests. This can be accomplished with the following example commands:
27 | ```
28 | cd /pentaho-metaverse/core
29 | mvn install -DrunITs
30 | ```
--------------------------------------------------------------------------------
/kettle-plugins/kafka/src/it/resources/graph.properties:
--------------------------------------------------------------------------------
1 | blueprints.graph=com.tinkerpop.blueprints.impls.tg.TinkerGraph
2 | blueprints.tg.directory=src/it/resources/graph
3 | blueprints.tg.file-type=GRAPHML
4 |
--------------------------------------------------------------------------------
/kettle-plugins/kafka/src/it/resources/graph/tinkergraph.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/kettle-plugins/kafka/src/it/resources/log4j2.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | %d %-5p [%c{1}] %m %n
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/kettle-plugins/kafka/src/main/java/org/pentaho/big/data/kettle/plugins/kafka/KafkaConsumerInputData.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.kafka;
15 |
16 | import org.pentaho.di.core.row.RowMetaInterface;
17 | import org.pentaho.di.trans.step.StepDataInterface;
18 | import org.pentaho.di.trans.steps.transexecutor.TransExecutorData;
19 |
20 |
21 | public class KafkaConsumerInputData extends TransExecutorData implements StepDataInterface {
22 | public RowMetaInterface outputRowMeta;
23 |
24 | /**
25 | *
26 | */
27 | public KafkaConsumerInputData() {
28 | super();
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/kettle-plugins/kafka/src/main/java/org/pentaho/big/data/kettle/plugins/kafka/KafkaLineageConstants.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 | package org.pentaho.big.data.kettle.plugins.kafka;
14 |
15 | class KafkaLineageConstants {
16 | private KafkaLineageConstants() { }
17 |
18 | static final String KEY = "Key";
19 | static final String MESSAGE = "Message";
20 | static final String KEY_FIELD_NAME = "key";
21 | static final String MSG_FIELD_NAME = "message";
22 | static final String KAFKA_TOPIC_METAVERSE = "Kafka Topic";
23 | static final String KAFKA_SERVER_METAVERSE = "Kafka Server";
24 |
25 | }
26 |
27 |
--------------------------------------------------------------------------------
/kettle-plugins/kafka/src/main/java/org/pentaho/big/data/kettle/plugins/kafka/KafkaProducerOutputData.java:
--------------------------------------------------------------------------------
1 | /*! ******************************************************************************
2 | *
3 | * Pentaho
4 | *
5 | * Copyright (C) 2024 by Hitachi Vantara, LLC : http://www.pentaho.com
6 | *
7 | * Use of this software is governed by the Business Source License included
8 | * in the LICENSE.TXT file.
9 | *
10 | * Change Date: 2029-07-20
11 | ******************************************************************************/
12 |
13 |
14 | package org.pentaho.big.data.kettle.plugins.kafka;
15 |
16 | import org.apache.kafka.clients.producer.Producer;
17 | import org.pentaho.di.trans.step.BaseStepData;
18 | import org.pentaho.di.trans.step.StepDataInterface;
19 |
20 | public class KafkaProducerOutputData extends BaseStepData implements StepDataInterface {
21 | Producer