Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove HDFS support ... #1073

Merged
merged 1 commit into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ See the [architecture guide](docs/source/contributors-guide/architecture.md) for

## Features

- Supports HDFS as well as cloud object stores. S3 is supported today and GCS and Azure support is planned.
- Supports cloud object stores. S3 is supported today and GCS and Azure support is planned.
- DataFrame and SQL APIs available from Python and Rust.
- Clients can connect to a Ballista cluster using [Flight SQL][flight-sql].
- JDBC support via Arrow Flight SQL JDBC Driver
Expand Down
2 changes: 0 additions & 2 deletions ballista/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,5 @@ tokio = "1.0"
[features]
azure = ["ballista-core/azure"]
default = []
hdfs = ["ballista-core/hdfs"]
hdfs3 = ["ballista-core/hdfs3"]
s3 = ["ballista-core/s3"]
standalone = ["ballista-executor", "ballista-scheduler"]
4 changes: 0 additions & 4 deletions ballista/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ docsrs = []
# Used for testing ONLY: causes all values to hash to the same value (test for collisions)
force_hash_collisions = ["datafusion/force_hash_collisions"]
gcs = ["object_store/gcp"]
# Used to enable hdfs to be registered in the ObjectStoreRegistry by default
hdfs = ["datafusion-objectstore-hdfs/hdfs"]
hdfs3 = ["datafusion-objectstore-hdfs/hdfs3"]
s3 = ["object_store/aws"]

[dependencies]
Expand All @@ -53,7 +50,6 @@ bytes = "1.0"
chrono = { version = "0.4", default-features = false }
clap = { workspace = true }
datafusion = { workspace = true }
datafusion-objectstore-hdfs = { version = "0.1.4", default-features = false, optional = true }
datafusion-proto = { workspace = true }
datafusion-proto-common = { workspace = true }
futures = "0.3"
Expand Down
9 changes: 0 additions & 9 deletions ballista/core/src/object_store_registry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ use datafusion::datasource::object_store::{
DefaultObjectStoreRegistry, ObjectStoreRegistry,
};
use datafusion::execution::runtime_env::RuntimeConfig;
#[cfg(any(feature = "hdfs", feature = "hdfs3"))]
use datafusion_objectstore_hdfs::object_store::hdfs::HadoopFileSystem;
#[cfg(feature = "s3")]
use object_store::aws::AmazonS3Builder;
#[cfg(feature = "azure")]
Expand Down Expand Up @@ -57,13 +55,6 @@ impl BallistaObjectStoreRegistry {
&self,
url: &Url,
) -> datafusion::error::Result<Arc<dyn ObjectStore>> {
#[cfg(any(feature = "hdfs", feature = "hdfs3"))]
{
if let Some(store) = HadoopFileSystem::new(url.as_str()) {
return Ok(Arc::new(store));
}
}

#[cfg(feature = "s3")]
{
if url.as_str().starts_with("s3://") {
Expand Down
Loading