question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE REQUEST]: Ability to specify path to create index outside system path.

See original GitHub issue

Feature requested Currently, Hyperspace creates indexes under the system path specified by spark.hyperspace.system.path. The user should be able to specify different path to create/search the indexes. Note that #242 removes spark.hyperspace.index.creation.path and spark.hyperspace.index.search.paths since they are not used, but can be brought back when this feature is implemented.

Acceptance criteria

  • The user can specify a different path to create an index outside spark.hyperspace.system.path. FYI, this is more or less possible by temporarily setting the spark.hyperspace.system.path to a different location, but this needs to be discusses if that’s a good solution.
  • The user can specify multiple paths to “search” indexes to apply.

Success criteria N/A

Additional context N/A

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
sezrubycommented, Jan 26, 2022

@Neoix, it depends only for the default value. You can change the path under any other storage.

EDIT: Note that the config should be set before creating Hyperspace object.

Example:

spark.conf.set("spark.hyperspace.system.path", "abfss://<containerName>@<accountName>.dfs.core.windows.net/path/to/indexes")
val hs = new Hyperspace(spark)
hs.createIndex(..)
1reaction
paryojacommented, Jan 25, 2022

Hi @Neoix. I think you can specify spark.hyperspace.system.path with the storage account that will be used.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Indexing in Azure Cosmos DB - Overview - Microsoft Learn
For a given path, the query engine can scan through the distinct set of possible values to identify the index pages where there...
Read more >
Create index API | Elasticsearch Guide [8.5] | Elastic
When creating an index, you can specify the following: Settings for the index; Mappings for fields in the index; Index aliases. Path parametersedit....
Read more >
Feature Request: Improved File list export and stand in Icons for files ...
Code: Select all sm -path ".\My image 1.psd" -pNotes "Italian, ". Image In this example I can query the state of an Opus...
Read more >
github/git Checkout Returns 'error: invalid path' on Windows
After researching the error, I've found 2 possible answers: 1) Change the path on the repository file. Unfortunately, this is is a team...
Read more >
Relative and absolute paths, in the file system and on the web ...
"/forum/index.php";. here we are using web-server part of the path, prepending it with the document root ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found