diff --git a/dac/ui-lib/icons/dremio/sources/VAST-Data.svg b/dac/ui-lib/icons/dremio/sources/VAST-Data.svg new file mode 100644 index 0000000000..6a3c62f571 --- /dev/null +++ b/dac/ui-lib/icons/dremio/sources/VAST-Data.svg @@ -0,0 +1,53 @@ + + + + +Created by potrace 1.16, written by Peter Selinger 2001-2019 + + + + + + + + + + diff --git a/dac/ui/src/art/sources/VAST-Data.svg b/dac/ui/src/art/sources/VAST-Data.svg new file mode 100644 index 0000000000..8243eb5717 --- /dev/null +++ b/dac/ui/src/art/sources/VAST-Data.svg @@ -0,0 +1,55 @@ + + + + + +Created by potrace 1.16, written by Peter Selinger 2001-2019 + + + + + + + + + + diff --git a/dac/ui/src/constants/sourceTypes.js b/dac/ui/src/constants/sourceTypes.js index 2a93db9461..293a755a88 100644 --- a/dac/ui/src/constants/sourceTypes.js +++ b/dac/ui/src/constants/sourceTypes.js @@ -19,6 +19,7 @@ export const REDSHIFT = "REDSHIFT"; export const S3 = "S3"; export const ELASTIC = "ELASTIC"; export const HBASE = "HBASE"; +export const VASTDATA = "VASTDATA"; export const HDFS = "HDFS"; export const HIVE = "HIVE"; export const HIVE3 = "HIVE3"; @@ -59,6 +60,7 @@ export const sourceProperties = [ { label: "Amazon OpenSearch Service", sourceType: AMAZONELASTIC }, { label: "Elasticsearch", sourceType: ELASTIC }, { label: "HBase", sourceType: HBASE, beta: true }, + { label: "VASTDATA", sourceType: VASTDATA, beta: true }, { label: "HDFS", sourceType: HDFS }, { label: "Hive 2.x", sourceType: HIVE }, { label: "Hive 3.x", sourceType: HIVE3 }, diff --git a/dac/ui/src/customData/vlhfList.json b/dac/ui/src/customData/vlhfList.json index 9dfd050e9c..f7bab4dac0 100644 --- a/dac/ui/src/customData/vlhfList.json +++ b/dac/ui/src/customData/vlhfList.json @@ -1,5 +1,6 @@ [ { "sourceType": "HBASE", "tags": ["community"] }, + { "sourceType": "VASTDATA", "tags": ["community"] }, { "sourceType": "TERADATA" }, { "sourceType": "CASSANDRA", "disabled": true }, { "sourceType": "SALESFORCE", "disabled": true }, diff --git a/dac/ui/src/mocks/sourceFormConfig.json b/dac/ui/src/mocks/sourceFormConfig.json index 6f9a111a25..1e84d920c0 100644 --- a/dac/ui/src/mocks/sourceFormConfig.json +++ b/dac/ui/src/mocks/sourceFormConfig.json @@ -180,6 +180,22 @@ } ] }, + { + "label": "VASTDATA", + "sourceType": "VASTDATA", + "elements": [ + { + "type": "number", + "propertyName": "port", + "label": "Port", + "value": 2181 + }, + { + "type": "property_list", + "propertyName": "propertyList" + } + ] + }, { "label": "HDFS", "sourceType": "HDFS", diff --git a/dac/ui/src/mocks/sourceFormListConfig.json b/dac/ui/src/mocks/sourceFormListConfig.json index ef979f216d..aa87bd5ec6 100644 --- a/dac/ui/src/mocks/sourceFormListConfig.json +++ b/dac/ui/src/mocks/sourceFormListConfig.json @@ -16,5 +16,6 @@ { "label": "Sample Source", "sourceType": "SampleSource" }, { "label": "AWS Glue Catalog", "sourceType": "AWSGLUE" }, { "label": "Google Cloud Storage", "sourceType": "GCS" }, - { "label": "Sample", "sourceType": "SAMPLE_SOURCE" } + { "label": "Sample", "sourceType": "SAMPLE_SOURCE" }, + { "label": "VASTDATA", "sourceType": "VASTDATA"} ] diff --git a/sabot/kernel/src/main/java/com/dremio/exec/exception/MissingSourceTypeException.java b/sabot/kernel/src/main/java/com/dremio/exec/exception/MissingSourceTypeException.java index d70c338554..7fbbf7182a 100644 --- a/sabot/kernel/src/main/java/com/dremio/exec/exception/MissingSourceTypeException.java +++ b/sabot/kernel/src/main/java/com/dremio/exec/exception/MissingSourceTypeException.java @@ -43,6 +43,9 @@ public String getMessage() { case "HBASE": return "HBase source type is not installed. Please download it from Dremio Hub: https://github.com/dremio-hub."; + case "VASTDATA": + return "VASTDATA source type is not installed."; + case "ADL": if ("true".equals(ResourceBundle.getBundle("mapr-distribution").getString("maprDistribution"))) { return "The Azure Data Lake source type is not available in the MapR edition of Dremio.";