HdfsFixture unsupported since there are spaces in the path – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 7.6-7.6

Briefly, this error occurs when the path to the Hadoop Distributed File System (HDFS) repository in Elasticsearch contains spaces. Elasticsearch does not support spaces in the path for HDFS repositories. To resolve this issue, you can either rename the path to remove the spaces or replace the spaces with underscores or hyphens. Alternatively, you can use a different path that does not contain spaces. Always ensure that the path used in Elasticsearch configurations does not contain spaces to avoid such errors.

This guide will help you check for common problems that cause the log ” hdfsFixture unsupported since there are spaces in the path: ‘ ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugins and repository-hdfsbuild.

Log Context

Log “hdfsFixture unsupported since there are spaces in the path: ‘” classname is build.gradle.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

}
} else {
  if (legalPath) {
    logger.warn("hdfsFixture unsupported; please set HADOOP_HOME and put HADOOP_HOME\bin in PATH")
  } else {
    logger.warn("hdfsFixture unsupported since there are spaces in the path: '" + rootProject.rootDir.toString() + "'")
  }

  // The normal integration test runner will just test that the plugin loads
  integTest.runner {
    systemProperty 'tests.rest.suite'; 'hdfs_repository/10_basic'

 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?